Closed olleharstedt closed 8 years ago
The error is with Atom "$Pervasives"
, which should be Var "Pervasives"
.
The lexer (src/malfunction_sexp.mll) distinguishes between "atoms" (without
$) and "variables" (with $).
If you're generating terms programmatically, it's probably easier to build a Malfunction.t directly instead of making sexps.
Thanks, that work. Will checkout Malfunction.t.
I keep getting the error "module path required" after trying to hard-code the hello world-example in sexp format:
Then doing
after I've added parse_mod to the mli, I get the error. Any tips? How is module path supposed to look like?