Yuito Murase
ef38874850
add predicate record? to (picrin record), and fix bug of record-type predicate
2014-08-04 23:01:47 +09:00
Yuito Murase
cd96014104
record-ref and record-set! don't check type
2014-08-04 12:45:11 +09:00
Yuito Murase
8934c99ac2
move (picrin record-primitive) to (picrin record)
2014-08-04 07:38:27 +09:00
Yuito Murase
0c4d2b9cef
Merge remote-tracking branch 'upstream/master' into native-record
...
Conflicts:
piclib/scheme/base.scm
2014-08-03 16:19:54 +09:00
Yuito Murase
fa0de0c3fa
Merge remote-tracking branch 'upstream/master' into native-record
...
Conflicts:
include/picrin/value.h
piclib/prelude.scm
src/codegen.c
src/gc.c
src/init.c
src/macro.c
src/vm.c
src/write.c
2014-08-03 15:48:24 +09:00
Yuichi Nishiwaki
0095fa6a57
prelude to base
2014-08-03 15:47:25 +09:00
Yuito Murase
c76dfcb861
implement native record
...
native record primitives are defined in (picrin record-primitive)
- (make-record rectype)
- (record-of? record rectype)
- (record-ref record rectype field-name)
- (record-set! record rectype field-name value)
define-record-type is defined using these primitives
2014-08-03 15:30:48 +09:00
Yuichi Nishiwaki
c2982a4252
no need to overwrite eval
2014-08-03 14:46:08 +09:00
Yuichi Nishiwaki
e16de03b65
abort execution when an error occurred during running a file program
2014-08-03 14:38:38 +09:00
Yuichi Nishiwaki
9375aadf4b
split files
2014-08-03 14:19:55 +09:00
Yuichi Nishiwaki
a2fc679fab
inline 'with' macro
2014-08-03 14:18:47 +09:00
Yuichi Nishiwaki
e795b4a75a
small refactor
2014-08-03 14:18:27 +09:00
Yuichi Nishiwaki
82f82da213
remove old code that has been commented out for a long
2014-08-03 14:04:26 +09:00
Yuichi Nishiwaki
3f2b1d85bf
remove unused helper function
2014-08-03 14:02:13 +09:00
Yuichi Nishiwaki
48b5d6b578
[bugfix] interleave newline
2014-07-29 15:57:26 +09:00
Yuichi Nishiwaki
1a891036f2
[bugfix] print should print a newline to given port
2014-07-29 15:56:50 +09:00
Yuichi Nishiwaki
a15ec868ba
-h option should return exit status 1
2014-07-29 15:44:22 +09:00
Yuichi Nishiwaki
36f4a8fa66
support file execution
2014-07-29 15:43:43 +09:00
Yuichi Nishiwaki
96f8a969e0
print takes an optional argument for output port, and returns obj itself
2014-07-29 15:42:52 +09:00
Yuichi Nishiwaki
f09a27cd0a
[bugfix] case doesn't compare string equality
2014-07-29 15:42:35 +09:00
Yuichi Nishiwaki
2f7a51c096
move the repl source to under piclib
2014-07-29 15:23:40 +09:00
Yuichi Nishiwaki
28c486261c
move test-read-error to r7rs-tests.scm
2014-07-27 18:39:27 +09:00
Yuichi Nishiwaki
9c1f8809ed
add missing files
2014-07-27 14:33:46 +09:00
Yuichi Nishiwaki
137a01e74e
add environment procedure
2014-07-27 14:29:29 +09:00
Yuichi Nishiwaki
076698c84a
add null-environment and scheme-report-environment
2014-07-27 14:29:08 +09:00
Yuichi Nishiwaki
01061efc5a
move test-numeric-syntax to r7rs-tests.scm. test-numeric-syntax is a
...
test runner specific to r7rs-tests.scm. It should not be placed in
generic test library.
2014-07-27 12:46:10 +09:00
Yuichi Nishiwaki
b7c76ccc2a
[bugfix] test statistics displays failures in reverse order.
2014-07-27 12:42:14 +09:00
Yuichi Nishiwaki
27b157fb19
grammer error
2014-07-26 16:20:26 +09:00
Yuichi Nishiwaki
f922a7a0cd
reimplement identifier=? in scheme
2014-07-26 14:54:44 +09:00
Yuichi Nishiwaki
e53472d9cc
add strip-syntax
2014-07-26 14:13:12 +09:00
Yuichi Nishiwaki
c584b7baa9
add guard macro
2014-07-24 11:03:40 +09:00
Yuichi Nishiwaki
2f44145d3e
refactor vector-map
2014-07-23 09:41:55 +09:00
Yuichi Nishiwaki
aeb9c2bcee
define current-*-ports in port.c
2014-07-23 09:24:28 +09:00
Yuichi Nishiwaki
8846776f2f
refactor (picrin parameter)
2014-07-23 09:18:58 +09:00
Yuichi Nishiwaki
4d108ac299
move include syntax to core-syntax library
2014-07-22 14:34:39 +09:00
Yuichi Nishiwaki
b17a2002f3
refactor dynamic-wind
2014-07-22 14:28:30 +09:00
Yuichi Nishiwaki
bdd15261b1
rewrite bytevector-append in c
2014-07-22 14:14:58 +09:00
Yuichi Nishiwaki
cba4a6ebf5
remvoe unused helper function
2014-07-22 14:08:54 +09:00
Yuichi Nishiwaki
4676550961
rewrite vector-append in c
2014-07-22 14:08:48 +09:00
Yuichi Nishiwaki
5244b2f45d
rewrite bytevector-copy in c
2014-07-22 13:55:35 +09:00
Yuichi Nishiwaki
3f6ec5f878
implement assoc and member in c
2014-07-22 13:19:25 +09:00
Yuichi Nishiwaki
44e80e62f4
Merge pull request #176 from KeenS/test-values
...
fix a bug of `test-values` and unlock the test cases that use `test-valu...
2014-07-22 09:28:23 +09:00
Yuichi Nishiwaki
09bb977c50
rewrite vector-fill! in c
2014-07-22 09:24:30 +09:00
Yuichi Nishiwaki
4e895c97d0
rewrite symbol=? in c
2014-07-22 09:15:16 +09:00
Yuichi Nishiwaki
0d59eee27b
rewrite boolean=? in c
2014-07-22 09:13:42 +09:00
Yuichi Nishiwaki
b1ae2c24e5
rewrite exact-integer-sqrt in c
2014-07-22 09:07:25 +09:00
Yuichi Nishiwaki
3caf070043
rewrite floor/ and truncate/ in c
2014-07-22 09:07:09 +09:00
Yuichi Nishiwaki
b834553c34
rewrite vector-copy in c
2014-07-22 08:58:48 +09:00
Sunrim KIM (keen)
341e4048eb
fix a bug of `test-values` and unlock the test cases that use `test-values`
2014-07-21 22:58:38 +09:00
Yuichi Nishiwaki
1e4bc04112
rewrite list<->vector converters in c
2014-07-21 22:51:33 +09:00