Skip to content

Interpreter of Sflynlang written in Rust.

License

Notifications You must be signed in to change notification settings

sflynlang/sflynlang-interpreter

Repository files navigation

Sflynlang Interpreter

Rust CI (Workflow) Twitter Followers

This project contains the source code of the interpreter for the Sflynlang programming language. It is written in Rustlang.

Pre-requisites

Structure of Directories

In this project you'll find 4 principal directories:

  1. Compiler: Here is allowed the typechecking and compiling steps of the Sflynlang interpreter.

  2. Core: Here is allowed the CLI of Sflynlang built using clap-rs.

  3. Parser: Here is allowed the lexing and parsing steps of the Sflynlang interpreter.

  4. Examples: Here is allowed the examples of Sflynlang code.

Compiling

  1. Download the pre-requisites.

  2. Clone this repository.

  • GitHub CLI: gh repo clone sflynlang/sflynlang-interpreter
  • Git: git clone https://github.com/sflynlang/sflynlang-interpreter.git
  1. Go to the project directory and then run cargo build --release.

  2. Congratulations! You've compiled the Sflynlang interpreter project, now you find a binary file (.exe on Windows) in PROJECT_DIRECTORY/target/release/sflyn.

Testing

To check if the code works fine, we build tests of our code and to test them use cargo test (Add --release flag to run in a production context).

Also, this command is used by the Rust CI workflow to check if the code to merge works.

Social Networks

Contributors

  • Daniel Solarte - Initial Work - GitHub
  • Maria Antonella - Icon Design - Instagram
  • Jheyson Saavedra - Docker - GitHub

You can also view the contributors list here.

Licensing

This project is under the MIT license. See the LICENSE file for more information.