GithubHelp home page GithubHelp logo

mono's Introduction

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.

mono's People

Contributors

arielalon24 avatar

Stargazers

Adam Vaizman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.