mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Initial version
This commit is contained in:
parent
97d0fee765
commit
3aed9737cf
1 changed files with 7 additions and 0 deletions
7
docs/Developer-How-To.md
Normal file
7
docs/Developer-How-To.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
## Add a primitive
|
||||
|
||||
- Add function/definitions to runtime.h and runtime.c
|
||||
- Add to prim? section in transforms.scm. 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 to the c-compile-primitive section in cgen.scm.
|
||||
- TODO: compile files in what order? And copy them where? I think sld files need to be built and copied, and then cyclone and icyc need to be rebuilt linking against them?
|
||||
- TODO: what about eval.scm?
|
Loading…
Add table
Reference in a new issue