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

Dyon REPL Design #735

Open
bvssvni opened this issue Sep 10, 2023 · 0 comments
Open

Dyon REPL Design #735

bvssvni opened this issue Sep 10, 2023 · 0 comments

Comments

@bvssvni
Copy link
Member

bvssvni commented Sep 10, 2023

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 use a() = 3.
  • Imported modules can not depend on each other. Instead, use a loader script.
bvssvni added a commit to bvssvni/dyon that referenced this issue Sep 10, 2023
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

1 participant