Skip to content
/ MSL Public

MSL (My Stack Language) is an interpreted, stack oriented programming language, with an aim at speedy performance.

License

Notifications You must be signed in to change notification settings

Retro-Jon/MSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiling MSL

Required Software

  • Make
  • MingW (g++)

Running Make

  • Open your terminal and navigate to the root directory of the repository.
  • Execute the following command make release. This will compile MSL for general use and result in a lightweight and fast executable.
    • make debug will compile a debug build of the interpreter with g++ debug symbols and allow you to run MSL in gdb.
    • make performance will include code to indicate the time spent on the following steps of execution: Lexing, Parsing, and Execution.

Running MSL Programs

  • Navigate to the root directory of the repository and enter the following ./build/msl <program path>. Replace with the path to your MSL program.
    • If you have MSL added to your path on your system, you may enter msl <program path>. Replace with the path to your MSL program.

Running MSL REPL

  • Launch MSL without any arguments to enter REPL mode.
  • This mode will allow you to enter commands in the language and have them execute instantly.
  • While in REPL Mode, you may enter exit to exit the interpreter.

About

MSL (My Stack Language) is an interpreted, stack oriented programming language, with an aim at speedy performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published