• 10 Print “TinyBASIC Ported To Raspberry Pi Mini Computer”, 20 GOTO 10, RUN

    Natasha Lomas

    Natasha is a reporter for TechCrunch, joining September 2012, based out of London. She arrives after a stint reviewing smartphones for CNET UK and, prior to that, more than five years covering business technology for silicon.com (now folded into TechRepublic.com). At silicon she focused on mobile and wireless, telecoms and networking, and IT skills issues, and has also freelanced... → Learn More

    Monday, October 29th, 2012
    raspberry-pi-logo

    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.


    Website: raspberrypi.org
    Launch Date: 2008

    The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. We want to see it being used by kids all over the world to learn programming. The Raspberry Pi Foundation is a UK registered charity (Registration Number 1129409) which builds and develops the Raspberry Pi.

    → Learn more