skint/pre
2024-07-28 10:17:13 -04:00
..
k.sf n.{h,c}, k.c, s.c, and t.c fully generated from /pre 2024-07-23 01:20:15 -04:00
ksf2c.ssc n.{h,c}, k.c, s.c, and t.c fully generated from /pre 2024-07-23 01:20:15 -04:00
n.sf minor portability fixes 2024-07-28 10:17:13 -04:00
nsf2c.ssc n.c header order fixes 2024-07-22 18:24:24 -04:00
nsf2h.ssc minor portability fixes 2024-07-28 10:17:13 -04:00
README.md Update README.md 2024-07-26 00:01:26 -04:00
s.scm xform => xpand; program/export forms dropped 2024-07-25 22:42:15 -04:00
scm2c.ssc xform => xpand; program/export forms dropped 2024-07-25 22:42:15 -04:00
t.scm (... x) esc in rule's pattern head position 2024-07-26 23:23:45 -04:00

SKINT Precursors

This directory contains #F/Scheme code for autogenerated parts of SKINT C source code. To re-generate these C files, one has to have working version of SKINT interpreter and SFC compiler. Generation is performed with the help of Skint scripts located here (they have the .ssc suffix). Assuming that both skint and sfc binaries are just above the skint directory tree, the following commands will do the trick:

$ ./skint skint/pre/nsf2h.ssc skint/pre/n.sf skint/n.h
$ ./skint skint/pre/nsf2c.ssc skint/pre/n.sf skint/n.c
$ ./skint skint/pre/scm2c.ssc skint/pre/s.scm skint/s.c
$ ./skint skint/pre/scm2c.ssc skint/pre/t.scm skint/t.c
$ ./skint skint/pre/ksf2c.ssc ./sfc skint/pre/k.sf skint/k.c

Please note that this step is optional, but may be needed to make enhancements and fix bugs in the autogenerated C code.