Commit graph

68 commits

Author SHA1 Message Date
Justin Ethier
e636f40f99 Revert memq, memv, assq, assv back to primitives 2016-10-17 23:42:53 -04:00
Justin Ethier
ba1d1e87e6 Allow ER define-syntax from eval 2016-09-26 21:02:01 -04:00
Justin Ethier
29b49a371a WIP 2016-09-23 19:00:24 -04:00
Justin Ethier
796d5f9e0a Get macros to work by adding a rename env
Each macro will use its own use environment to rename macros, but a common environment will be used by all macro expansions (and after the last expansion) to map any renamed free variables back to the expected symbol.
2016-09-20 17:32:26 -04:00
Justin Ethier
d078e4d1c1 WIP 2016-09-15 18:47:21 -04:00
Justin Ethier
a822bc9e91 Pass additional environments to er macro functions 2016-09-14 17:36:53 -04:00
Justin Ethier
5ce09c6698 Remove member/assoc primitives 2016-08-20 02:32:16 -04:00
Justin Ethier
46f84b5265 Issue #21 - Allow eval to handle optional args 2016-08-18 02:43:05 -04:00
Justin Ethier
ae3f906d24 Do not require formals-type 2016-08-17 23:41:17 -04:00
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
773de4d49c Cannot use transforms due to circ dep 2016-08-15 23:08:08 -04:00
Justin Ethier
d322ccea65 Added TODO 2016-08-13 22:52:15 -04:00
Justin Ethier
5eeef5d992 Added (Cyc-compilation-environment) 2016-07-30 03:12:17 -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
b0d40fe51a Issue #24 - Prevent segfaults during analysis 2016-06-23 22:18:18 -04:00
Justin Ethier
24cf670237 Added Cyc-opaque? 2016-04-26 21:52:30 -04:00
Justin Ethier
63a2204efc Refactoring 2016-04-20 22:20:02 -04:00
Justin Ethier
822ac63e9a Added utf8 primitives to eval 2016-03-29 02:35:52 -04:00
Justin Ethier
2376694066 Replace maps with folds 2016-03-29 01:46:40 -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
1759cdaf9f Added bytevector-append to eval 2016-03-23 22:23:56 -04:00
Justin Ethier
1f85e6a957 Adding more bv prims 2016-03-22 22:45:36 -04:00
Justin Ethier
f54bd39484 bytevectors 2016-03-22 23:23:09 -04:00
Justin Ethier
14abd06304 bytevector primitives 2016-03-22 23:16:18 -04:00
Justin Ethier
b3b29ae15f Removed string->number2 2016-03-17 01:56:11 -04:00
Justin Ethier
5d234d1509 WIP 2016-03-15 22:32:30 -04:00
Justin Ethier
c98e186172 Relocated mutex primitives to srfi 18 lib 2016-02-16 23:51:28 -05:00
Justin Ethier
730434bb14 Added header comment block. 2016-02-14 22:35:04 -05:00
Justin Ethier
4fbd1bf1da Properly wrap data from c eval 2016-02-04 22:08:38 -05:00
Justin Ethier
88f5d29930 Experimental changes 2016-02-04 23:40:59 -05:00
Justin Ethier
7664b4c1e4 Removing call-with-values for now 2016-01-26 22:36:23 -05:00
Justin Ethier
76bbca68e5 Cyc-minor-gc is now part of (srfi 18)
It makes more sense here than as a primitive, since threading is the only place you would need to trigger this from application code.
2016-01-18 22:40:59 -05:00
Justin Ethier
1e71ff3fd3 Move thread-sleep! to 18.sld 2016-01-18 22:18:39 -05:00
Justin Ethier
1c87635236 Make additional icyc modules visible in repl
By recreating a fresh global environment after all imports have been processed, and passing this to eval, all modules loaded by icyc are available to eval.
2016-01-05 23:00:10 -05:00
Justin Ethier
de33b567a3 Missed a couple things... 2016-01-02 22:49:57 -05:00
Justin Ethier
309fc3dc13 Added mutex functions 2016-01-02 22:41:50 -05:00
Justin Ethier
eaa0481f40 Added Cyc-minor-gc 2015-12-27 23:16:58 -05:00
Justin Ethier
d9656fc793 Use the name thread-sleep! 2015-12-19 00:22:49 -05:00
Justin Ethier
8895bee4ed Adding sleep function 2015-12-19 00:08:36 -05:00
Justin Ethier
a539027b0f Added thread primitives 2015-12-17 23:50:11 -05:00
Justin Ethier
da4e7a9d87 Removed debug code 2015-10-20 18:43:02 -04:00
Justin Ethier
a6fc199907 Bugfix in allocating cons cell, cdr was being set to null.
Also updated move2heap code to use 'hp' as the destination object. Using hobj and obj seemed to be asking for trouble.
2015-10-19 22:02:45 -04:00
Justin Ethier
8a31c2ed0f Changed call signature of cyc-er-rename 2015-08-27 22:26:53 -04:00
Justin Ethier
d445b4c85f Relocated environment functions 2015-08-27 21:13:11 -04:00
Justin Ethier
e9c5e873bd Refactoring ER code 2015-08-26 22:49:52 -04:00
Justin Ethier
32bf682db7 Fixed code that expands eval'd macros, general cleanup 2015-08-25 22:50:16 -04:00
Justin Ethier
2c2c5b9da1 Added debug output 2015-08-24 22:59:37 -04:00