Re: eXene and openGL
Vesa Karvonen <vesa.karvonen-bbCR+/[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Quoting John Reppy <[email protected]>: [...] > BTW, since the CKit (and NLFFIgen) are originally part of the SML/NJ > distribution, it would be helpful if you could redirect updates back > to us. Does SML/NJ support multiple calling conventions on Windows (or other platforms)? MLton already supports both stdcall and cdecl calling conventions and adding calling convention support to MLton's mlnlffi[gen] should not require any modifications to the MLton compiler itself. This simplifies the task considerably and the time I can allocate for this is limited. If I get around to adding the support, I could certainly look into how to add the same support to the SML/NJ version. > W.r.t. the CKit, Aaron Turon has been working on a new ml-antlr > grammar for it, which should make supporting syntactic extensions > much easier (ml-antlr supports modular specifications). Indeed, probably the most difficult change required to support calling convention specifiers would be to extend the C grammar specification. Another potentially difficult change might be to extend NLFFI (the library) to distinguish (using phantom types) between different calling conventions. -Vesa Karvonen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV