Back to browse
GitHub Repository

Low Overhead Robotics Explorer

1 starsPython

LORE - LOGO-to-Python transpiler for the EdisonV3 educational robot

by daave·Feb 14, 2026·2 points·0 comments

AI Analysis

●●SolidNiche GemSolve My Problem

LOGO-to-Python for Edison V3 robots with byte-identical local compilation, but audience is tiny.

Strengths
  • Reverse-engineered Edison firmware's qstr table and USB flashing protocol, enabling true offline workflows with no web dependency.
  • Produces byte-identical output to official remote API despite local `mpy-cross` compilation—rigorous validation.
  • Nostalgic LOGO syntax (familiar from 90s LEGO Technic) lowers barrier for young learners while scaffolding to real MicroPython.
Weaknesses
  • Ultra-niche: only useful for Edison V3 owners who want LOGO; official EdPy and EdScratch already work fine.
  • Minimal documentation and examples; Lark parser integration is solid but not explained for users unfamiliar with parsing.
Category
Target Audience

Educators and parents teaching programming with Edison V3 robots; students familiar with LOGO.

Post Description

I've been using the Edison V3 robot from Microbric (https://meetedison.com/technical-v3/) to introduce my kids to programming.

The provided web-based editor that uses WebUSB to flash programs to the robot, and a REST API to produce MicroPython bytecode to run on the device, works just fine (https://www.edpyapp.com/v3/) -- but I wanted to give my kids a fully offline experience with no web browsers (or GUI) involved.

So with a bit of help from Claude and Gemini, I was able to port the USB flashing mechanism to Python and reverse-engineer the interned strings embedded in bytecode from the API. Now they can use a local editor and command-line util to upload their programs.

Since my own very first programming experience involved using LOGO in 90s to control some LEGO Technic sets and draw turtle graphics, I wanted to re-create this experience for them, so I built a LOGO to Python transpiler, leaning heavily on the Lark parser.

There's plenty more to do to make all of Edison's features available from LOGO, and to tighten up the workflow for USB uploads and diagnostics, and to have a more unified build system - but it works as is, and I hope Edison owners will try it out! PRs welcome.

-

A reflection on this project: making a LOGO-based robotics environment has been on my backlog of side projects for more than 5 years, and while I certainly have mixed feelings about and experiences with AI-assisted coding, these tools definitely helped me overcome the cold-start problem for this project. The code may not be exactly how I would've chosen to write it, but it exists, and the debug cycles have been fast, I've spent maybe two hours total on it so far.

Similar Projects

AI/ML●●Solid

Lore – Cross-Agent Memory SDK (Python and TypeScript)

Local-first design — SQLite plus on-device ONNX embeddings — provides a small-footprint way to share operational lessons between agents, and automatic PII redaction is a thoughtful, tangible safeguard. The one-line publish/query API, cross-language SDKs (Python + TypeScript), and a planned FastAPI/Postgres+pgvector server show practical engineering trade-offs rather than vaporware.

Niche GemSolve My Problem
amit_paz
103mo ago
Developer Tools●●Solid

Nimic – write pure Python and compile AOT to native binaries via Nim

Python-to-Nim transpiler with ctypes-backed types when Cython and Numba already exist.

Big BrainNiche Gem
dima-quant
504d ago