mirror of
https://github.com/false-schemers/skint.git
synced 2025-02-04 08:46:11 +01:00
87d3ed5c7b
#11: extend flonum->string to support optional precision arg to support SRFI-48; improve flonum printing accordingly #10: bug: (floor-quotient 1 -1) actual: -2 expected: -1 #9: immediate-hash should hash flonums even if they are boxed #8: string-append and vector-append with 1 arg must copy the arg #7: stop advertising built-in support for SRFI-48, allowing full external implementation #6: expt should fall back to flonums on fixnum range overflow |
||
---|---|---|
.. | ||
k.sf | ||
ksf2c.ssc | ||
n.sf | ||
nsf2c.ssc | ||
nsf2h.ssc | ||
README.md | ||
s.scm | ||
scm2c.ssc | ||
t.scm |
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.