dart_smython icon indicating copy to clipboard operation
dart_smython copied to clipboard

A tiny, still incomplete interpreter for a language similar to Python 3

Smython for Dart

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.

Running the Code

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.

Using Smython

Include the smython/smython.dart library in your program.