Skip to content

Dyon REPL Design #735

Description

@bvssvni

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions