6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun May 12, 2024 1:26 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Mar 05, 2012 8:09 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
David Schmenk describes the motivation and implementation of his PLASMA language here

It compiles to native 6502, or to threaded code or to interpreted bytecode:
Quote:
Functions have optional parameters and always return a value. By using one of three function declarations (def, deft and defn) you can have the function loaded as interpreted bytecode, threaded calls into the interpreter, or natively compiled code


It's broadly C-level, with an 8-bit unsigned byte and 16-bit signed integers. The implementation uses a 32-element scratch space in zero page (as far as I can tell)

Code is on sourceforge and being ported to self-host (re-written in PLASMA) right now.

(via CALL-A.P.P.L.E.)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: