Lots more code written, and I think most of it's OK; but it doesn't compile yet.

This commit is contained in:
Simon Brooke 2026-03-26 09:01:46 +00:00
parent 604fca3c24
commit 6c4be8f283
19 changed files with 634 additions and 7 deletions

16
src/c/ops/README.md Normal file
View file

@ -0,0 +1,16 @@
# README: PSSE substrate operations
This folder/pseudo-package is for things which implement basic Lisp functions.
These will be the functions which make up the `:bootstrap` and `:substrate`
packages in Lisp.
For each basic function the intention is that there should be one `.c` file
(and normally one `.h` file as well). This file will provide one version of the
function with Lisp calling conventions, called `lisp_xxxx`, and one with C
calling conventions, called `xxxx`. It does not matter whether the lisp version
calls the C version or vice versa, but one should call the other so there are
not two different versions of the logic.
Substrate I/O functions will not be provided in this pseudo-package but in `io`.
Substrate arithmetic functions will not be provided in this pseudo-package but
in `arith`.