An optimizing transpiler from BASIC to Mindustry Logic
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Shad Amethyst 8d33422f82
Add tests for optimizations
9 months ago
examples Add unary and binary mathematical functions, add Config struct 9 months ago
src Jump optimizations 9 months ago
tests Add tests for optimizations 9 months ago
.gitignore 🎉 Implement tokenizer 10 months ago
Cargo.lock 🎉 Implement tokenizer 10 months ago
Cargo.toml 🎉 Implement tokenizer 10 months ago
README.md 🎉 Implement tokenizer 10 months ago

README.md

BASIC to Mindustry logic

This is a small transpiler from the BASIC language to Mindustry's logic system (also known as mlog). Basic is chosen as the source language as it already contains jumps (which mindustry heavily relies on), while allowing for some higher-order constructs like conditions, loops and functions.

For now this is a heavily work-in-progress project.