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.
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.
- Simple syntax
- Easy to use custom function system
- For more information on custom functions/commands, view the introduction guide.
- Simple to understand configuration system for configuring permissions
- More information on the introduction guide.
- Sourced at: https://github.com/0aoq/0aInterpreter
- Documentation at: https://0aoq.github.io/0aInterpreter (0aInterpreter/docs)
- Downloadable from npm (CLI)
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.