Commit Graph

2697 Commits

Author SHA1 Message Date
Sunrin SHIMURA (keen) e2f10ba3ad rewrite pic_get_args to check nparams first 2015-02-02 18:30:14 +00:00
Sunrin SHIMURA (keen) 40dc4a0e9c Merge branch 'better-error-message2' of github.com:picrin-scheme/picrin into better-error-message2 2015-01-27 09:44:06 +00:00
Sunrin SHIMURA (keen) df0b61ed92 Merge branch 'master' into better-error-message2 2015-01-27 09:36:15 +00:00
zeptometer 7997af4a07 Merge branch 'master' of github.com:picrin-scheme/picrin 2015-01-26 16:15:24 +09:00
zeptometer dab403a065 fix document 2015-01-26 16:14:59 +09:00
Yuichi Nishiwaki 6afc94c581 Merge pull request #253 from picrin-scheme/syntax-rules-with-escape
use escape instead of call/cc in syntax-rules.scm
2015-01-26 16:13:26 +09:00
zeptometer e49f9836f6 use escape instead of call/cc in syntax-rules.scm 2015-01-26 16:03:34 +09:00
Yuichi Nishiwaki 4c3a9fee18 Merge pull request #252 from picrin-scheme/escape-continuation
make benz's call/cc accessible from picrin
2015-01-26 15:53:54 +09:00
zeptometer 7d772fc904 add document for escape 2015-01-26 15:46:19 +09:00
zeptometer 369bc4c944 add eest for escape 2015-01-26 15:42:46 +09:00
Yuichi Nishiwaki 58f856a3e9 update gitignore 2015-01-26 15:41:38 +09:00
Yuichi Nishiwaki 781f27dd48 remove docs/contrib.rst 2015-01-26 15:41:15 +09:00
Yuichi Nishiwaki b2a539fb69 update error message 2015-01-26 15:25:40 +09:00
zeptometer b29f9440dc Merge branch 'master' of github.com:picrin-scheme/picrin into escape-continuation 2015-01-26 15:14:07 +09:00
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