run mbasic in a browser (no webserver needed)

106 views
Skip to first unread message

aaw...@gmail.com

unread,
Dec 5, 2025, 8:00:11 PM (11 days ago) Dec 5
to RC2014-Z80
A new project https://github.com/avwohl/mbasicc_web  runs the mbasic language in a web browser.  Try it at https://www.awohl.com/mbasicc. No, not in JavaScript, nor emulating an 8080. This is a new, portable implementation of MBASIC 5.21 in C++ for embedded systems, see https://github.com/avwohl/mbasicc, great for running basic in a toaster or wristwatch.

The C++ code is compiled by em++ to WebAssembly for running in a modern web browser.

Richard Deane

unread,
Dec 6, 2025, 2:27:48 AM (11 days ago) Dec 6
to rc201...@googlegroups.com
I've always wanted Ada for CP/M. There's a version of RR Ada floating around but no doc. It is a shame that Gnu Ada doesn't cross compile to Z80 and CP/M.

Richard


On Sat, 6 Dec 2025, 01:00 aaw...@gmail.com, <aaw...@gmail.com> wrote:
A new project https://github.com/avwohl/mbasicc_web  runs the mbasic language in a web browser.  Try it at https://www.awohl.com/mbasicc. No, not in JavaScript, nor emulating an 8080. This is a new, portable implementation of MBASIC 5.21 in C++ for embedded systems, see https://github.com/avwohl/mbasicc, great for running basic in a toaster or wristwatch.

The C++ code is compiled by em++ to WebAssembly for running in a modern web browser.

--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/rc2014-z80/f94489b9-83ad-412a-8336-fc402355d5b6n%40googlegroups.com.

aaw...@gmail.com

unread,
Dec 6, 2025, 9:28:38 AM (11 days ago) Dec 6
to RC2014-Z80
Why not? I haven't messed with Ada since it was first selected as the language for the DOD competition.  If I have tokens left out of my weekly CLAUDE allotment, I'll have it work on Ada for Z80.  Current state:

We recently made a PLM language compiler to z80
see ~/src/uplm80.  Do the same for the full ada
language. As minimum for testing pass ACATS.
There is a lot of good peekhole and post optimizaiton
in uplm80.  See if that can be factored out and shared
with this project.

COMPLETED:
- [x] download ada spectifications
- [x] download the ACATS test suite
- [x] do your planning for a big job thing
- [x] analyze uplm80 optimization code
- [x] design compiler architecture
- [x] plan language subset
- [x] create project structure

NEXT STEPS (Phase 1 - MVP):
- [ ] implement lexer
- [ ] implement parser (basic subset)
- [ ] define AST nodes
- [ ] implement semantic analysis
- [ ] implement simple code generator
- [ ] compile "Hello World" program

aaw...@gmail.com

unread,
Dec 13, 2025, 2:08:13 PM (4 days ago) Dec 13
to RC2014-Z80
I've been working on a Z80 compiler and learning Ada on the Z80 class.  See:
I could use your feedback as you might be the only person to ever use it.
On Saturday, December 6, 2025 at 2:27:48 AM UTC-5 Richard Deane wrote:

ladislau szilagyi

unread,
Dec 13, 2025, 10:31:22 PM (3 days ago) Dec 13
to RC2014-Z80
Hi Aaron,

that's cool... I wanted since the 80's to learn and use Ada,,,

thanks,
Ladislau
Reply all
Reply to author
Forward
0 new messages