The LispWorks Editor's C Mode offers a convenient alternative to using foreign-parser:process-foreign-file directly as above. It also allows you to generate and load a C object file.
To use this, you should be familiar with the LispWorks Editor as described in the LispWorks IDE User Guide and the Editor User Guide.
test.h
in the LispWorks Editor. Note that the buffer is in C Mode, indicated by "(C)" in the mode line.Buffer > Evaluate
, or equivalently run Meta+X Evaluate Buffer
.test.h (C->LISP)
is created. It contains the prototype FLI definition forms generated by foreign-parser:process-foreign-file.test.c
in the LispWorks Editor. Note that the buffer is in C Mode, indicated by "(C)" in the mode line.Buffer > Compile
, or equivalently run Meta+X Compile Buffer
.Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:35:02