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
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
a8062e3f13
Issue #93 - Type-check call/cc argument
2016-08-05 23:31:15 -04:00
Justin Ethier
f46cc5b010
Explicitly declare C main as returning int
2016-07-20 22:35:01 -04:00
Justin Ethier
199b685de3
Use only one comparison in closcall macros
...
This improves performance a bit since these macros are called after almost every C function.
2016-07-04 22:42:35 -04:00
Justin Ethier
f4b8dbc8a1
Added a special case to set num_args to 0 for call/cc
...
This fixes validation later on for call/cc's internal lambda function. When we eval it we only want to validate 1 arg, not 2.
2016-06-11 01:27:50 -04:00
Justin Ethier
c3a7fcbe45
Deleted relocated code
2016-06-04 04:10:32 -04:00
Justin Ethier
d3fbcdc9c2
New library
2016-06-04 04:07:12 -04:00
Justin Ethier
24cf670237
Added Cyc-opaque?
2016-04-26 21:52:30 -04:00
Justin Ethier
360e9c1127
Added TODO
2016-04-27 04:07:04 -04:00
Justin Ethier
e892ed2270
Refactoring
2016-04-27 03:18:47 -04:00
Justin Ethier
008c857755
Refactoring
2016-04-26 23:33:36 -04:00
Justin Ethier
df20aaa6d3
Refactoring
2016-04-20 23:42:21 -04:00
Justin Ethier
ef1db96f2a
Refactoring
2016-04-20 23:10:46 -04:00
Justin Ethier
ea225a3ab7
Refactoring
2016-04-21 00:36:51 -04:00
Justin Ethier
63a2204efc
Refactoring
2016-04-20 22:20:02 -04:00
Justin Ethier
3553d0773c
Refactoring
2016-04-20 03:39:58 -04:00
Justin Ethier
d2c8224444
Refactoring
2016-04-20 02:47:05 -04:00
Justin Ethier
61f42ef849
Output C headers
2016-04-20 00:04:00 -04:00
Justin Ethier
ea37de65f7
Read c headers included by a library
2016-04-19 23:38:48 -04:00
Justin Ethier
096d1e8a77
Cut over to Cyc_number2string2
2016-04-04 23:21:53 -04:00
Justin Ethier
1598a72921
Refactoring
2016-04-01 22:01:10 -04:00
Justin Ethier
a63f9a729e
Refactoring
2016-04-01 21:48:01 -04:00
Justin Ethier
a5a2683f19
Added comment
2016-04-01 02:37:47 -04:00
Justin Ethier
5de999dee7
Use new comparison ops
2016-03-31 23:48:09 -04:00
Justin Ethier
9a0a0dc5ec
Handle import sets containing numbers
2016-03-31 22:06:38 -04:00
Justin Ethier
de8196aa80
WIP - mangling of library globals
2016-03-30 03:49:45 -04:00
Justin Ethier
067f8b0ad7
cgen:mangle-global
2016-03-30 01:22:47 -04:00
Justin Ethier
e67b67895f
Use lib:idb
2016-03-30 01:00:43 -04:00
Justin Ethier
8ef3cb7e61
utf8/string functions
2016-03-29 00:32:50 -04:00
Justin Ethier
b4ca192000
WIP
2016-03-24 01:22:42 -04:00
Justin Ethier
e9ed4abcc5
bytevector fixes
2016-03-24 00:14:57 -04:00
Justin Ethier
56278989eb
Integrating bytevector-append
2016-03-23 22:58:56 -04:00
Justin Ethier
d184df6b4e
WIP
2016-03-23 20:26:57 -04:00
Justin Ethier
059f6d5321
u8 primitives
2016-03-22 23:07:29 -04:00
Justin Ethier
d0914d863f
Allow optional fill arg to (make-vector) in compiled code
2016-03-22 20:45:14 -04:00
Justin Ethier
943dd1aad5
Use new vector function
2016-03-22 20:07:37 -04:00
Justin Ethier
f11fec9f82
Cleaning up Cyc_length
2016-03-22 03:23:46 -04:00
Justin Ethier
739831ebe6
Removed redundant functions
2016-03-22 01:03:12 -04:00
Justin Ethier
b670dacddb
Moving away from primitives that return integer_type
2016-03-21 23:08:58 -04:00
Justin Ethier
05d39afd3f
Use immediates
2016-03-19 22:38:23 -04:00
Justin Ethier
580a674525
Temporarily disable using immediate ints
...
Also bugfix to let equal() work with immediates
2016-03-19 22:20:08 -04:00
Justin Ethier
cdde675994
Integer value types
2016-03-17 22:51:31 -04:00
Justin Ethier
acf9de866e
Purge sum2 and friends
2016-03-17 21:11:24 -04:00
Justin Ethier
f2be2abc65
Use new + - * / functions
2016-03-18 03:43:52 -04:00
Justin Ethier
b3b29ae15f
Removed string->number2
2016-03-17 01:56:11 -04:00
Justin Ethier
9e27db1025
Equivalent string->number functions
2016-03-17 01:43:30 -04:00
Justin Ethier
5d234d1509
WIP
2016-03-15 22:32:30 -04:00
Justin Ethier
47f43d54c0
Only generate call history for top-level (or library) defines
2016-03-03 22:38:33 -05:00