Commit Graph

2983 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 9417b45005 [bugfix] pic_load_point must store escape->results 2015-01-26 15:10:26 +09:00
zeptometer 4972de640f rename benz's call/cc to escape in (picrin control) 2015-01-26 15:03:04 +09:00
Yuichi Nishiwaki 303041abc5 fix degade 2015-01-26 14:33:48 +09:00
Yuichi Nishiwaki 336fc21761 merge init.c into state.c 2015-01-26 14:31:36 +09:00
Yuichi Nishiwaki f96579805c reserve square brackets 2015-01-26 12:29:29 +09:00
Yuichi Nishiwaki 684cbc54d4 Merge branch 'c89-porting' 2015-01-26 12:25:03 +09:00
Yuichi Nishiwaki 1e8f49872e s/pic_noreturn/PIC_NORETURN/g 2015-01-26 12:22:38 +09:00
Yuichi Nishiwaki d390fc44ca add PIC_INLINE macro 2015-01-26 12:20:32 +09:00
Yuichi Nishiwaki 343d2e542e Merge branch 'c89-porting' 2015-01-26 11:44:41 +09:00
Yuichi Nishiwaki 6bdfac4ec0 don't declare variables in middle of block 2015-01-26 11:42:24 +09:00
Yuichi Nishiwaki 15ce163782 enable -O0 switch on debug mode 2015-01-25 20:44:36 +09:00
Yuichi Nishiwaki f7d506cd35 xvect.h is now based on kvec.h 2015-01-25 20:44:36 +09:00
Yuichi Nishiwaki 9af074d803 remove trailing commas 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
Yuichi Nishiwaki 1b637d1763 refactor pic_deflibrary macro. don't declare variables in for statements 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
Sunrin SHIMURA (keen) ec87adb90b add test against #250 2015-01-23 07:46:05 +00:00
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
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 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