dyon
dyon copied to clipboard
Dyon REPL Design
Dyon has a REPL environment using the "dyon" example.
To install:
cargo install --example dyon dyon
To run:
dyon
This should produce a prompt where one can type help
for more information:
=== Dyon 0.48 ===
Type `help` for more information.
>
- Designed to reflect editing of normal Dyon source files
- Save and load file
- Import modules to use as dependency (reloads the context)
- This design does not allocate memory upon loading of modules
Some limitations:
- Can not declare variables, e.g.
a := 3
. Instead usea() = 3
. - Imported modules can not depend on each other. Instead, use a loader script.