Sflynlang Interpreter
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:
-
Compiler: Here is allowed the typechecking and compiling steps of the Sflynlang interpreter.
-
Core: Here is allowed the CLI of Sflynlang built using clap-rs.
-
Parser: Here is allowed the lexing and parsing steps of the Sflynlang interpreter.
-
Examples: Here is allowed the examples of Sflynlang code.
Compiling
-
Download the pre-requisites.
-
Clone this repository.
- GitHub CLI:
gh repo clone sflynlang/sflynlang-interpreter
- Git:
git clone https://github.com/sflynlang/sflynlang-interpreter.git
-
Go to the project directory and then run
cargo build --release
. -
Congratulations! You've compiled the Sflynlang interpreter project, now you find a binary file (
.exe
on Windows) inPROJECT_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.