[cvs-nhc98] patch applied (hat): Syntactic re-arrangement of FFI
calls in the source language.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:21:25 EDT 2006
Tue Sep 3 05:16:21 PDT 2002 malcolm
* Syntactic re-arrangement of FFI calls in the source language.
* The calling convention is now mandatory.
* We add `cast' and `noproto' as local calling conventions,
in addition to the standard ccall, stdcall, cplusplus, dotnet, jvm.
The latter four are not implemented, but generate an error message.
* The safety spec now includes `unsafe', `safe', and `threadsafe',
but these are all ignored in nhc98 for the moment. (All calls are
safe, and we don't have threads.)
* The safety spec now comes before the entity string, not after.
M ./src/compiler98/Case.hs -4 +4
M ./src/compiler98/Foreign.hs -4 +6
M ./src/compiler98/Parse.hs -16 +28
M ./src/compiler98/ParseLex.hs +7
M ./src/compiler98/PosCode.hs -2 +2
M ./src/compiler98/StrPos.hs -3 +2
M ./src/compiler98/Syntax.hs -4 +10
M ./src/compiler98/TokenId.hs -1 +7
More information about the Cvs-nhc98
mailing list