The Raspberry Pi mini computer that’s become popular with the maker community but was originally conceived as a device to help kids learn how to code has had the lightweight TinyBASIC programming language ported to it.
The Raspberry Pi Foundation noted the development in a blog post — explaining how it’s received lots of emails from parents who haven’t done any programming since their school days but still have books on BASIC, and want to be able to share the programming language with their kids
The good news for those people, and for anyone else who wants to learn BASIC from scratch or revisit an old friend, is that TinyBASIC is now available for the Raspberry Pi. Andrew Lack has ported this very lightweight editor, interpreter and graphics package to the Pi, and we think it’s great.
The Foundation says it’s considering bundling TinyBASIC “as part of the standard Raspbian image” — but it wants to test the waters first to see how popular the language turns out to be.
The blog post also notes that while the GOTO function is included in the most basic version of the TinyBASIC port (called vanilla) — to allow for beginners to take their programming baby steps — the function can be disabled in another version (called raspberry) to ensure budding programmers are given the chance to learn structured programming.
The TinyBASIC port consists of an editor, called TinyBASIC One, which allows programs to be inputed, edited and run; the BASIC interpreter — including support for language features such as PRINT, REM, LET, STOP and GOTO — and in the raspberry flavour additional features include WHILE/WEND and REPEAT/UNTIL loops (but not GOTO).
The port also includes support for drawing basic shapes, via the DRAW function.