Kris Katterjohn
439e35da61
Check for valid "rest" parameters in parameter lists
...
Checks for invalid parameter names and duplicate parameters were
being performed on parameter lists, but these checks were not
considering any rest parameters. This means that
((lambda (x . x) x) 'foo 'bar) => foo
((lambda (x . 0) x) 'foo 'bar) => foo
((lambda (x . #t) x) 'foo 'bar) => foo
((lambda 0 'foo)) => foo
((lambda #t 'foo)) => foo
and so on. Now these all produce errors.
2018-03-28 21:11:33 -05:00
Alex Shinn
d0b63109e8
Merge pull request #461 from jacius/remainder_inf
...
Regression tests for remainder with infinity
2018-03-16 22:40:32 +09:00
John Croisant
fe85ccc94a
Add regression tests for remainder with infinity.
2018-03-15 21:48:19 -05:00
John Croisant
3c41f9d3e2
Add "test-division" Makefile target.
...
Runs tests/division-tests.scm. The "test-all" target now also runs
test-division.
2018-03-15 21:43:21 -05:00
John Croisant
c5345a5b48
Fix errors in tests/division-tests.scm.
...
Import (scheme base) to get the basic division procedures.
The "centered" procedures were renamed to "balanced" in commit
975dc690a1
.
Also cleaned up some trailing whitespace.
2018-03-15 21:37:08 -05:00
Alex Shinn
d167f90802
Merge pull request #460 from jacius/remainder_inf
...
Raise type error if remainder called with infinity.
2018-03-15 21:46:25 +09:00
John Croisant
e5d9ccb69f
Raise type error if remainder called with infinity.
...
To prevent an infinite loop, raise a type error if the remainder
procedure is called with +inf.0 or -inf.0 as either argument.
2018-03-15 02:42:26 -05:00
Alex Shinn
f0c9f0e705
adding chibi-version variable to (chibi ast)
2018-03-11 23:47:33 +09:00
Alex Shinn
e4cc2dd33c
default comparator compares numbers with = (issue #459 )
2018-03-10 11:11:59 +09:00
Alex Shinn
d07170d6c3
Documenting sexp_register_c_type and sexp_make_cpointer.
2018-02-18 09:19:36 +09:00
Alex Shinn
e5f6c1bbba
adding better debugging for zero-sized object warning
2018-02-16 17:01:21 +09:00
Alex Shinn
dc76aee1d6
s/sexp_init/sexp_scheme_init/
2018-02-15 10:15:26 +09:00
Alex Shinn
1658cf66d6
adding sexp_init() (noop by default) to C example in docs
2018-02-15 10:13:18 +09:00
Alex Shinn
7ae96fdba5
typo in vector-select!
2018-02-01 15:43:46 +09:00
Alex Shinn
13a8c50373
install (srfi 135 kernel8)
2018-01-25 11:40:53 +09:00
Alex Shinn
1a2c504c5f
typo, make cleaner should remove versioned so's
2018-01-25 01:27:18 +09:00
Alex Shinn
ea2e3d7e0a
updating install files
2018-01-25 01:24:41 +09:00
Alex Shinn
cd0b6e32af
fixing test-build
2018-01-25 01:07:49 +09:00
Alex Shinn
351e6562a0
updating trace in oom tests
2018-01-25 00:11:44 +09:00
Alex Shinn
5b5ca24a15
add repl to red image
2018-01-25 00:08:53 +09:00
Alex Shinn
5023e88897
don't include-shared hash multiple times
2018-01-24 23:58:30 +09:00
Alex Shinn
eb38a5836a
extending (scheme red)
2018-01-24 23:54:09 +09:00
Alex Shinn
ab88f53e48
adding srfi 113
2018-01-24 23:47:28 +09:00
Alex Shinn
7cd26b9823
advanced repl should use (scheme small) by default
2018-01-16 21:23:21 +09:00
Alex Shinn
03544833dc
rename (chibi show) update! to with! as in srfi 159
2018-01-16 21:15:54 +09:00
Alex Shinn
309c591d66
adding doc link to (srfi 159)
2018-01-16 19:55:39 +09:00
Alex Shinn
73734c7010
adding (srfi 159) wrapper around (chibi show)
2018-01-16 19:54:59 +09:00
Alex Shinn
f6f470c3e5
adding (srfi 135)
2018-01-16 01:14:40 +09:00
Alex Shinn
bd9ea1d3ac
adding (srfi 134)
2018-01-16 00:00:48 +09:00
Alex Shinn
0c27921f51
adding (srfi 101)
2018-01-15 23:51:16 +09:00
Alex Shinn
b91022afea
adding (srfi 127)
2018-01-15 23:15:14 +09:00
Alex Shinn
f8cc1402c2
adding (srfi 41)
2018-01-14 00:22:14 +09:00
Alex Shinn
9e4eb03fb4
only use ape/limits.h on plan9
2018-01-13 22:01:36 +09:00
Alex Shinn
2b8380323d
Merge pull request #452 from joe9/master
...
patch to compile on 9front
2018-01-13 11:32:30 +09:00
joe9
b85201f81d
patch to compile on 9front
2018-01-12 19:26:17 -07:00
Alex Shinn
bf4760fa46
skip chibi log tests in windows
2018-01-13 10:57:44 +09:00
Alex Shinn
bf23dc655f
adding chibi log tests to lib tests
2018-01-11 22:43:19 +09:00
Alex Shinn
b0e5f70355
adding (chibi log) tests
2018-01-11 22:42:18 +09:00
Alex Shinn
1f805fd3ae
log ip address of clients in net servers
2018-01-11 22:05:44 +09:00
Alex Shinn
08a6962c98
Merge pull request #449 from Hamayama/syntax
...
Several changes of syntax-rules in init-7.scm
2018-01-11 22:02:04 +09:00
Alex Shinn
f5b2ba6fe3
nicer error for bad images
2018-01-07 23:54:31 +09:00
Alex Shinn
fd3e1f10d3
last arg of fn body should be displayed
2018-01-07 15:05:29 +09:00
Alex Shinn
a328b3fb4a
re-enable fixed tests
2018-01-07 14:53:03 +09:00
Alex Shinn
f29a404324
buffer pretty output to work in columnar
2018-01-07 14:42:52 +09:00
Alex Shinn
b9172a366c
Merge pull request #450 from okuoku/win32-cmake
...
Misc. fixes for Windows build
2018-01-04 14:09:19 +09:00
Alex Shinn
13a28c3090
Merge branch 'master' of https://github.com/ashinn/chibi-scheme
2018-01-03 22:31:46 +09:00
okuoku
12751c8d7b
Update .gitignore
2017-12-31 07:32:23 +09:00
okuoku
98d73d0da2
cmake: Exclude (chibi process) test on CTest
...
(chibi process) is not implemented on Win32.
2017-12-31 07:32:22 +09:00
okuoku
9e773f3daf
(chibi filesystem): Stub out several features on Win32
...
- Win32 does not support symbolic links generally (NTFS does support it
but it is not available for non-root users until Win10)
- Win32 does not have block size on stat() API
2017-12-31 07:32:22 +09:00
okuoku
3ea5b51c6c
cmake: Remove debug messages
2017-12-31 07:32:22 +09:00