dart_smython
A tiny, still incomplete interpreter for a language similar to Python 3 (by sma)
lox
A dart implementation of Bob Nystrom's Lox language (by sma)
Our great sponsors
dart_smython | lox | |
---|---|---|
3 | 1 | |
20 | 12 | |
- | - | |
4.2 | 3.5 | |
2 months ago | 2 months ago | |
Dart | Dart | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dart_smython
Posts with mentions or reviews of dart_smython.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-09.
-
Python running on the Dart VM?
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.
-
Are there any packages that'll help me run python scripts in flutter?
Well, two years ago I wrote an interpreter for a subset of Python but that isn't able to run generic Python scripts (or even native modules) so it's probably not want you're looking for.
- An Interpreter for a Python-like Language Written in Dart
lox
Posts with mentions or reviews of lox.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-04.
-
An Interpreter for a Python-like Language Written in Dart
PS: If you really want to learn how to implement interpreters, I recommend Bob Nystrom's book Crafting Interpreters in which you learn to create a Java-like programming language from scratch using Java. Like others before me (I guess) I ported the Java source to Dart.
What are some alternatives?
When comparing dart_smython and lox you can also consider the following projects:
Crafting Interpreters - Repository for the book "Crafting Interpreters"
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
dart_rubyparser - A parser for a subset of Ruby written in Dart
bullseye - [WIP] A pure functional language that compiles to Dart.