November 2, 2012 AT 7:30 pm

TinyBASIC One #piday #raspberrypi @Raspberry_Pi

TinyBasicOne

We recently learned about this great project to bring a simple BASIC interpreter to the Pi to help beginners programming from Liz over at RaspberryPi.org.

A large number of engineering professionals are using the Raspberry Pi to explain to their kids what it is they do at work. When we’ve met these families, the enthusiasm positively dripping off everybody has been extraordinary. But we’ve also had a really surprising number of emails from parents who haven’t done any programming since school, but who still have books on BASIC from when they were kids, remember enjoying computing lessons, and want to share some of what they used to do with their kids. It’s actually a great way to get kids started, especially if you have some enthusiasm of your own to share: enthusiasm’s contagious.

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.

And here some more details directly from the TinyBASIC One site:

TinyBASIC One is a simple BASIC interpreter which has been created to get beginners programming on the Raspberry Pi as quickly as possible.

One of its unique features is the provision of
flavours which allows the beginner to taste programming
with vanilla which has the
simple—but unsatisfactory—GOTO statement, then make the
switch to sweeter raspberry and learn the joys of
structured programming where GOTO is banned!

TinyBASIC One includes:

  1. an editor to create, save, load and run programs
  2. the BASIC interpreter
  3. support for drawing simple graphic shapes

The project gets its inspiration from Li-Cheng Wang’s
Palo Alto Tiny Basic
which originally occupied an amazing 1.77kB of memory!

Read More.


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

Want a FREE RASPBERRY PI? All orders over $350 get a FREE Raspberry Pi Model B with 512MB RAM!

Related

3 Comments

  1. Structured programmers can ban the ‘goto’ statement when they can pull my keyboard out of my cold, dead hands. And then they can flail hopelessly when they’re assigned projects on memory-restricted microcontrollers.

  2. I think there are a lot of people who haven’t programmed since BASIC in high school so distributing the Raspberry Pi with BASIC would get more people interested than having them learn Linux and start all over.

    I think it would be valuable to take a poll.

  3. I have to agree w/KA1OS about this, though modern compilers can be pretty good about optimizing “structured” constructs into decent machine code.

    I do worry, though, that by calling the GOTO statement “unsatisfactory”, we risk new programmers not learning that there can be more than one way to solve a problem, and that the supposed “best” way to do things might not be the best in all circumstances.

Sorry, the comment form is closed at this time.