0ainterpreter

Basic node.js command line interpreter for a custom language.


Keywords
interpreter, nodejs, typescript
License
LGPL-2.1
Install
npm install 0ainterpreter@0.8.7

Documentation

0a Interpreter

Note that 0aInterpreter is meant to be used as a CLI, if using from npm inside of a javascript file with require or import use buildLaunch() to create a batch file to launch 0aInterpreter. If launched from npm into a javascript file, use the run() function to run a command from your file. Note that configuration files, file loading, and custom commands are disabled if running by import and require.

If downloading from github, make sure you use the typescript compiler to compile the typescript files into javascript files. 0aInterpreter can be run from package/core/index.js after being compiled.

If downloading from npm, it is recommended that you run buildLaunch() and then use the generated batch file to run 0aInterpreter.

About

I tried to create a basic programming language interpreter for a simple language with little features and simple syntax.

Please note that I made this just for fun, and used it to learn more typescript than I already knew.

Currently Includes

  • Simple syntax
  • Easy to use custom function system
  • Simple to understand configuration system for configuring permissions

Links

License

The 0a Interpreter is licensed under the GNU Lesser General Public License v2.1 license. For more information of limits and permissions view the license page.

https://github.com/0aoq/0aInterpreter/blob/main/LICENSE