Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unnamed toy scripting language being made for funsies. Very work in progress.

Warning! There is no garbage collector, meaning scripts use more memory the longer they run.

Building

On Windows, use MSYS2 or WSL.

Dependencies:

  • Python 3 or later
  • GCC 10+ or Clang 10+

To build, invoke build.py using a python interpreter.

The following environment variables can be set to customise the build:

  • CPP_COMPILER - Path to the specific C++ compiler to use (default g++)
  • DEBUG - Set to 1 to disable optimisations and export debug symbols (default 0)

Example:

CPP_COMPILER=clang++ DEBUG=1 python3 build.py

Using

After building, the interpreter scri (scri.exe on Windows) is in the directory gen.

The command line interface is:

scri [input file(s)]

See the examples for guidance on the syntax and language features.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages