Sunrim KIM (keen)
|
ae217ae046
|
Merge branch 'master' into equal
Conflicts:
src/bool.c
|
2014-07-18 00:55:02 +09:00 |
Sunrim KIM (keen)
|
b373ec433b
|
ensure to correctly terminate hex string with non-hex char(';')
|
2014-07-17 22:23:06 +09:00 |
Sunrim KIM (keen)
|
fe30beadf1
|
Ignore shebang only when it's at the first line and allow reader directives at other places whlile ignores them for now
|
2014-07-17 21:53:41 +09:00 |
Sunrim KIM (keen)
|
295d7fde31
|
allow pipe syntax
|
2014-07-17 21:52:15 +09:00 |
Sunrim KIM (keen)
|
01b086fb61
|
fix a bug of `string-copy!` with same dist and src
|
2014-07-17 20:47:13 +09:00 |
Yuichi Nishiwaki
|
2758c55e3e
|
remove box.h include
|
2014-07-17 16:41:00 +09:00 |
Yuichi Nishiwaki
|
32174d7855
|
remove box
|
2014-07-17 16:38:18 +09:00 |
Yuichi Nishiwaki
|
c601dbf27e
|
rename pic_proc_cv_ref to pic_attr_ref
|
2014-07-17 16:31:26 +09:00 |
Yuichi Nishiwaki
|
4714df48f0
|
s/pic_proc_attr/pic_attr/g
|
2014-07-17 16:28:36 +09:00 |
Yuichi Nishiwaki
|
cb3c4e8e22
|
remove use of pic_proc_cv_init
|
2014-07-17 16:26:15 +09:00 |
Yuichi Nishiwaki
|
f46114ca03
|
[experimental] use attributes for cv implementation
|
2014-07-17 16:24:48 +09:00 |
Yuichi Nishiwaki
|
98bb47dfb6
|
remove pic_papply
|
2014-07-17 16:24:47 +09:00 |
Yuichi Nishiwaki
|
0fb9e18735
|
cxt objects are no longer used
|
2014-07-17 16:14:14 +09:00 |
Yuichi Nishiwaki
|
6104a69e2b
|
generate identifier for unbound symbol in context-free
|
2014-07-17 16:10:38 +09:00 |
Yuichi Nishiwaki
|
6cc37281d6
|
remove pic_tt_sc type
|
2014-07-17 13:59:21 +09:00 |
Yuichi Nishiwaki
|
8781b9a6aa
|
publish pic_identifier_p and pic_identifier_eq_p
|
2014-07-17 13:58:45 +09:00 |
Yuichi Nishiwaki
|
bb9be2c628
|
remove c impl of make-syntactic-closure
|
2014-07-17 13:45:09 +09:00 |
Yuichi Nishiwaki
|
f4d68d691b
|
remove c impls of ir/er macros
|
2014-07-17 13:44:18 +09:00 |
Yuichi Nishiwaki
|
378b5bb6a8
|
dictionary-has? was missing
|
2014-07-17 11:30:58 +09:00 |
Yuichi Nishiwaki
|
b68813823f
|
improve pic_get_args error message
|
2014-07-17 11:30:44 +09:00 |
Yuichi Nishiwaki
|
9e7b4da56c
|
add make-identifier function
|
2014-07-17 10:21:00 +09:00 |
Yuichi Nishiwaki
|
2b16aaded2
|
s/translate/make_identifier/g
|
2014-07-17 10:16:17 +09:00 |
Yuichi Nishiwaki
|
40897e6351
|
support character literal
|
2014-07-16 16:12:25 +09:00 |
Yuichi Nishiwaki
|
6ee4d49a96
|
Macro-generating macro may rename symbol that will be used as a newly
introduced identifier
|
2014-07-16 14:46:30 +09:00 |
Yuichi Nishiwaki
|
f02bac1d88
|
register function name to lambdas like (define foo (lambda ...))
|
2014-07-15 20:57:35 +09:00 |
Yuichi Nishiwaki
|
d85801e396
|
rational number literal reads exact integer if possible
|
2014-07-15 17:58:46 +09:00 |
Yuichi Nishiwaki
|
bb427cf275
|
style fix
|
2014-07-15 13:42:19 +09:00 |
Yuichi Nishiwaki
|
5faa7cd46d
|
leave core syntax keywords renamed
|
2014-07-14 10:08:11 +09:00 |
Yuichi Nishiwaki
|
6c45bb3c5d
|
support let-syntax
|
2014-07-13 22:36:30 +09:00 |
Yuichi Nishiwaki
|
730cfc8601
|
refactor macroexpand_lambda
|
2014-07-13 21:05:57 +09:00 |
Yuichi Nishiwaki
|
1989a972cb
|
refactor macroexpand_define. make use of macroexpand_lambda function
|
2014-07-13 21:01:30 +09:00 |
Yuichi Nishiwaki
|
e08ec23a9f
|
s/formals/formal/g
|
2014-07-13 20:39:34 +09:00 |
Yuichi Nishiwaki
|
6cf4fe942a
|
rewrite iteration with recursion. since we have variable-length arena
now, it is no longer required to avoid big arena consumption.
|
2014-07-13 20:32:26 +09:00 |
Yuichi Nishiwaki
|
c57f8a5016
|
add pic_void macro
|
2014-07-13 20:20:04 +09:00 |
Yuichi Nishiwaki
|
631926aa96
|
function reorder
|
2014-07-13 20:19:45 +09:00 |
Yuichi Nishiwaki
|
6d20c0e3e0
|
cosmetic changes again
|
2014-07-13 20:09:42 +09:00 |
Yuichi Nishiwaki
|
601b54ba1f
|
cosmetic changes
|
2014-07-13 20:06:08 +09:00 |
Yuichi Nishiwaki
|
e1cba4b48e
|
refactor translate to use pic_dict instead of boxes
|
2014-07-13 20:01:09 +09:00 |
Yuichi Nishiwaki
|
54d50d57a1
|
add pic_dict_has
|
2014-07-13 19:49:24 +09:00 |
Yuichi Nishiwaki
|
73c406ed42
|
add translate function
|
2014-07-13 19:49:24 +09:00 |
Yuichi Nishiwaki
|
9e5b019e44
|
add dictionary-for-each
|
2014-07-13 12:27:03 +09:00 |
Yuichi Nishiwaki
|
88593b1f9d
|
rename 'dictionary' 'make-dictionary'
|
2014-07-13 12:07:56 +09:00 |
Yuichi Nishiwaki
|
b0474aaec2
|
add dictionary operators
|
2014-07-13 12:07:07 +09:00 |
Yuichi Nishiwaki
|
2c4fd589bf
|
manage values in a stack
|
2014-07-13 11:07:43 +09:00 |
Yuichi Nishiwaki
|
9e8d53088f
|
add pic_set_c[ad]r
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
7ffcbb7a7d
|
refactor var. c api no longer supports converters.
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
c3106a9608
|
improve error message
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
114e445901
|
get rid of doubled semicolons
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
05309a1d38
|
don't use pic_defvar
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
fe375a7224
|
add pic_funcall
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
13fec26c59
|
remove var accessor and mutators
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
fce57ec8c9
|
remove get_var_from_proc (essentially the same as pic_unwrap_var)
|
2014-07-13 11:07:42 +09:00 |
Yuichi Nishiwaki
|
378f01fa03
|
add attribute function
|
2014-07-13 11:01:23 +09:00 |
Yuichi Nishiwaki
|
56ae4de826
|
add attribute information to closure objects
|
2014-07-13 10:58:21 +09:00 |
Yuichi Nishiwaki
|
82de3cfe2f
|
add pic_dict_new
|
2014-07-13 10:58:13 +09:00 |
Yuichi Nishiwaki
|
7aa17f5d1f
|
read rational '123/456' literal
|
2014-07-11 22:44:44 +09:00 |
Yuichi Nishiwaki
|
6614f8fc4f
|
support #true and #false literals
|
2014-07-04 13:44:30 +09:00 |
Yuichi Nishiwaki
|
d810e42666
|
throw READ_ERROR when parser raised
|
2014-07-04 13:32:54 +09:00 |
Yuichi Nishiwaki
|
1402a97354
|
change pic_throw API
|
2014-07-04 13:32:45 +09:00 |
Yuichi Nishiwaki
|
69c0e702c6
|
remove useless fflush
|
2014-06-29 16:22:22 +09:00 |
Yuichi Nishiwaki
|
a6ac56d311
|
rewrite `include` macro with scheme
|
2014-06-29 15:08:23 +09:00 |
Sunrim KIM (keen)
|
8d9b7e9bf3
|
ensure flush contents into the port made in `open-input-bytevector`
|
2014-06-29 13:46:46 +09:00 |
Yuichi Nishiwaki
|
fdbd7bd2c9
|
[bugfix] glibc's getenv function does not igrore trailing '='
|
2014-06-29 01:06:07 +09:00 |
Yuichi Nishiwaki
|
89506d0ced
|
[bugfix] allocate size was inefficient
|
2014-06-29 00:54:20 +09:00 |
Yuichi Nishiwaki
|
690e2cdba6
|
refactor number parser
|
2014-06-28 22:32:26 +09:00 |
Yuichi Nishiwaki
|
4fd99b5955
|
[bugfix] return value from pic_get_args does not include proc object
|
2014-06-28 21:53:14 +09:00 |
Yuichi Nishiwaki
|
76220e1e8e
|
infinity is not rational
|
2014-06-28 21:43:44 +09:00 |
Yuichi Nishiwaki
|
5d3c59fc98
|
reads number as accurate as possible
|
2014-06-28 21:41:35 +09:00 |
Yuichi Nishiwaki
|
c44803d238
|
[bugfix] using uninitializing variable
|
2014-06-28 20:45:41 +09:00 |
Yuichi Nishiwaki
|
39b1e6c6bc
|
[bugfix] comparator transitivity broken
|
2014-06-28 20:30:19 +09:00 |
Yuichi Nishiwaki
|
c5400b4b2d
|
support more than 2 argument-comparators
|
2014-06-28 20:29:49 +09:00 |
Yuichi Nishiwaki
|
4772441589
|
allow "(a . b #;c )"
|
2014-06-28 20:02:13 +09:00 |
Yuichi Nishiwaki
|
aae4bba98d
|
[bugfix] wrong size for read string
|
2014-06-28 19:47:45 +09:00 |
Yuichi Nishiwaki
|
5ba0402221
|
fix type warning (int and size_t)
|
2014-06-28 19:23:24 +09:00 |
Yuichi Nishiwaki
|
2fb97d16ed
|
style fix
|
2014-06-28 19:23:06 +09:00 |
Sunrim KIM (keen)
|
49a4808a22
|
check length before compare contents
|
2014-06-28 19:18:35 +09:00 |
Sunrim KIM (keen)
|
8533876682
|
vectors, blobs, strings with equal contets are equal
|
2014-06-28 19:17:42 +09:00 |
Yuichi Nishiwaki
|
3ee807a347
|
fix xr_put
|
2014-06-27 17:40:43 +09:00 |
Yuichi Nishiwaki
|
39a87d1c60
|
Merge pull request #131 from KeenS/missing-functions
( ref #130 ) Missing functions
|
2014-06-27 09:03:50 +09:00 |
Yuichi Nishiwaki
|
51b8344527
|
support infinity and nan literals
|
2014-06-27 08:55:02 +09:00 |
Yuichi Nishiwaki
|
36e0aa6f69
|
[bugfix] compound literals should consider inner comments
|
2014-06-27 08:55:02 +09:00 |
Yuichi Nishiwaki
|
e1ca64b56e
|
block comment reader must not consume the character right after the
comment end
|
2014-06-27 08:55:02 +09:00 |
Yuichi Nishiwaki
|
0b85e251a2
|
fix negative number reader
|
2014-06-27 08:55:01 +09:00 |
Yuichi Nishiwaki
|
556a460663
|
[bugfix] EOF is a delimiter
|
2014-06-27 08:55:01 +09:00 |
Yuichi Nishiwaki
|
bb43c8d9dc
|
add isdelim
|
2014-06-27 08:55:01 +09:00 |
Yuichi Nishiwaki
|
1eb4940b13
|
use isdigit
|
2014-06-27 08:55:01 +09:00 |
Yuito Murase
|
8374297a22
|
append returns '() when given no args
|
2014-06-26 17:40:26 +09:00 |
Yuichi Nishiwaki
|
bc2a684961
|
add read function support
|
2014-06-25 22:36:56 +09:00 |
Yuichi Nishiwaki
|
2c84168861
|
hold integers in 64bit size
|
2014-06-25 21:49:28 +09:00 |
Yuichi Nishiwaki
|
4d9dc8011c
|
fix read_vector bug
|
2014-06-25 21:40:51 +09:00 |
Yuichi Nishiwaki
|
029efc91c9
|
allow symbols with leading '.'
|
2014-06-25 21:40:42 +09:00 |
Yuichi Nishiwaki
|
bd822fa4c6
|
fix EOF handling
|
2014-06-25 21:40:18 +09:00 |
Yuichi Nishiwaki
|
ee82ee99d7
|
support nested block comment
|
2014-06-25 21:38:11 +09:00 |
Yuichi Nishiwaki
|
1440a51ef8
|
improve error messages of load function
|
2014-06-25 18:18:01 +09:00 |
Yuichi Nishiwaki
|
a90330d3d9
|
comment readers should return undef values to report continuablility to
the parent function
|
2014-06-25 18:06:48 +09:00 |
Yuichi Nishiwaki
|
6eec3629e9
|
use xprintf instead of printf
|
2014-06-25 17:24:42 +09:00 |
Yuichi Nishiwaki
|
b646948e9b
|
allocate buffer in +1 size
|
2014-06-25 17:22:15 +09:00 |
Yuichi Nishiwaki
|
0e66144a4d
|
add pic_open_input_string
|
2014-06-25 15:39:40 +09:00 |
Yuichi Nishiwaki
|
83a13d4ca4
|
remove flex dependency
|
2014-06-25 15:39:30 +09:00 |
Yuichi Nishiwaki
|
da4a4fd449
|
api changes of reader/parser
|
2014-06-25 15:39:04 +09:00 |