gadget114514 / yasl

Bytecode Interpreter for Yet Another Scripting Language (YASL).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YASL

Bytecode Interpreter for Yet Another Scripting Language (YASL). More information can be found here: https://yasl-lang.github.io/docs/.

Installation

YASL can be compiled from source with the following commands:

git clone --recurse-submodules 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.

Testing

$> chmod +x tests
$> ./tests

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

ezoic increase your site revenue

About

Bytecode Interpreter for Yet Another Scripting Language (YASL).

License:MIT License


Languages

Language:C 94.1%Language:Perl 4.4%Language:CMake 0.9%Language:Shell 0.5%