Re: [Embeddedml-user] no subject
Brought to you by:
andrew36b
From: Felix W. <fw...@em...> - 2008-10-14 10:48:30
|
From: "Andrew Harris" <and...@gm...> Subject: Re: [Embeddedml-user] no subject Date: Mon, 13 Oct 2008 10:31:08 -0400 > 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. Ok. > > 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 :) So if I understand correctly, the C backend of the compiler is trampoline based, right? Does it perform a general CPS conversion (as in smlnj), or is this representation only used for optimization? I read the announcement that you are holding a presentation for FringeDC. Would there be any material of this available after the event? cheers, felix -- felix winkelmann, emlix GmbH, http://www.emlix.com, mailto:fw...@em... Fon +49 551 30664-0, Fax -11, Bahnhofsallee 1b, 37081 Göttingen, Germany Geschäftsführung: Dr. Uwe Kracke, Dr. Cord Seele, Ust-IdNr.: DE 205 198 055 Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 emlix - your embedded linux partner |