Yuichi Nishiwaki
2d5fbc889e
struct pic_string * -> pic_value
2016-02-20 03:26:52 +09:00
Yuichi Nishiwaki
5254e80932
struct pic_proc * -> pic_value
2016-02-20 00:03:16 +09:00
Yuichi Nishiwaki
d965a3da5a
remove macro.h
2016-02-19 16:58:39 +09:00
Yuichi Nishiwaki
4d38e08c98
pic_gc_arena_preserve -> pic_enter
2016-02-19 16:17:13 +09:00
Yuichi Nishiwaki
00e98548d7
remove pair.h
2016-02-19 02:29:40 +09:00
Yuichi Nishiwaki
3198e77ac1
remove symbol.h
2016-02-19 01:05:50 +09:00
Yuichi Nishiwaki
18b873f723
remove proc.h
2016-02-19 00:56:56 +09:00
Yuichi Nishiwaki
ada84f48d6
add some object constructors/destructors
2016-02-18 23:49:16 +09:00
Yuichi Nishiwaki
08652df612
don't include type.h at the beginning of picrin.h
2016-02-18 23:35:55 +09:00
Yuichi Nishiwaki
615bdff61a
add pic_state parameter (to be used by copy gc)
2016-02-18 20:15:42 +09:00
Yuichi Nishiwaki
561c350a12
library is now a non-first-class object
2016-02-18 17:39:32 +09:00
Yuichi Nishiwaki
7816be80c1
pic_lookup_identifier -> pic_find_identifier
2016-02-18 16:38:59 +09:00
Yuichi Nishiwaki
a92e70a610
remove typedefs of struct pic_string and struct pic_blob
2016-02-15 00:20:49 +09:00
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