Top 4 Dart Interpreter Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
...which is what xml_layout and dart_eval are there for. However, at that point I wouldn't call it "writing Flutter applications in Rust" any more (which of course is just a subjective interpretation).
To get an impression of how to create a parser for a subset of Python, I created one many years ago and ported that code to Dart, again many years ago. I didn't try to implement the correct semantics, though, so __add__ and friends are unsupported as are all other fancy meta programming shenanigans of Python.
Dart Interpreter related posts
- Python running on the Dart VM?
- An Interpreter for a Python-like Language Written in Dart
- Eight years ago, I wrote a Ruby parser in Dart which I recently rediscovered and now ported to sound null-safety. With < 1000 LoC for the parser plus 1000 LoC to transpile Ruby to Pseudo-Dart it might be an interesting example. For fun, I added a simple evaluator that only supports the fibonacci fn.
Index
What are some of the best open-source Interpreter projects in Dart? This list will help you:
Project | Stars | |
---|---|---|
1 | dart_eval | 294 |
2 | dart_smython | 20 |
3 | dart_st72 | 5 |
4 | dart_rubyparser | 3 |
Sponsored