ml-nlffigen

ML generator for C glue code

Install

All systems
curl cmd.cat/ml-nlffigen.sh
Debian Debian
apt-get install ml-nlffigen
Ubuntu
apt-get install ml-nlffigen
image/svg+xml Kali Linux
apt-get install ml-nlffigen
Windows (WSL2)
sudo apt-get update sudo apt-get install ml-nlffigen

ml-nlffigen

ML generator for C glue code

This tool reads in C source code and outputs ML code and a CM description file for use with the ML "No Longer Foreign Function Interface" library. This tool works by separating each top-level C declaration into a new ML source file. For large programs, this puts some strain on the SML Compilation Manager, but this should only marginally increase the program run-time.