Next: Miscellaneous External Calls, Previous: External Calls to C, Up: External Calls [Index]
INTERCAL-72 | C-INTERCAL | CLC-INTERCAL | J-INTERCAL |
---|---|---|---|
no | version 0.29+ | no | no |
C-INTERCAL supports linking INTERCAL programs with Funge-98 programs (to be precise, only Befunge-98 programs are currently supported). However, it does not ship with a Funge-98 interpreter, and such an interpreter needs to be linked to the resulting program in order to run the Befunge program. Therefore, you need to convert a third-party Funge-98 interpreter to a library usable by C-INTERCAL before you can use this part of the external calls system (see Creating the Funge-98 Library); however, this only has to be done once.
Once the library has been created, you can link an
INTERCAL program with a Befunge-98 program by
invoking ick
like this:
ick -e intercalprogram.i befungeprogram.b98
You can link no more than one Befunge-98 program at once (just like you can link no more than one INTERCAL program at once). Also, the INTERCAL program must come first on the command line.
It is legal to link INTERCAL, C, and Befunge-98 simultaneously; however, the identifiers used in the third-party Funge-98 interpreter have not been mangled to avoid collisions, and therefore problems may be caused if the C program uses the same identifiers as the Funge-98 interpreter.
• Creating the Funge-98 Library: | How to create the Funge-98 library. | |
• The IFFI Fingerprint: | External calls from Funge’s view. |