Yuichi Nishiwaki
1417513805
remove trailing comma
2015-01-22 17:34:23 +09:00
Yuichi Nishiwaki
3d1098967c
use pic_alloc/pic_free in initializing struct pic_reader
2015-01-22 17:18:38 +09:00
Yuichi Nishiwaki
42cc5042f3
use pic_alloc/pic_free in initializing struct pic_heap
2015-01-22 17:08:41 +09:00
Yuichi Nishiwaki
8c67ad863b
stop using trie tree-based reader table
2015-01-22 16:53:11 +09:00
Yuichi Nishiwaki
1ff8672a11
add PIC_SYMS_SIZE constant
2015-01-21 21:59:50 +09:00
Yuichi Nishiwaki
e67996f8af
Merge pull request #248 from picrin-scheme/symbol-gc3
...
symbol gc
2015-01-20 20:07:28 +09:00
Yuichi Nishiwaki
06c998e0b2
add symbol gc
2015-01-20 17:50:31 +09:00
Yuichi Nishiwaki
0c88249aa6
Merge commit '5b7f5ad1f9b6a2e0e22bda75022d2eafc49f01b4'
2015-01-20 17:44:06 +09:00
Yuichi Nishiwaki
5b7f5ad1f9
Squashed 'extlib/benz/' changes from 414f790..057b5f2
...
057b5f2 Merge pull request #245 from picrin-scheme/heap-symbol
c91f6cd [bugfix] build failure in debug mode
b1849c4 pic_sym is not a pointer
e353b07 s/pic_sym/pic_sym_ptr/g
a11fb91 [bugfix] irep->name is missed to mark
1820a25 [bugfix] wrong type specified for cxt->syms
b8d2b8e better error messages against invalid use of auxiliary syntax
d9ade33 mark only interned symbols and some specisl uninterned symbols
da2217b move symbol constants to pic_state
78b035b [bugfix] pic_intern must count up reference of the return value
bbdc663 rename internal object
ba01821 s/SYMBOL_P/SYMBOLP/g, s/PAIR_P/PAIRP/g
1af32d1 improve error message
dd09fbf don't malloc in pic_interned_p
7f51070 turn on GC
7460e81 add gc on/off flag
f3742db move symbol-related macros to symbol.h
ded6759 remove pic_sym_value
ec97d07 remove pic_symbol_value
28bd059 heap symbol seems working (with GC stopped)
e0d6fe9 change pic_intern interface
6750693 remove pic_ungensym
4ea7d3c add irep->syms
ede7a99 use dictionary for senv->map
b3cb50c use dictionaries for temporary import table
fc698b5 use dictionary for rec->data
1b814d4 use dictionary for lib->exports
7ae1af4 use dictionaries for pic->globals and pic->macros
74f9979 remove 'struct pic_macro'. define-syntax spec is changed.
86136c5 some procedures are moved to contrib/
da99761 gather all includes of standard headers into picrin.h
7df8d77 add dictionary-map and dictionary-for-each
b625ff8 revert 48f0ec90
. dicitonary is now symbol-to-object structure
f7657d7 [prepare] dictionary is to be changed to have only symbols for its keys
git-subtree-dir: extlib/benz
git-subtree-split: 057b5f29110ab3f75513573d291ea18acb782357
2015-01-20 17:44:06 +09:00
Yuichi Nishiwaki
129bae29f2
Merge pull request #245 from picrin-scheme/heap-symbol
...
Let symbols to be allocated in heap
2015-01-20 17:42:01 +09:00
Yuichi Nishiwaki
1270787344
[bugfix] build failure in debug mode
2015-01-20 16:02:44 +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
c5f711ddd6
[bugfix] irep->name is missed to mark
2015-01-20 02:51:51 +09:00
Yuichi Nishiwaki
914242a531
[bugfix] wrong type specified for cxt->syms
2015-01-20 02:51:10 +09:00
Yuichi Nishiwaki
9d2ed448fe
Merge pull request #244 from picrin-scheme/better-error-message
...
better error messages against invalid use of auxiliary syntax
2015-01-19 16:21:54 +09:00
Sunrin SHIMURA (keen)
6dbf52812d
better error messages against invalid use of auxiliary syntax
2015-01-19 06:02:39 +00:00
Yuichi Nishiwaki
7964c4f5bb
mark only interned symbols and some specisl uninterned symbols
2015-01-19 14:41:27 +09:00
Yuichi Nishiwaki
b9df96499d
move symbol constants to pic_state
2015-01-19 14:37:47 +09:00
Yuichi Nishiwaki
772a5ceae5
[bugfix] pic_intern must count up reference of the return value
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
3b3032ee55
don't malloc in pic_interned_p
2015-01-19 13:12:04 +09:00
Yuichi Nishiwaki
ca69048513
turn on GC
2015-01-19 12:14:46 +09:00
Yuichi Nishiwaki
ccc7a2beed
add gc on/off flag
2015-01-19 12:14:29 +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
4be979b1df
change pic_intern interface
2015-01-19 02:21:10 +09:00
Yuichi Nishiwaki
09cb576a3b
remove pic_ungensym
2015-01-19 01:55:39 +09:00
Yuichi Nishiwaki
1b510e982e
add irep->syms
2015-01-19 01:29:00 +09:00
Yuichi Nishiwaki
cabae2767b
use dictionary for senv->map
2015-01-18 21:58:40 +09:00
Yuichi Nishiwaki
c1bba1ec83
use dictionaries for temporary import table
2015-01-18 21:55:17 +09:00
Yuichi Nishiwaki
14a93ccf0f
use dictionary for rec->data
2015-01-18 21:40:14 +09:00
Yuichi Nishiwaki
c86e97094d
use dictionary for lib->exports
2015-01-18 21:35:57 +09:00
Yuichi Nishiwaki
9209722a5b
use dictionaries for pic->globals and pic->macros
2015-01-18 21:25:34 +09:00
Yuichi Nishiwaki
5e3bd1e037
Merge pull request #243 from picrin-scheme/better-error-message
...
Improve error message for record accessor and setter
2015-01-18 20:45:47 +09:00
Sunrin SHIMURA (keen)
a0a35d189f
improve error message for record accessor and setter
2015-01-18 11:39:04 +00:00
Yuichi Nishiwaki
a3db19c1bf
remove 'struct pic_macro'. define-syntax spec is changed.
2015-01-18 15:49:28 +09:00
Sunrin SHIMURA (keen)
592af901e2
update profiling build script
2015-01-18 04:10:57 +00:00
Yuichi Nishiwaki
f2eb51e53d
some procedures are moved to contrib/
...
system related procedures are moved to contrib/
file related procedures are moved to contrib/
load related procedures are moved to conrib/
2015-01-18 01:03:29 +09:00
Yuichi Nishiwaki
4cc423d815
gather all includes of standard headers into picrin.h
2015-01-18 00:17:37 +09:00
Yuichi Nishiwaki
0477e7308b
update docs
2015-01-17 23:36:17 +09:00
Yuichi Nishiwaki
cbed7c4ba5
add dictionary-map and dictionary-for-each
2015-01-17 23:26:35 +09:00
Yuichi Nishiwaki
6968c85282
revert 48f0ec90
. dicitonary is now symbol-to-object structure
2015-01-17 21:03:08 +09:00
Yuichi Nishiwaki
3e9da6d3e3
[prepare] dictionary is to be changed to have only symbols for its keys
2015-01-17 21:01:13 +09:00
Yuichi Nishiwaki
536d59c7d4
Squashed 'extlib/benz/' changes from 569b1ac..414f790
...
414f790 Merge pull request #54 from KeenS/add-ops
f0ffe28 Merge pull request #53 from KeenS/compact-gc-header
17e1ad1
Merge pull request #233 from KeenS/restore-config
311fb62
optimize `equal?`. Don't initialize xhash until it is really needed.
c611258
safer names for utility macros
e7dc381
Merge commit '2440372c16fd1e479ad8aa346f6006dbf795a74c' into restore-config
99de906 rm miscommitted file
b85a3b7 (ref #50 ) add OP_SYMBOL_P and OP_PAIR_P
8048008 reduce gc header alignment for performance (both speed and space)
git-subtree-dir: extlib/benz
git-subtree-split: 414f790eef76a6a48e8100a162f6fdc8648e7513
2015-01-17 18:36:23 +09:00
Yuichi Nishiwaki
2652d9724d
Merge commit '536d59c7d4799208aed63309556d86bb92521470'
2015-01-17 18:36:23 +09:00