Tiny Basic for Arduino dilshan.github.io · 23 points · 6 comments · HN thread TL...
HN Best 200 @best
Tiny Basic for Arduino dilshan.github.io · 23 points · 6 comments · HN thread
TL;DR Tiny Basic for Arduino is a BASIC interpreter for mid-range Arduino boards and MCUs. It includes an in-hardware editor so programs can be written and run on the board without a PC IDE. The discussion is small and mostly compares it with other BASIC and MicroPython options and questions whether the title fits the supported boards.
- Includes an in-hardware editor, so BASIC programs can be written and edited on the board without a connected PC IDE
- Designed to be lightweight and portable, minimizing hardware dependencies to suit almost any mid-range MCU
- Ships a standard library of built-in functions for hardware I/O, math, and bit manipulation
- Described as fast and fully featured
- A commenter says only 32-bit ARM Cortex-M Arduinos are supported, not classic AVR boards
- The commenter suggests MMBasic as a BASIC for cheaper RP2040 and RP2350 boards
Discussion The thread is short and mostly a mix of mild skepticism and nostalgia. One commenter asks why the author ignores the Parallax BASIC Stamp and questions why anyone would pick BASIC over CircuitPython or MicroPython today, while noting the Arduino Due offers about four times the CPU for a similar price. Another points out that the title overstates Arduino support. A third commenter shares history from the 1976 Dr. Dobbs BASIC listing and early paper tape loading, and one reply jokingly asks whether a Python-based tool running a BASIC interpreter makes sense. The overall tone is curious and light rather than hostile.
- Modern MicroPython or CircuitPython is a better choice than BASIC (some): A commenter questions why a beginner would pick BASIC over CircuitPython or MicroPython on a modern microcontroller, linking to Adafruit's guide. Another commenter notes the Parallax BASIC Stamp predates this and is worth mentioning.
- Title overstates Arduino support (some): A commenter says only 32-bit ARM Cortex-M Arduino boards are supported, so the title is misleading for anyone expecting classic Arduino hardware. They recommend MMBasic for RP2040 and RP2350 boards instead.
- Nostalgia for early BASIC and home computing (a few): One commenter recalls the 1976 Dr. Dobbs BASIC listing, loading programs from paper tape with an optical reader, and later using a NorthStar disk on an IMSAI, and links the original source.
- Skeptical of running BASIC through Python (a few): One commenter jokingly asks whether it is odd to need a Python interpreter to run a BASIC interpreter. Another replies by asking how they would do it differently, with no clear answer given.
Links from the comments
- Parallax BASIC Stamp 2 module, a BASIC-programmable microcontroller on the market since the 1990s
- Adafruit guide comparing MicroPython and CircuitPython for the Raspberry Pi Pico
- Dr. Dobbs Volume 1 Issue 5 (1976) PDF containing an early Tiny BASIC listing
- GitHub repository with the 8080 source of Tiny BASIC
- Wikipedia article on the history of Tiny BASIC