Yuichi Nishiwaki
ac094a9477
cosmetic changes
2015-06-27 16:33:31 +09:00
Yuichi Nishiwaki
df645b68ae
more optimization
2015-06-27 15:59:22 +09:00
Yuichi Nishiwaki
03792f85de
fast compile
2015-06-27 15:30:17 +09:00
Yuichi Nishiwaki
4a8e59e04b
don't run malloc while anazlyze/codegen
2015-06-27 14:23:31 +09:00
Yuichi Nishiwaki
5cbb44d6b8
use khash for env
2015-06-25 07:26:48 +09:00
Yuichi Nishiwaki
d500dd5d76
don't use xhash in codegen
2015-06-25 07:19:11 +09:00
Yuichi Nishiwaki
5cf1822813
use khash for dictionary impl
2015-06-25 05:56:15 +09:00
Yuichi Nishiwaki
f0434a8b37
abandon xvect.h, move on to kvec.h
2015-06-23 22:08:18 +09:00
Yuichi Nishiwaki
aa79797334
fix #234
2015-06-22 17:41:17 +09:00
Yuichi Nishiwaki
535cd0c21e
don't reformat error message because it removes trace info
2015-06-20 02:32:25 +09:00
Yuichi Nishiwaki
7ec81ab1d5
add pic_resolve
2015-06-19 17:31:47 +09:00
Yuichi Nishiwaki
62b7c1a0f9
warn macro redefinition only when transformer object slot is being overwritten
2015-06-17 00:11:02 +09:00
Yuichi Nishiwaki
cf66d600bb
move macroexpander to codegen.c
2015-06-16 21:01:46 +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
454146ab52
s/rXXX/uXXX/g
2015-06-15 02:30:05 +09:00
Yuichi Nishiwaki
5185a73cd2
replace none with undef
2015-06-09 16:34:45 +09:00
Yuichi Nishiwaki
531187bb2a
speed up bytecode compilation
2015-06-04 13:53:41 +09:00
Yuichi Nishiwaki
9b7eb2f996
unify all headers into picrin.h
2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki
6a692541a6
s/pic_alloc/pic_malloc/g
2015-05-28 16:42:16 +09:00
Yuichi Nishiwaki
278075910a
custom allocator and custom abort
2015-05-28 02:12:26 +09:00
Yuichi Nishiwaki
7dcd050e1a
add PIC_ENABLE_FLOAT and PIC_WORD_BOXING
2015-05-28 01:48:38 +09:00
Yuichi Nishiwaki
bb55bbfdde
[bugfix] codegen causes segv when default irep size is short
2015-05-28 00:21:49 +09:00
Yuichi Nishiwaki
7923f947d7
don't use xstd** from benz
2015-05-28 00:14:10 +09:00
Sunrin SHIMURA (keen)
9571030f7e
Merge branch 'master' into better-error-message2
...
Conflicts:
extlib/benz/vm.c
2015-02-02 18:32:20 +00:00
Sunrin SHIMURA (keen)
8a7f61bf01
use correct vars
2015-02-01 12:25:48 +00:00
Sunrin SHIMURA (keen)
df0b61ed92
Merge branch 'master' into better-error-message2
2015-01-27 09:36:15 +00:00
Yuichi Nishiwaki
f7d506cd35
xvect.h is now based on kvec.h
2015-01-25 20:44:36 +09:00
Yuichi Nishiwaki
499b68c835
change pic_dict_for_each interface
2015-01-25 20:44:35 +09:00
Yuichi Nishiwaki
e3833eb039
change pic_for_each interface
2015-01-25 20:44:35 +09:00
Sunrin SHIMURA (keen)
6ee0fd2852
change error message according to discussion
2015-01-25 06:37:09 +00:00
Yuichi Nishiwaki
1ff8672a11
add PIC_SYMS_SIZE constant
2015-01-21 21:59:50 +09:00
Sunrin SHIMURA (keen)
794ab892c5
show callee, expected argc and actual argc
2015-01-20 15:00:41 +00:00
Sunrin SHIMURA (keen)
fd762b8edd
improve erroro message for call-with-values
2015-01-20 14:57:59 +00:00
Sunrin SHIMURA (keen)
f783640240
improve error message for arith op
2015-01-20 14:57:59 +00: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
914242a531
[bugfix] wrong type specified for cxt->syms
2015-01-20 02:51:10 +09:00
Yuichi Nishiwaki
b9df96499d
move symbol constants to pic_state
2015-01-19 14:37:47 +09:00
Yuichi Nishiwaki
44ff702e60
rename internal object
2015-01-19 14:37:46 +09:00
Yuichi Nishiwaki
ffa27e4b11
s/SYMBOL_P/SYMBOLP/g, s/PAIR_P/PAIRP/g
2015-01-19 14:37:46 +09:00
Yuichi Nishiwaki
ce3cf1741d
improve error message
2015-01-19 14:37:46 +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
f349e4148e
remove pic_symbol_value
2015-01-19 11:02:22 +09:00
Yuichi Nishiwaki
fc654dd280
heap symbol seems working (with GC stopped)
2015-01-19 11:00:23 +09:00
Yuichi Nishiwaki
1b510e982e
add irep->syms
2015-01-19 01:29:00 +09:00
Yuichi Nishiwaki
9209722a5b
use dictionaries for pic->globals and pic->macros
2015-01-18 21:25:34 +09:00
Yuichi Nishiwaki
2652d9724d
Merge commit '536d59c7d4799208aed63309556d86bb92521470'
2015-01-17 18:36:23 +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