[porting] [languages] Ocaml bytecode interpreter

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
pifu
Posts: 7
Joined: 04 May 2017

[porting] [languages] Ocaml bytecode interpreter

Post by pifu »

crossposted on Lemon64 General forum

Hi all,
maybe some of you will have heard something about OCaml, a multi-paradigm programming language with a lot of nice features.
Well, I'm trying to write a runtime system in order to execute the OCaml bytecode on the C64. :shock:
After a look of OCapic project (an OCaml port for PIC microcontrollers), I think it should not be too hard to arrange that code for the C64.
Now I'm working to rewrite the bytecode interpreter in 6502 assembly.

Next coding steps:
- garbage collector
- OCaml standard library
- specific libraries for C64 (graph, SID, CIA ecc.)

As I'm not a professional programmer, and I've few free time, and I'm quite lazy too!, I cannot guarantee a release date for an alpha version.
But I'll appreciate any contribution (code, not money ;-) from anyone who thinks this project should be interesting.
Bye all,
Piero
----
UPDATE 27-Apr-2017:
Code for the OCaml bytecode interpreter is done. Testing in progress. Seems good.
TO DO: Garbage collector; Standard OCaml library.
Date of first alpha release: not known yet.
Last edited by pifu on Tue May 23, 2017 9:28 am, edited 1 time in total.
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: [porting] [languages] Ocaml bytecode interpreter

Post by BigEd »

Welcome! Sounds like an interesting project, will follow with interest. (But sorry, can't offer practical coding help.)
Post Reply