Simple REPL for Rtfl
- Shell 100%
| BUILD_CONFIG | ||
| install.sh | ||
| LICENSE | ||
| main.rtfl | ||
| project.json | ||
| README.md | ||
rtflshell
Simple REPL for Rtfl
Usage
Run the script and execute Rtfl code from your terminal.
For multi-line entries, end each line with a backslash to allow for another line to be specified without executing.
To enable or disable printing values returned by entries, call the echo function with a boolean argument specifying whether to enable echoing.
You can call the function with no arguments to see whether echoing is currently enabled.
To see a generic help message, run help().
Limitations
Local variables are inaccessible to code outside of multi-line entries.
You must use the return statement to have RtflShell print a value.
Installing
The script is stored all in one file, so all you need to do to install is tweak BUILD_CONFIG and then run install.sh.
No build step required.