tobias-wilfert / mindstorms-compiler Goto Github PK
View Code? Open in Web Editor NEWA compiler for Lego Mindstorms Robot Inventor Scratch-like language to Python.
License: MIT License
A compiler for Lego Mindstorms Robot Inventor Scratch-like language to Python.
License: MIT License
Get the functionality in place to generate code, for all the currently supported blocks.
4 of these might not be able to be supported.
Decide on whether to skip them and emit a warning or throw an error and stop.
Add a README outlining which features already supported ATM as well as a license.
There are still some blocks that are not supported because the Python API can't be used to translate their logic. However if that API is updated in the future it might be possible to support them.
This is necessary in order to retrospectively fix the port selection and be able to test it.
This is because both a string and a list of strings can be used as input for the Port field.
Note: Numbers technically also work but have no effect, so throw an error when that is detected to let the user know, something went wrong.
They are currently not running the formatting.
These where not added in the beginning, but this sprint seems like a good time to tackle them.
Now that there is some functionality it makes sense to add flags to the program:
The code generation file is currently neither efficient nor elegant, some cleaning up is thus necessary.
Both the AST and visitor file have become very big so it might be interesting to clean them up and add a bit more structure before the movement blocks are added.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.