Yuichi Nishiwaki
|
7b8ee3eb97
|
add er-macro-transformer
|
2013-11-27 17:26:07 +09:00 |
Yuichi Nishiwaki
|
7b026fbd0a
|
add sc-macro-transformer/rsc-maro-transformer
|
2013-11-27 17:25:42 +09:00 |
Yuichi Nishiwaki
|
1ab588d21f
|
added hygienic macro facility! Fooo!
|
2013-11-27 15:58:28 +09:00 |
Yuichi Nishiwaki
|
9a027dae6e
|
add error guard
|
2013-11-27 15:57:23 +09:00 |
Yuichi Nishiwaki
|
bedc5dc6be
|
revise output format of syntactic closure object
|
2013-11-27 15:56:29 +09:00 |
Yuichi Nishiwaki
|
ceedd05ef0
|
[bugfix] pic_apply_argv concatenated args in reverse order
|
2013-11-27 15:55:54 +09:00 |
Yuichi Nishiwaki
|
78cafe3db7
|
add make-syntactic-closure function
|
2013-11-27 15:04:44 +09:00 |
Yuichi Nishiwaki
|
ab74920a6f
|
add pic_sc (syntactic closure) structure
|
2013-11-27 15:04:02 +09:00 |
Yuichi Nishiwaki
|
4b2534e2bd
|
Merge branch 'syntactic-closure'
|
2013-11-27 14:26:30 +09:00 |
Yuichi Nishiwaki
|
a7a3bfc270
|
[CSE] add new_global_senv and new_local_senv
|
2013-11-27 14:19:46 +09:00 |
Yuichi Nishiwaki
|
b4218a7a03
|
cosmetic changes
|
2013-11-27 14:00:23 +09:00 |
Yuichi Nishiwaki
|
0f127917e8
|
primitive overridings may cause circular reference at the stage of
variable renaming
|
2013-11-27 13:52:16 +09:00 |
Yuichi Nishiwaki
|
73831283b6
|
cleanup
|
2013-11-27 13:51:24 +09:00 |
Yuichi Nishiwaki
|
c1788d31b0
|
Merge branch 'master' into syntactic-closure
|
2013-11-27 13:06:37 +09:00 |
Yuichi Nishiwaki
|
bbe3e990e4
|
Revert "pluggable heap pages"
This reverts commit e6523730a4 .
|
2013-11-27 13:04:12 +09:00 |
Yuichi Nishiwaki
|
5e3f2dacf4
|
Revert "add_heap_page should not be invoked in gc_alloc, but should be in obj_alloc"
This reverts commit f11623f075 .
|
2013-11-27 13:04:03 +09:00 |
Yuichi Nishiwaki
|
94aac37443
|
macros must be added to var_tbl
|
2013-11-26 17:43:59 -08:00 |
Yuichi Nishiwaki
|
d2af692280
|
add a fixme comment
|
2013-11-26 17:43:49 -08:00 |
Yuichi Nishiwaki
|
d7f8d67bf2
|
debug-print when unbound symbol is found
|
2013-11-26 16:52:30 -08:00 |
Yuichi Nishiwaki
|
38ab43d7fc
|
[bugfix] binding leak
|
2013-11-26 16:51:48 -08:00 |
Yuichi Nishiwaki
|
3710d5feea
|
support varg lambda
|
2013-11-26 16:51:17 -08:00 |
Yuichi Nishiwaki
|
b2704fb123
|
increment xlen in the end
|
2013-11-26 16:50:38 -08:00 |
Yuichi Nishiwaki
|
c336a354e4
|
publish pic_defmacro as a public API
|
2013-11-26 09:09:15 -08:00 |
Yuichi Nishiwaki
|
2dee30a0b5
|
macroexpand_list supports improper list
|
2013-11-26 09:07:57 -08:00 |
Yuichi Nishiwaki
|
43d449d2aa
|
s/define_macro/pic_defmacro/g
|
2013-11-26 09:07:06 -08:00 |
Yuichi Nishiwaki
|
cbd636e0a7
|
[bugfix] do not release pic->var_tbl when a senv holding it is dead
|
2013-11-26 09:00:16 -08:00 |
Yuichi Nishiwaki
|
e7673c65bd
|
[bugfix] syntaces should be registered to var_tbl, not global_tbl
|
2013-11-26 08:59:16 -08:00 |
Yuichi Nishiwaki
|
be311cb96f
|
replace old macroexpand facility with new renamer implementation
|
2013-11-26 08:43:58 -08:00 |
Yuichi Nishiwaki
|
1f3f7c99a2
|
save macro procesures in each syntax object
|
2013-11-26 08:42:13 -08:00 |
Yuichi Nishiwaki
|
3d1f74d8f5
|
add 'define-macro' core syntax
|
2013-11-26 08:41:01 -08:00 |
Yuichi Nishiwaki
|
ddbc2c83a2
|
add missing core symbol registration
|
2013-11-26 08:39:37 -08:00 |
Yuichi Nishiwaki
|
3009473d52
|
debug prints for macroexpand
|
2013-11-26 08:38:26 -08:00 |
Yuichi Nishiwaki
|
f6bc51d16d
|
add xlen/xcapa member to pic_senv
|
2013-11-26 08:36:58 -08:00 |
Yuichi Nishiwaki
|
a32473ae92
|
add core syntaces in pic_open
|
2013-11-26 08:35:35 -08:00 |
Yuichi Nishiwaki
|
a2e1f21b29
|
add global identifier table
|
2013-11-26 08:30:30 -08:00 |
Yuichi Nishiwaki
|
ce3e2b939c
|
[xhash] cleanpu
|
2013-11-26 08:23:58 -08:00 |
Yuichi Nishiwaki
|
bfa8b84b0e
|
[xhash] use strdup if possible
|
2013-11-26 08:23:45 -08:00 |
Yuichi Nishiwaki
|
673b66a723
|
use register_core_symbol macro to initialize pic_state
|
2013-11-26 06:40:48 -08:00 |
Yuichi Nishiwaki
|
ad3c268f81
|
insert renamer pass after old macroexpansion phase
|
2013-11-26 04:08:46 -08:00 |
Yuichi Nishiwaki
|
1ad562f1a8
|
[wip] add renamer
|
2013-11-26 04:06:46 -08:00 |
Yuichi Nishiwaki
|
573ba79782
|
[bugfix] log10 must not be given 0
|
2013-11-26 04:06:03 -08:00 |
Yuichi Nishiwaki
|
b7f0f3dfb3
|
[bugfix] get rid of a comma
|
2013-11-26 04:05:37 -08:00 |
Yuichi Nishiwaki
|
c59d8f601b
|
add PIC_TT_SENV and PIC_TT_SYNTAX
|
2013-11-26 04:05:02 -08:00 |
Yuichi Nishiwaki
|
3c65025394
|
add macro.h
|
2013-11-26 04:03:52 -08:00 |
Yuichi Nishiwaki
|
bf6a337a5f
|
add pic_cxxr functions
|
2013-11-26 02:42:13 -08:00 |
Yuichi Nishiwaki
|
72cf45d4ea
|
add `new_uniq_sym` function
|
2013-11-25 23:38:39 -08:00 |
Yuichi Nishiwaki
|
4701f86ff0
|
fix a grammar error
|
2013-11-26 16:22:49 +09:00 |
Yuichi Nishiwaki
|
52f1776b22
|
cleanup
|
2013-11-25 11:10:57 +09:00 |
Yuichi Nishiwaki
|
f11623f075
|
add_heap_page should not be invoked in gc_alloc, but should be in obj_alloc
|
2013-11-25 00:24:03 +09:00 |
Yuichi Nishiwaki
|
df20de5285
|
push back dead objects to free list
|
2013-11-25 00:22:32 +09:00 |