mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 01:07:34 +02:00
File is not needed
This commit is contained in:
parent
02a15cd068
commit
6c34e1c672
1 changed files with 0 additions and 16 deletions
|
@ -1,16 +0,0 @@
|
|||
## Add a primitive
|
||||
|
||||
- Add function/definitions to `runtime.h` and `runtime.c`
|
||||
- Rebuild and install runtime library.
|
||||
- Add to `prim?` section in `transforms.sld`. Some functions may need to added to the next section in the file, so they are not constant-folded (IE, evaluated at compile time).
|
||||
- Add above the `c-compile-primitive` section in `cgen.sld`. Some functions may need to be added in multiple places to indicate they take additional arguments, call their continuation, etc.
|
||||
|
||||
TODO: need to develop this section better to come up with a workable/optimal approach to building things:
|
||||
|
||||
- Compile:
|
||||
cyclone scheme/cyclone/cgen.sld
|
||||
cyclone scheme/cyclone/transforms.sld
|
||||
- Copy modified files to cyclone-bootstrap, including runtime, `.sld`, and compiled `.c` files.
|
||||
- Run `make clean ; ./install` from bootstrap repo
|
||||
|
||||
- Add primitives to the list in eval.sld. Rebuild one more time.
|
Loading…
Add table
Reference in a new issue