Commit Graph

16 Commits

Author SHA1 Message Date
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
OGINO Masanori 6a784897a4 Fix a bug due to the operator precedence of C.
The expression ```! pic_length(pic, spec) == 3``` is treated as ```(!
pic_length(pic, spec)) == 3``` since ! has higher precedence than ==.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-09-19 18:28:55 +09:00
Yuichi Nishiwaki 78a982fb41 refactor error object 2014-09-17 00:29:17 +09:00
Yuichi Nishiwaki 1b36b5d2ff update xhash (orderd map) 2014-09-16 22:38:58 +09:00
Yuichi Nishiwaki 8729a98af7 more preinterned symbols 2014-09-16 15:02:47 +09:00
Yuichi Nishiwaki f8ec4ea2e1 remove debug print 2014-09-15 12:34:57 +09:00
Yuichi Nishiwaki fc9f09e05b don't use dictionaries as import_table 2014-09-15 12:32:20 +09:00
Yuichi Nishiwaki 0fe6e3dc7b add pic_import_library 2014-09-14 18:14:23 +09:00
Yuichi Nishiwaki 78b3cb8c6e avoid import error not propagated to the toplevel 2014-09-14 18:06:36 +09:00
Yuichi Nishiwaki a99fb41c63 dict_new -> make_dict 2014-09-12 19:41:20 +09:00
Yuichi Nishiwaki 90d6a3572c diet cond-expand 2014-09-10 02:08:58 +09:00
Yuichi Nishiwaki 57fb1fc2fe initial import of cond-expand from @KeenS's patch 2014-09-10 01:48:20 +09:00
Yuichi Nishiwaki 1e8ab8bf0f s/make_library/open_library/g 2014-09-01 13:07:38 +09:00
Yuichi Nishiwaki 3542ea79ac report errors when import_table raised an error 2014-08-26 13:30:40 +09:00
Yuichi Nishiwaki 582cf626ea refactor import_table 2014-08-26 13:30:34 +09:00
Yuichi Nishiwaki a1281a8e8c first commit 2014-08-25 13:38:09 +09:00