Page 1 of 1

[porting] [languages] Ocaml bytecode interpreter

Posted: Thu May 04, 2017 12:25 pm
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.

Re: [porting] [languages] Ocaml bytecode interpreter

Posted: Thu May 04, 2017 7:05 pm
by BigEd
Welcome! Sounds like an interesting project, will follow with interest. (But sorry, can't offer practical coding help.)