Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interested in VM for lisp-like languages on 8-bit system

I'm looking for recommended virtual machines that can run on a 8-bit microprocessor AND support dynamic languages. I'd like a VM solution because I perceive benefits in terms of code density, portability, and ability to have a smaller interpreter, leaving more room for larger programs.

My goal is to run a complete LOGO interpreter, following "LOGO for the Apple II" syntax, on something like a 6502 microprocessor.

I've seen references to PyMite, Java "micro edition", and of course now the UCSD p-System sources from the 1970s are available.

Suggestions are welcome.

like image 463
The Programmer Avatar asked Nov 14 '11 21:11

The Programmer


1 Answers

(Note: I've already +1'ed the FORTH answer.)

Since you mention the 6502, Steve Wozniak (!) wrote an article for Byte magazine in the late 1970s, describing the SWEET16 interpreter for the 6502. This was a partial VM for the 6502, that provided 16-bit integer arithmetic that was EASILY interspersed into 6502 assembly language. It was the basis for the original Integer BASIC, that (as I recall) was later replaced by the floating-point Applesoft BASIC.

like image 121
John R. Strohm Avatar answered Nov 25 '22 15:11

John R. Strohm