Embedding Factor into C applications
Factor handbook ยป C library interface

Prev:DLL handles


The Factor Makefile builds the Factor VM both as an executable and a library. The library can be used by other applications. File names for the library on various operating systems:
OSLibrary nameShared?
Windows XP/Vistafactor.dllYes
macOSlibfactor.dylibYes
Other Unixlibfactor.aNo

An image file must be supplied; a minimal image can be built, however the compiler must be included for the embedding API to work (see Command line switches for bootstrap).
Factor embedding API
What embedding looks like from Factor
Embedding API restrictions