Skip to content

K-Adam/simple-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Interpreter

This project implements a Lexer, Parser and Interpreter for a simple language. An example script can be found in example.txt

Build

To build the project, simply run:

cargo build --release

The executable can be found in target/release

Run

The interpreter cli accepts a single argument that points to a source file, like the provided example.txt

cd target/release

Windows:

.\simple-interpreter.exe ..\..\example.txt

Linux:

./simple-interpreter ../../example.txt

About

Interpreter for a simple programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages