Justin Ethier
2499f60730
Cleanup
2016-08-16 18:14:46 -04:00
Justin Ethier
a91c406020
WIP
2016-08-15 19:08:43 -04:00
Justin Ethier
ae49a05e1e
Use lambda-varargs? that does not depend upon ast being a lambda
2016-08-15 18:08:55 -04:00
Justin Ethier
6d3e5f041f
Staging changes
2016-08-16 03:54:18 -04:00
Justin Ethier
5cf0cd048b
debugging
2016-08-16 03:52:22 -04:00
Justin Ethier
179c90869c
Added functions from transforms module
2016-08-15 23:08:37 -04:00
Justin Ethier
773de4d49c
Cannot use transforms due to circ dep
2016-08-15 23:08:08 -04:00
Justin Ethier
06dae4ce90
Added TODO's
2016-08-14 19:08:12 -04:00
Justin Ethier
b58a11e9c5
Staging new functions
2016-08-14 18:58:00 -04:00
Justin Ethier
d0d889f594
Relocated pair->list
2016-08-13 23:14:12 -04:00
Justin Ethier
d322ccea65
Added TODO
2016-08-13 22:52:15 -04:00
Justin Ethier
55f4a7403c
Issue #3 - Fix C compiler warning for varargs
2016-08-12 18:07:05 -04:00
Justin Ethier
17ce827d8e
Issue #3 - Allow compiling a pure varargs lambda
2016-08-13 01:42:58 -04:00
Justin Ethier
b80066119a
Issue #79 - not exact-closed
2016-08-11 17:25:04 -04:00
Justin Ethier
5dceed4e2d
Issue #101 - Include an extra ; to prevent errors
...
Include an extra semicolon in the C entry point to prevent it from missing in cases where one is no normally inserted, such as for non-cps primitives or constants. This prevents C compilation errors in edge cases.
2016-08-11 23:50:43 -04:00
Justin Ethier
64d39650fb
Handle more escaped chars
2016-08-08 17:40:57 -04:00
Justin Ethier
08f120658d
Added env:all-variables
2016-08-06 18:59:53 -04:00
Justin Ethier
e044c362c2
Added (flatten)
2016-08-06 18:54:18 -04:00
Justin Ethier
a8062e3f13
Issue #93 - Type-check call/cc argument
2016-08-05 23:31:15 -04:00
Justin Ethier
693a22f0fb
Bump to 0.1.6
2016-08-03 18:15:19 -04:00
Justin Ethier
0893b28c52
Bump version number
2016-08-03 17:05:57 -04:00
Justin Ethier
a617ba6941
Fix compiler warning
2016-08-04 00:30:39 -04:00
Justin Ethier
6643eeb083
Fix and attempt to improve (if) optimization
2016-07-29 19:05:50 -04:00
Justin Ethier
0fb83a8100
Optimize (if #f x y) to just y
2016-07-29 18:52:00 -04:00
Justin Ethier
6a50eff1e0
Fix compilation of Cyc-compilation-environment
2016-07-29 17:36:23 -04:00
Justin Ethier
5eeef5d992
Added (Cyc-compilation-environment)
2016-07-30 03:12:17 -04:00
Justin Ethier
50ed9b639f
Added string-replace-all
2016-07-29 23:33:04 -04:00
Justin Ethier
3beec26ba5
Use safe cxr functions
2016-07-29 22:51:16 -04:00
Justin Ethier
324702896a
Add expected definitions
2016-07-29 03:12:44 -04:00
Justin Ethier
b325101fcb
Use safe car/cdr
2016-07-29 02:42:35 -04:00
Justin Ethier
fa24f4db37
Unsafe cell functions
2016-07-25 23:26:43 -04:00
Justin Ethier
f46cc5b010
Explicitly declare C main as returning int
2016-07-20 22:35:01 -04:00
Justin Ethier
bf932472f1
Externalize compiler version
2016-07-18 23:09:29 -04:00
Justin Ethier
84461c0b81
Version bump
2016-07-15 23:51:52 -04:00
Justin Ethier
f00929971d
Allow local to have same identifier as a prim
...
Allow a local variable to use the same identifier as a primitive, by renaming the local and shadowing the primitive within that scope.
2016-07-15 22:43:56 -04:00
Justin Ethier
c23d3c4a7a
Added more functions to (prim-creates-mutable-obj?)
2016-07-15 19:37:16 -04:00
Justin Ethier
c1bd242205
Version bump
2016-07-15 19:35:56 -04:00
Justin Ethier
bd9a134e34
Purge (macro?)
2016-07-14 22:32:18 -04:00
Justin Ethier
089a64d290
Replace (macro?) with (Cyc-macro?)
2016-07-14 22:29:58 -04:00
Justin Ethier
f75b077270
Added (Cyc-macro?)
2016-07-14 22:18:46 -04:00
Justin Ethier
9311ee5f83
Generalized CPS optimization fix
2016-07-15 02:55:53 -04:00
Justin Ethier
ccf8329ffb
WIP
2016-07-14 23:54:51 -04:00
Justin Ethier
c733e440d4
WIP
2016-07-14 23:31:03 -04:00
Justin Ethier
11cb6579b3
Version bump
2016-07-14 19:40:58 -04:00
Justin Ethier
db68e7cdeb
Removed dead code
2016-07-12 23:13:34 -04:00
Justin Ethier
3d138cbde8
Check number of args passed to anonymous lambdas
2016-07-12 23:06:32 -04:00
Justin Ethier
07163817c6
Added required args for primitives
2016-07-11 22:55:15 -04:00
Justin Ethier
a72a7e1718
Validate number of args to prims
2016-07-11 21:53:28 -04:00
Justin Ethier
8d8c6fcd06
Proper resolution of dependencies
2016-07-11 21:19:55 -04:00
Justin Ethier
80f717452e
WIP
2016-07-11 23:40:53 -04:00