new mbasic 5.21 implementation

79 views
Skip to first unread message

aaw...@gmail.com

unread,
Nov 23, 2025, 1:49:05 PM (5 days ago) Nov 23
to RC2014-Z80
A modern open source mbasic 5.21 implementation

Source Code: https://github.com/avwohl/mbasic
Documentation: https://avwohl.github.io/mbasic/
Install: pip install --pre mbasic

- Compile to CP/M 8080 or z88dk via z88dk
 modern string cgarbage ollection o(n log n) vs orginal
   mbasic 5.21 N^2
- Online web version
- Compile to javascript
- New interpreter for modern systems
 CLI
 curses for linux
 TK
 web

Richard Deane

unread,
Nov 23, 2025, 2:50:00 PM (5 days ago) Nov 23
to rc201...@googlegroups.com
It doesn't sound as though it is MBASIC, it sounds like a modern "compatible" rendition. Very worthy , but I bet it isn't 100 compatible. :) I am an expert on compatibility having been a Software Engineering Manager on DR DOS development. Asymptotic to 100% perhaps. Very good perhaps, but don't claim 100 %. Can you implement in same size ROM? Are patch addresses the same? Same math rounding errors?
Good luck with your endeavour.
Richard

--
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/3c3a0116-2f1f-4019-b51c-4309aa1ef6ben%40googlegroups.com.

aaw...@gmail.com

unread,
Nov 24, 2025, 1:00:52 AM (5 days ago) Nov 24
to RC2014-Z80
I have a background in compiler construction.  I was interested in the late 1970s in making an optimizing compiler for MBASIC.  But there is a of work to get to the interesting bits.  I recently started messing with CLAUD ai.  It wrote all of this new implementation in under 2 weeks, over 70K lines of source code, and over 1.2 million words of documentation.  This AI loves all sorts of advertising hype.  It is like its target is a 1960s used car commercial on late-night TV.   I did laugh at its use of 100%.
Reply all
Reply to author
Forward
0 new messages