From 729a2ac267d623c17764e0f6efc9f242b92f83af Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 30 Jul 2015 19:41:03 -0400 Subject: [PATCH] Refining how to add a prim --- docs/Developer-How-To.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Developer-How-To.md b/docs/Developer-How-To.md index 3fee5d8e..f283d808 100644 --- a/docs/Developer-How-To.md +++ b/docs/Developer-How-To.md @@ -5,6 +5,9 @@ - sudo make install-libs - 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. + +INSTALL .SCM FILES, then running cyclone will pick up the changes. I think that simplifies the below... may let a make take care of it + - cyclone scheme/cyclone/transforms.sld && cyclone scheme/cyclone/cgen.sld - sudo cp scheme/cyclone/transforms.* /usr/local/share/cyclone/scheme/cyclone/ and cgen