Skip to content
/ yasl Public
forked from yasl-lang/yasl

Bytecode Interpreter for Yet Another Scripting Language (YASL).

License

Notifications You must be signed in to change notification settings

lineCode/yasl

 
 

Repository files navigation

YASL

Bytecode Interpreter for Yet Another Scripting Language (YASL). More information can be found here: https://yasl-lang.github.io/docs/. An online interpreter (that you can use to try YASL from your browser without downloading anything) can be found here: https://yasl-lang.github.io/playground/interpreter.html.

Installation

YASL can be compiled from source with the following commands:

git clone https://github.com/yasl-lang/yasl.git
cd yasl
cmake --configure .
cmake --build .

You should then be able to type ./YASL -V from within the yasl directory, which should print out the current version of YASL. YASL is not installed on your path, although doing so is easy.

Running YASL Code

A YASL script can be run using ./YASL filename. This will search in the current directory (same directory as YASL) for a file named filename, and run it.

Running Tests

$> chmod +x tests
$> ./tests

Tests should execute with exitcode 0. If they do not, either there's a bug or your installation was incorrect.

Feature Requests

If you find yourself desiring a feature that YASL is missing, please open an issue on this repo with the feature-request tag, and outline what feature you want. There's no need to provide an implementation at this stage, just explain on the issue what you want added. This doesn't guarantee that I will add it. If I do, I'll open another isssue asking for an implementation of the feature, which can then be added to YASL once it's complete.

About

Bytecode Interpreter for Yet Another Scripting Language (YASL).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 93.8%
  • Perl 4.7%
  • CMake 1.1%
  • Shell 0.4%