A tiny incomplete interpreter for a language similar to Python 3 with enough functionality to parse & interpret the factorial and the fibonacci function.
This has been hacked together based on a similar interpreter I did some ten years ago, that time for Objective-C and Java.
To run the included test suite, execute dart pub get
once and then simply
execute dart run
. It should print OK
for all code snippets run.
Include the smython/smython.dart
library in your program.