attila-lendvai / maru

Maru - a tiny self-hosting lisp dialect
http://piumarta.com/software/maru/
Other
189 stars 10 forks source link

maru stage 2 current-module undefined #1

Closed TheFausap closed 3 years ago

TheFausap commented 3 years ago

Hello,

I am trying to run the stage2 but I have the following error while loading emit.l

error: undefined variable: current-module
 18: current-module
 17: (current-module)
 16: (current-module)
 15: (oop-at (current-module) 1)
 14: (oop-at (current-module) 1)
 13: (assq op-name (oop-at (current-module) 1))
 12: (assq op-name (oop-at (current-module) 1))
...

I created the eval executable from maru.1.c99 branch and it loads without any problem either boot.l either host-extras.l Am I missing something?

just to add an useful info, I tried the first code (from piumarta web site, the boot-eval.c) and it works fine.

thanks, Fausto