First, I tried to build the docs using "make doc" and got the following:

$ make doc
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko
nekoc tools/makedoc.neko)
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko
tools/makedoc)
nekoc -o ../www/libs -doc ../vm/builtins.c
Called from neko/Main.nml line 128
Called from core/Args.nml line 55
Called from neko/Main.nml line 92
Called from core/IO.nml line 100
Exception : (file_open, ../www/libs/builtins.html)
Called from tools/makedoc.neko line 37
Uncaught exception - Error 65280 : aborted
make: *** [doc] Error 1

Secondly, I made a file called Syntax.nml (for my AST) and a Main.nml.
Compiling Syntax.nml worked fine but when I tried to compile Main.nml
which looks like this:

open Syntax

print (show (App (Lambda "x" (Var "x")) (Int 1))) + "\n"

I got the following:

$ nekoml Syntax.nml
$ nekoml Main.nml
Main.nml(1): Unknown identifier open

Both files are located in ~/dev/nekoml and I've put Neko in
~/neko-1.3-src and I've set these two environment variables:

NEKOPATH=/home/tibbe/neko-1.3-src/bin
LD_LIBRARY_PATH=/home/tibbe/neko-1.3-src/bin

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to