Commit graph

328 commits

Author SHA1 Message Date
Justin Ethier
4e4eff037e WIP - dependency chain 2015-05-22 00:50:44 -04:00
Justin Ethier
c532b8530e WIP - library dependencies 2015-05-21 21:52:14 -04:00
Justin Ethier
e0abc33bea Documenting issues with handling library dependencies 2015-05-20 22:52:36 -04:00
Justin Ethier
8c0ce30c2e Add a global's initialization to the top-level if
it is assigned to another global. EG: (define a b). If b is not initialized until the top-level, then a must be initialized there as well, otherwise it will pick up the old value of b.
2015-05-20 22:39:57 -04:00
Justin Ethier
4e953b64c3 Added eval library 2015-05-20 21:54:17 -04:00
Justin Ethier
03e37a4ead Initial file 2015-05-20 21:54:00 -04:00
Justin Ethier
753c2a9b3b Do not use (string-append) when emitting code 2015-05-21 01:30:54 -04:00
Justin Ethier
28f7085c37 Added a note about (emit*) 2015-05-21 01:23:17 -04:00
Justin Ethier
e93ee2986f Removed completed item 2015-05-21 01:20:50 -04:00
Justin Ethier
36d0485288 Removed debug code 2015-05-21 01:20:27 -04:00
Justin Ethier
2ce058bf12 Call into lib "top-level" for init's 2015-05-21 01:19:39 -04:00
Justin Ethier
a804e048fd Create a function for library inits
This is done at the top-level for programs, but libraries need a dedicated function for it so we can chain inits across multiple libraries on program startup.
2015-05-20 21:21:38 -04:00
Justin Ethier
a99b3d571a Fleshing out TODO for library init 2015-05-19 22:41:35 -04:00
Justin Ethier
e137139b17 Refining library TODO's 2015-05-19 22:06:12 -04:00
Justin Ethier
9c41247c67 Typecheck list parameter of (assoc) 2015-05-19 21:42:46 -04:00
Justin Ethier
55db975bc7 cleanup 2015-05-19 21:32:16 -04:00
Justin Ethier
5c2ea1a903 Export (read) 2015-05-20 01:20:32 -04:00
Justin Ethier
cc22445c2b Staging (scheme read) 2015-05-20 01:09:23 -04:00
Justin Ethier
e0df1843c9 Added notes for cyc-read 2015-05-19 22:17:43 -04:00
Justin Ethier
de729b4ba2 Use base library 2015-05-19 22:16:34 -04:00
Justin Ethier
30e497f79f Initial stub 2015-05-19 21:23:37 -04:00
Justin Ethier
eb33962e1f Updated TODO's 2015-05-18 22:57:53 -04:00
Justin Ethier
1eb8a22995 Set Cyc_global_variables correctly in lib2 2015-05-18 22:38:48 -04:00
Justin Ethier
2e16c27b42 Get hello example to work 2015-05-18 22:22:20 -04:00
Justin Ethier
9b1b833b89 WIP 2015-05-18 22:11:56 -04:00
Justin Ethier
d2049f0f7e Adding code to call into library entry pt's 2015-05-18 18:08:45 -04:00
Justin Ethier
a4a6e7d602 Refactoring 2015-05-18 17:35:58 -04:00
Justin Ethier
2497fa0554 WIP 2015-05-18 14:16:10 -04:00
Justin Ethier
f5d0ff3717 Added notes, working example 2015-05-18 13:42:45 -04:00
Justin Ethier
da54b226e4 WIP 2015-05-18 11:29:29 -04:00
Justin Ethier
eb8bd8001f Build from int-test directory 2015-05-18 10:57:35 -04:00
Justin Ethier
216ab3de25 Relocated file 2015-05-18 10:55:39 -04:00
Justin Ethier
74c08737ee WIP 2015-05-17 10:54:55 -04:00
Justin Ethier
3094f80edf Updated with entry_pt issue 2015-05-17 10:25:51 -04:00
Justin Ethier
7d3b553a2c Added example code 2015-05-17 10:13:31 -04:00
Justin Ethier
e63ac0aeb1 Added TODO's for library hello example 2015-05-15 23:18:51 -04:00
Justin Ethier
2ca2be186d Added missing hello.o 2015-05-15 23:03:31 -04:00
Justin Ethier
8efd063dc6 Added test3 directive 2015-05-15 22:32:54 -04:00
Justin Ethier
0ddbdb5094 WIP 2015-05-15 17:54:51 -04:00
Justin Ethier
e536a13ea7 WIP, libraries not working yet 2015-05-15 14:27:10 -04:00
Justin Ethier
ec05705ae1 Added a note 2015-05-15 14:22:39 -04:00
Justin Ethier
31637d4439 Do not link to the same object more than once 2015-05-15 14:20:26 -04:00
Justin Ethier
97b8e81682 Added (delete) and (delete-duplicates) 2015-05-15 14:20:05 -04:00
Justin Ethier
0c983a6a08 Always create a meaningful top-level list of exprs 2015-05-15 13:03:07 -04:00
Justin Ethier
28bde5821f Removed stale comment 2015-05-15 12:58:16 -04:00
Justin Ethier
bc6d3882ce Get rid of basedir 2015-05-14 22:37:21 -04:00
Justin Ethier
ed08341f1d Support (scheme base) instead of integrated lib 2015-05-14 22:28:45 -04:00
Justin Ethier
7b3dc0b0f3 Emit call/cc for scheme base 2015-05-14 22:19:26 -04:00
Justin Ethier
b03d1461f8 Added exports, include call/cc in export list 2015-05-14 22:19:12 -04:00
Justin Ethier
1ab87e6f9b Added support for library (include) directives 2015-05-14 17:29:42 -04:00