Yuichi Nishiwaki
e8a6f64dd5
remove pic_applyk
2016-02-14 13:46:55 +09:00
Yuichi Nishiwaki
b577b2d453
reg -> weak
2016-02-10 21:50:39 +09:00
Yuichi Nishiwaki
c7f8293368
add pic_intern_(str|cstr|lit)
2016-02-08 04:10:22 +09:00
Yuichi Nishiwaki
7a128aab3b
fix #314
2016-02-07 04:23:46 +09:00
Yuichi Nishiwaki
2c09114cf3
move the expander to macro.c
2016-02-07 00:07:29 +09:00
Yuichi Nishiwaki
e51d3db812
symbol is an identifier
2016-02-06 23:15:53 +09:00
Yuichi Nishiwaki
0fd529c968
change mangling rule for global variables
2016-02-06 04:07:37 +09:00
Yuichi Nishiwaki
0499b5ffb0
move pic_resolve to macro.c
2016-02-05 21:01:36 +09:00
Yuichi Nishiwaki
6f3083c3ca
never use size_t
2015-08-26 19:04:27 +09:00
Yuichi Nishiwaki
71d1d4837d
pic_intern_cstr -> pic_intern
2015-07-13 08:16:04 +09:00
Yuichi Nishiwaki
5cbb44d6b8
use khash for env
2015-06-25 07:26:48 +09:00
Yuichi Nishiwaki
7dd0e01b70
support (equal? identifier1 identifier2)
2015-06-16 21:13:41 +09:00
Yuichi Nishiwaki
cf66d600bb
move macroexpander to codegen.c
2015-06-16 21:01:46 +09:00
Yuichi Nishiwaki
85e8d1511b
remove defer property from pic_env
...
explicitly pass deferred lambda list to expand functions
2015-06-16 20:57:18 +09:00
Yuichi Nishiwaki
2e5b66fabd
s/macroexpand/expand/g
2015-06-16 20:27:58 +09:00
Yuichi Nishiwaki
84a3eaee35
change eval interface: eval takes an expression and an environment
...
macroexpand should be done in the context in which the expansion is
running. As of now I only changed c interface of eval but should change
the scheme interface as well ASAP.
2015-06-16 19:16:06 +09:00
Yuichi Nishiwaki
25c0eb125e
add identifier-variable and identifier-environment
2015-06-15 02:52:37 +09:00
Yuichi Nishiwaki
6d80b58060
assume all symbols are bound at the toplevel
2015-06-15 02:52:36 +09:00
Yuichi Nishiwaki
3a59a95960
[WIP] replace macro expander
...
remove define-syntax, add define-macro instead
saner display when writing identifiers
2015-06-15 02:48:31 +09:00
Yuichi Nishiwaki
454146ab52
s/rXXX/uXXX/g
2015-06-15 02:30:05 +09:00
Yuichi Nishiwaki
98857c0726
change pic_find_rename interface
2015-06-09 22:26:21 +09:00
Yuichi Nishiwaki
30cbdd5c4f
cleanup macro.h
2015-06-09 20:20:56 +09:00
Yuichi Nishiwaki
5185a73cd2
replace none with undef
2015-06-09 16:34:45 +09:00
Yuichi Nishiwaki
77d3b0b41e
Revert "remove in-library"
...
This reverts commit 8604e18719
.
2015-06-06 13:48:31 +09:00
Yuichi Nishiwaki
8604e18719
remove in-library
2015-06-04 14:17:37 +09:00
Yuichi Nishiwaki
599d8f5980
pic_senv -> pic_env
2015-05-30 22:39:03 +09:00
Yuichi Nishiwaki
9b7eb2f996
unify all headers into picrin.h
2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki
e3833eb039
change pic_for_each interface
2015-01-25 20:44:35 +09:00
Yuichi Nishiwaki
6e6e1de7a5
pic_sym is not a pointer
2015-01-20 16:02:28 +09:00
Yuichi Nishiwaki
2d1ddb9a5a
s/pic_sym/pic_sym_ptr/g
2015-01-20 15:31:17 +09:00
Yuichi Nishiwaki
3fc49b59be
move symbol-related macros to symbol.h
2015-01-19 11:11:19 +09:00
Yuichi Nishiwaki
fa1b681eba
remove pic_sym_value
2015-01-19 11:08:27 +09:00
Yuichi Nishiwaki
cabae2767b
use dictionary for senv->map
2015-01-18 21:58:40 +09:00
Yuichi Nishiwaki
9209722a5b
use dictionaries for pic->globals and pic->macros
2015-01-18 21:25:34 +09:00
Yuichi Nishiwaki
a3db19c1bf
remove 'struct pic_macro'. define-syntax spec is changed.
2015-01-18 15:49:28 +09:00
Yuichi Nishiwaki
9303fcf34b
safer names for utility macros
2015-01-07 13:11:48 -08:00
Sunrin SHIMURA (keen)
814425508f
Add 'extlib/benz/' from commit '569b1ace02e6a066b21f94dff23c4e01b8748bf0'
...
git-subtree-dir: extlib/benz
git-subtree-mainline: 3c3d9f4c27
git-subtree-split: 569b1ace02
2015-01-03 06:31:37 +00:00