monte-language / spotter

Experimental low-level Monte runtime in OCaml
Do What The F*ck You Want To Public License
4 stars 1 forks source link

goal: run the richards benchmark #14

Open dckc opened 5 years ago

dckc commented 5 years ago

I actually wrote the relevant part of the loader, I think, but I didn't glue it into the right spot...

current status: 0ab6e1d1a7140e7a90335667055d22c38377a8bc

~/projects/spotter$ make spotter.byte && OCAMLRUNPARAM=b ./spotter.byte ./richards.mast 
ocamlbuild -tag debug -use-ocamlfind -pkgs camomile,zarith spotter.byte
Finished, 9 targets (6 cached) in 00:00:00.
./richards.mast: read mast
./richards.mast: evaluate module
=mod=> <user>
[1] ./richards.mast: run module

(executing <user>.run(<import>, ) at str:20:0:379:0)(finalPatt: package_1 := <import>)
User-created exception : "XXX loader not impl: lib/enum"
dckc commented 5 years ago

Getting bored running into more and more bits of the prelude; this time it's _accumulateList

~/projects/spotter$ make spotter.byte && OCAMLRUNPARAM=b ./spotter.byte ./richards.mast 
...
[1] ./richards.mast: run module
...
"lib/enum": run module
...
"lib/iterators": run module
...
...
XXX List.get(...) not implemented
XXX List.get(...).coerce(...) not implemented
(finalPatt: names := ["Blank" "Idle" "Work" "Handler A" "Handler B" "Device A" "Device B"])
(finalPatt: __return := <ejector at str:35:4:35:5>)
name error at blob:41:36:43:64: _accumulateList

c64043f26f539264e82578a931398fc140b0c28e