Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show your Numbat programs #610

Open
sharkdp opened this issue Oct 9, 2024 · 3 comments
Open

Show your Numbat programs #610

sharkdp opened this issue Oct 9, 2024 · 3 comments

Comments

@sharkdp
Copy link
Owner

sharkdp commented Oct 9, 2024

It would be great to get more feedback on how Numbat is being used. If you have any Numbat calculations / programs to show, I'd be very interested to see them. I think it could help move the language design forward if we see what kind of features are being used, how they are used, what kind of features are not used (and why), etc.

All kinds of programs are welcome. Everything from simple one-line expressions to larger computations. Polished or unpolished.

The numbat repository contains a lot of examples, if you are looking for inspiration.

@joshop
Copy link

joshop commented Oct 10, 2024

Here is a module I made for using Numbat with GregTech, a Minecraft mod that adds some technological systems. This includes a simplified system of electric energy distribution. This was fun and easy to make, it really seems like Numbat is best in these sort of applications.

@Exidex
Copy link

Exidex commented Oct 17, 2024

Gauntlet Application Launcher uses Numbat for quick dynamic calculator, currency conversion is also frequently used feature. It only uses one line throw away expressions that are interpreted right as they are written, so context modification between calls is not desirable. It is also a long running program, potentially multiple days or even weeks, so online features like currency exchange rates have to be refreshed regularly. The use case may not be a perfect fit for Numbat's because it prioritizes correctness of expression, where for Gauntlet the ease of writing expressions is a priority, Gauntlet does some very simple pre-processing now but in future I planed on looking into writing custom parser on top of Numbat's very solid base. There's bunch of feature requests here, which I didn't yet had time to create proper issues, but even without those Numbat has been a solid choice so far

@sharkdp
Copy link
Owner Author

sharkdp commented Oct 23, 2024

Here is a module I made for using Numbat with GregTech, a Minecraft mod that adds some technological systems. This includes a simplified system of electric energy distribution. This was fun and easy to make, it really seems like Numbat is best in these sort of applications.

This is so cool — thank you for sharing!

Gauntlet Application Launcher uses Numbat for quick dynamic calculator, currency conversion is also frequently used feature.

Cool. Not really the topic of this thread, but thank you for sharing 😄.

The use case may not be a perfect fit for Numbat's because it prioritizes correctness of expression, where for Gauntlet the ease of writing expressions is a priority, Gauntlet does some very simple pre-processing now but in future I planed on looking into writing custom parser on top of Numbat's very solid base.

Also, please let us know if you think that Numbat can improve to better support your use cases.

There's bunch of feature requests here, which I didn't yet had time to create proper issues, but even without those Numbat has been a solid choice so far

Thank you for the feedback. Please feel free to file feature requests once you have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants