From 6c34e1c672f635589747763d65dc52eb43012873 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 15 Apr 2016 21:29:42 -0400 Subject: [PATCH] File is not needed --- docs/Developer-How-To.md | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 docs/Developer-How-To.md diff --git a/docs/Developer-How-To.md b/docs/Developer-How-To.md deleted file mode 100644 index 9a7514e9..00000000 --- a/docs/Developer-How-To.md +++ /dev/null @@ -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.