C++ translation of Natscript interpreter previously implemented in Python.
Natscript is a custom interpreted language currently under development, which is to be very close to natural English.
To get a copy of this repository, simply open up git bash in an empty folder and use the command:
$ git clone https://github.com/rbaltrusch/cpp_interpreter
To run the interpreter, run src/main.cpp. At the moment, it is configured to only parse in and interpret file contents, rather than an interactive console.
A list of the currently available Natscript commands will be found in the wiki.
Available functionality includes variables, conditionals, function and lambda definitions, as well as scope and nesting.
Examples can be found here.
Tutorials will be written once more commands are supported by Natscript.
Written in C++17 using VS Code, g++ v11.2.0.
The python implementation of this interpreter can be found here.
This repository is open-source software available under the MIT license.
Please raise an issue for code changes. To reach out, please send an email to [email protected].