Hi Felix,
On Mon, Oct 13, 2008 at 1:41 AM, Felix Winkelmann <fw...@em...> wrote:
> Wow, this looks really interesting. I had no problems following the
> instructions on the project page and getting example programs to build
> and run, even though I'm not a regular ML or MLton user.
I'm happy you were able to get the compiler working.
> Now, where are the docs? ;-)
Unfortunately we don't have too many docs at this point. The
language is based closely on standard ML, although there are a few
differences. One major one is that there is no module system. There
are only simple "import" statements that allow you to include
functionality that is either in the current directory or in
embeddedml/stdlib (which is searched by default). This has been
adequate for me, but it's something to keep in mind.
Another thing to watch out for is that the compiler is currently a
bit unfriendly about syntactical errors: it will just say "parse
error: no expression" when it detects a syntax error, and you'll have
to comment out code to find it. This might change in the near future,
but it's currently an annoying problem. One way to get around it is
to compile frequently, leaving yourself just a few lines to
investigate in the case you encounter this problem.
If you have particular questions, please feel free to ask on the
mailing list. Eventually the email exchanges can be turned into a
document :)
-andrew
|