Commit Graph

3633 Commits

Author SHA1 Message Date
Yuichi Nishiwaki fe994667fa remove pic_get_proc and add "&" format for pic_get_args 2016-02-07 00:53:12 +09:00
Yuichi Nishiwaki 32f015765d move the vm to proc.c 2016-02-07 00:09:40 +09:00
Yuichi Nishiwaki 2c09114cf3 move the expander to macro.c 2016-02-07 00:07:29 +09:00
Yuichi Nishiwaki de7fb0c4b2 codegen.c -> eval.c 2016-02-06 23:55:39 +09:00
Yuichi Nishiwaki fa8446110a Merge branch 'symbol-is-a-identifier' 2016-02-06 23:19:13 +09:00
Yuichi Nishiwaki e51d3db812 symbol is an identifier 2016-02-06 23:15:53 +09:00
Yuichi Nishiwaki bf68695707 Merge branch 'master' into symbol-is-a-identifier 2016-02-06 21:21:24 +09:00
Yuichi Nishiwaki bb5b15790d Merge branch 'irep-ints' 2016-02-06 21:20:21 +09:00
Yuichi Nishiwaki 12f999d608 temporarily disable offset fields 2016-02-06 21:18:38 +09:00
Yuichi Nishiwaki 497595a0f7 pool now only contains heap objects 2016-02-06 21:11:22 +09:00
Yuichi Nishiwaki 62cc05f978 add OP_PUSHFLOAT 2016-02-06 20:52:36 +09:00
Yuichi Nishiwaki 93105dc2a6 add OP_PUSHEOF 2016-02-06 20:43:21 +09:00
Yuichi Nishiwaki 5af1b44456 wrap irep fields with unions 2016-02-06 18:37:40 +09:00
Yuichi Nishiwaki 0fd529c968 change mangling rule for global variables 2016-02-06 04:07:37 +09:00
Yuichi Nishiwaki 1fbc38fe55 serializable code representation 2016-02-05 21:53:25 +09:00
Yuichi Nishiwaki 600a92835e add irep->ints 2016-02-05 21:41:20 +09:00
Yuichi Nishiwaki 0499b5ffb0 move pic_resolve to macro.c 2016-02-05 21:01:36 +09:00
Yuichi Nishiwaki e96465f724 remove pic_irep.ilen 2016-02-05 20:47:08 +09:00
Yuichi Nishiwaki 5e58847721 Merge branch 'irep-refc' 2016-02-05 00:52:24 +09:00
Yuichi Nishiwaki 64788af4b9 manage ireps using reference count 2016-02-05 00:31:57 +09:00
Yuichi Nishiwaki 6488e315d3 kvec.h is not used 2016-02-04 17:48:25 +09:00
Yuichi Nishiwaki 0aac2cccc7 Merge branch 'attr-as-a-nitro' 2016-02-03 22:24:27 +09:00
Yuichi Nishiwaki 337ba027f2 attribute as a macro 2016-02-03 21:49:55 +09:00
Yuichi Nishiwaki 0fe20178ae emit OP_PUSHUNDEF 2016-02-03 20:17:20 +09:00
Yuichi Nishiwaki 5637b3e435 unify emit_c and emit_i 2016-02-02 22:34:18 +09:00
Doug Currie 469ae52ba4 Merge branch 'master' into record-vector-optimization 2016-02-01 18:08:55 -05:00
Sunrin SHIMURA 2af9020b73 Merge pull request #330 from johngtait/master
Typo
2016-02-01 11:33:47 +09:00
John Tait b8e6041395 Typo 2016-02-01 02:29:02 +00:00
Yuichi Nishiwaki 2aa9e956c4 Merge pull request #325 from dcurrie/data-space-optimization
Reduce size of data object by removing unused dict field
2016-01-31 17:19:02 +09:00
Yuichi Nishiwaki 5a5b5ee25c Merge pull request #327 from dcurrie/defect-cond
Fix cond to conform to R7RS 'If the selected ⟨clause⟩ contains only t…
2016-01-25 04:59:24 +09:00
Yuichi Nishiwaki 2607ec15c3 Merge pull request #328 from dcurrie/negative-zero
Fix roundtrip -0.0
2016-01-25 04:49:49 +09:00
Doug Currie 87ae66d706 Fix roundtrip -0.0 2016-01-23 16:30:40 -05:00
Doug Currie 0f3ef76fcb Fix cond to conform to R7RS 'If the selected ⟨clause⟩ contains only the ⟨test⟩ and no ⟨expression⟩s, then the value of the ⟨test⟩ is returned as the result.' 2016-01-23 16:14:11 -05:00
Doug Currie 6881ac6d4d Reduce size of data object by removing unused dict field 2016-01-15 23:44:07 -05:00
Doug Currie 9b7e0cf019 Optimize records to use vector rather than a dict for field storage. 2016-01-15 23:04:51 -05:00
Yuichi Nishiwaki 7019f81aaf Merge pull request #323 from dcurrie/str-to-num-no-err
Fix issue #322 string->number should never signal error
2016-01-13 01:09:23 +09:00
Doug Currie 33667788cb Fix c99 style comment 2016-01-10 15:05:35 -05:00
Doug Currie ad0ef726fc Fix issue #322 string->number should never signal error 2016-01-10 14:56:44 -05:00
Sunrin SHIMURA 6db22b4b8c Merge pull request #321 from dcurrie/fix-dtoa-nan-inf
Fix dtoa for +nan.0 +inf.0 -inf.0
2016-01-11 00:56:53 +09:00
Doug Currie db36d7040f Add a few tests to contrib/10.roundtrip 2016-01-10 10:06:09 -05:00
Doug Currie 30f220316c Fix dtoa for +nan.0 +inf.0 -inf.0 2016-01-09 12:52:38 -05:00
Yuichi Nishiwaki edbd95d1bd fix indent 2016-01-09 23:29:36 +09:00
Yuichi Nishiwaki 9beff702c0 Merge pull request #320 from dcurrie/double-roundtrip
Double roundtrip
2016-01-09 23:27:10 +09:00
Doug Currie fa2b72b020 Use emyg_atod instead of emyg_strtod 2016-01-09 00:15:49 -05:00
Doug Currie 5116220d62 Fix more c99isms 2016-01-08 23:51:51 -05:00
Doug Currie 3f7c5034d7 Fix some c99isms 2016-01-08 23:47:16 -05:00
Doug Currie 5fd8f8287f Plug in emyg_dtoa and emyg_atod for round trip double conversion 2016-01-08 23:34:51 -05:00
Doug Currie bfe1db8d16 Add benz compile time hooks PIC_DOUBLE_TO_CSTRING and PIC_CSTRING_TO_DOUBLE 2016-01-08 23:06:14 -05:00
Doug Currie 4ef9394c0b Refactor xvfprintf to prepare for pluggable dtoa 2016-01-08 17:30:21 -05:00
Doug Currie be33d016e9 Refactor read_unsigned to prepare for pluggable atod 2016-01-08 15:55:00 -05:00