Skip to content

An interpreted programing language built in Rust.

License

Notifications You must be signed in to change notification settings

ArielAlon24/mono

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mono

Mono is an interpreted programming language developed using Rust.

Supported Features

As Mono is still in its early stages, not all planned features have been implemented. Current supported features include:

  • Evaluating arithmetic expressions.
  • Evaluating boolean expressions.
  • Variables.
  • If-Else statements.
  • While statements.
  • Functions.
  • Lists.

Cli

Mono's command-line interface (CLI) offers various capabilities, including executing files and offering an interactive REPL. There are also several modes available for both functionalities.

Usage

To launch the REPL:

> mono <flag>

To execute a file:

> mono <flag> <path/to/file.mono>

To execute code:

> mono -c <flag> <code>

Flags

The following flags are available to customize your experience:

  • -t : Tokenizes the input and prints each token.
  • -p : Parses the input and prints a formatted representation of the generated AST.
  • -e : Evaluates the input and prints the resulting value.

By utilizing these flags, you can gain insights into various stages of Mono's execution process.

About

An interpreted programing language built in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages