# MMBASIC on Pi Zero 2W

**URL:** <https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727>\
**Category:** Raspberry Pi\
**Created:** [9 January 2022 08:06 UTC](https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727 "2022-01-09T08:06:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trevor188445](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@Trevor188445](https://forum.core-electronics.com.au/u/Trevor188445)\
**Post date:** [9 January 2022 08:06 UTC](https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727/1 "2022-01-09T08:06:38Z")

</div>

Can MMbasic run on Pi Zero 2 W

---

<div class="post-metadata">

**Author:** ![James](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/james/32/4400_2.png) [@James](https://forum.core-electronics.com.au/u/James)\
**Post date:** [10 January 2022 00:58 UTC](https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727/2 "2022-01-10T00:58:54Z")

</div>

Hi Trevor,

Welcome to the forum, thanks for posting! 🥳

MMBasic is designed to run on micro_controllers_ not micro_processors_ like the Pi ([a quick rundown on what that means)](https://core-electronics.com.au/tutorials/raspberry-pi/arduino-compared-to-raspberrypi.html). Good news though, seems there are quite a few options for Linux:

> <https://unix.stackexchange.com/questions/359314/how-can-i-run-basic-code-in-a-terminal>

-James

---

<div class="post-metadata">

**Author:** ![Trevor188445](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@Trevor188445](https://forum.core-electronics.com.au/u/Trevor188445)\
**Post date:** [10 January 2022 02:11 UTC](https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727/3 "2022-01-10T02:11:03Z")

</div>

Many thanks for the clarification james.

Trevor

---

<div class="post-metadata">

**Author:** ![Alan73922](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@Alan73922](https://forum.core-electronics.com.au/u/Alan73922)\
**Post date:** [10 January 2022 10:24 UTC](https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727/4 "2022-01-10T10:24:10Z")

</div>

There is an MMBASIC for the Raspberry Pi Pico, called PicoMite. I believe there are versions people have created to run on other Raspberry Pi boards. But as [James](https://forum.core-electronics.com.au/u/James) points out, it was originally designed for a microcontroller. The concept is similar to several early home computers such as the Commodore 64 which has BASIC in ROM (read only memory) and jumps straight into the BASIC interpreter when turned on.

That concept doesn’t make a lot of sense with more powerful computers with access to external storage like the Pi. They have an operating system that can load a BASIC interpreter when needed.

The designers of MMBASIC claim “MMBasic is generally backwards compatible with Microsoft’s MBASIC and implements much of the ANSI Standard for Full BASIC (X3.113-1987).” so it should not be difficult to take a program written for MMBASIC and change it (if needed) for a different BASIC interpreter or compiler.

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)\
**Post date:** [11 January 2022 06:12 UTC](https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727/5 "2022-01-11T06:12:20Z")

</div>

Hi Trevor,

Paul mentioned an implementation over on his forum post here: [Basic Interpreter on the Pi Pico](https://forum.core-electronics.com.au/t/basic-interpreter-on-the-pi-pico/10345)

Liam.

---

<div class="post-metadata">

**Author:** ![Andrew87864](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew87864](https://forum.core-electronics.com.au/u/Andrew87864)\
**Post date:** [4 March 2022 20:00 UTC](https://forum.core-electronics.com.au/t/mmbasic-on-pi-zero-2w/12727/6 "2022-03-04T20:00:12Z")

</div>

Other Basic Interpreters and Compilers are available for th Pi

basic256 - educational BASIC programming environment for children  
brandy - BBC BASIC V interpreter  
bwbasic - Bywater BASIC Interpreter  
mono-vbnc - Mono Visual Basic Compiler ([VB.NET](http://VB.NET))  
sdlbasic - BASIC interpreter for game development  
yabasic - Yet Another BASIC interpreter

I have used both bwbbasic and yabasic.  
Both allow you to start your programs with #! followed by the path to the interpreter so you can run the programs directly from the command line.
