=== Dyon 0.48 ===
Type `help` for more information.
> sum i 100 {i}
4950
Comments about the design
Adds a new "dyon" example which can be installed using:
cargo install --example dyon dyon
To run, type:
dyon
I have previously been too much focused on thinking about REPLs where you declare variables and put them in the context. Dyon is designed to load modules without allocating memory. Instead of trying to change Dyon's design, I think the best solution is to build a REPL around the common use of Dyon.
One can use mathematical notation for functions to e.g. declare constants:
See https://github.com/PistonDevelopers/dyon/issues/735
Example:
Comments about the design
Adds a new "dyon" example which can be installed using:
To run, type:
I have previously been too much focused on thinking about REPLs where you declare variables and put them in the context. Dyon is designed to load modules without allocating memory. Instead of trying to change Dyon's design, I think the best solution is to build a REPL around the common use of Dyon.
One can use mathematical notation for functions to e.g. declare constants: