Commit graph

414 commits

Author SHA1 Message Date
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
bcb9f3d677 Convert make_int to obj_int2obj 2016-03-20 22:16:45 -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
40b075ace9 More integer_type conversions 2016-03-15 10:48:58 -04:00
Justin Ethier
0dea5d82c6 Optimize (if (not a) b c) 2016-03-12 02:48:44 -05:00
Justin Ethier
c44d5d5427 Call CPS optimization code from main program 2016-03-10 21:29:47 -05:00
Justin Ethier
4c2b56b19e Test optimization changes 2016-03-11 02:19:20 -05:00
Justin Ethier
4e9a209f43 First start at CPS optimization 2016-03-10 23:50:13 -05:00
Justin Ethier
47f43d54c0 Only generate call history for top-level (or library) defines 2016-03-03 22:38:33 -05:00
Justin Ethier
abdce5d978 Prevent "too many arguments" errors
Use folds instead of apply to prevent errors with too many arguments passed.
2016-03-01 22:09:26 -05:00
Justin Ethier
9720387420 Added a note 2016-03-01 23:53:09 -05:00
Justin Ethier
365e26a2a5 Added block comment support 2016-02-23 21:31:33 -05:00
Justin Ethier
d434cf0f73 Added TODO's 2016-02-22 23:00:46 -05:00
Justin Ethier
d2eba45376 Removed unnecessary string->number2 2016-02-23 00:25:01 -05:00
Justin Ethier
76c84ad29e Added optional arg to string->number 2016-02-23 00:06:45 -05:00
Justin Ethier
1bcb119f70 Parse binary/octal/hex numbers 2016-02-21 22:47:36 -05:00
Justin Ethier
b49a30a923 Handle #b #o #x at the parser (but not string->number yet) 2016-02-20 03:34:18 -05:00
Justin Ethier
03ca7d3c4b Support #i and #e 2016-02-20 03:08:35 -05:00
Justin Ethier
f7eed523be Added back missing code 2016-02-20 02:12:54 -05:00
Justin Ethier
05b264d02c Separate parsing for numbers 2016-02-20 02:08:00 -05:00
Justin Ethier
3a3610f93d Limited support for #e 2016-02-20 00:00:33 -05:00
Justin Ethier
41ff5a149b Fix (closure) casting in closcall macros 2016-02-18 22:30:10 -05:00
Justin Ethier
64d86bd1e2 Protect against cast warning 2016-02-17 23:19:06 -05:00
Justin Ethier
c98e186172 Relocated mutex primitives to srfi 18 lib 2016-02-16 23:51:28 -05:00
Justin Ethier
e8dab934ea Obsolete file 2016-02-14 22:39:25 -05:00
Justin Ethier
730434bb14 Added header comment block. 2016-02-14 22:35:04 -05:00
Justin Ethier
18d28ba83f Removed implemented macros 2016-02-13 22:59:15 -05:00
Justin Ethier
c20d6add4f WIP 2016-02-13 22:47:11 -05:00
Justin Ethier
faecc90ba2 new library 2016-02-13 22:36:49 -05:00
Justin Ethier
57c54fcb74 Added letrec* and guard macros 2016-02-13 21:23:04 -05:00
Justin Ethier
08ead45b5a Added syntax-rules 2016-02-12 22:16:18 -05:00
Justin Ethier
f448245253 Syntax-rules stub 2016-02-13 02:24:05 -05:00
Justin Ethier
c427549c0a Accept multiple list args 2016-02-12 23:51:00 -05:00
Justin Ethier
7aa7a8fefb Allow string-map to accept multiple lists 2016-02-12 23:45:04 -05:00
Justin Ethier
0f8f6c2efe Allow for-each to accept multiple list args 2016-02-12 23:13:58 -05:00
Justin Ethier
73ea931dfa Added:
- recieve
- call-with-values
- map (accepting multiple list arguments)
2016-02-12 22:46:00 -05:00
Justin Ethier
bf185a47e6 TODO: staging for enhanced map/for-each 2016-02-11 22:52:13 -05:00
Justin Ethier
65529629d5 Beginnings of syntax-rules support 2016-02-11 22:31:09 -05:00
Justin Ethier
501ad39687 Added missing functions to get this to compile 2016-02-12 02:30:04 -05:00