Daphne Preston-Kendal
01bd50b6f1
Revert "Document the addition of identifier-syntax to core"
...
This reverts commit 920ba20a8c
.
2022-03-15 09:07:17 +01:00
Daphne Preston-Kendal
70455ed3f8
Revert "Implement identifier-syntax in init-7.scm"
...
This reverts commit d55d6c619c
.
2022-03-15 09:07:11 +01:00
Daphne Preston-Kendal
abda243d21
Add identifier macro tests to syntax-test.scm
2022-02-04 11:28:31 +01:00
Daphne Preston-Kendal
920ba20a8c
Document the addition of identifier-syntax to core
...
[skip ci]
2022-02-04 11:00:27 +01:00
Daphne Preston-Kendal
51b0203dc5
Ditch the syntax-case version of identifier-syntax now it’s in core
2022-02-04 10:40:21 +01:00
Daphne Preston-Kendal
d6b13db503
Attempt to improve readability of syntax-template-transformer uses
...
Lipstick on a pig, but seems to be the best option available
2022-02-04 10:40:21 +01:00
Daphne Preston-Kendal
aef1a1b358
Use a less confusing term in the error message for invalid clauses
...
Since ‘template’ is technically the second part
2022-02-04 10:40:21 +01:00
Daphne Preston-Kendal
bddbdc801d
Use the exact set! syntactic-closure from the identifier-syntax form
...
Without this, set! isn’t recognized correctly as a literal and the
set! form erroneously matches any application form with two arguments
2022-02-04 10:39:34 +01:00
Daphne Preston-Kendal
d55d6c619c
Implement identifier-syntax in init-7.scm
2022-02-01 11:57:59 +01:00
Daphne Preston-Kendal
d769a7970c
Wrap identifier-syntax output in make-transformer
2022-01-03 09:50:07 +01:00
Daphne Preston-Kendal
eb8582f5b1
Use sexp_make_procedure to sexp_make_variable_transformer_op
2022-01-03 08:28:40 +01:00
Daphne Preston-Kendal
f32d89175c
Typo fix.
...
[skip ci]
2022-01-02 09:37:37 +01:00
Daphne Preston-Kendal
f63348a4d1
Iteratively expand variable-transformer set!
2022-01-02 08:06:38 +01:00
Daphne Preston-Kendal
83f61aecd2
Document the addition of identifier macros
2021-12-30 11:18:39 +01:00
Daphne Preston-Kendal
4a3c7eaf1f
Support identifier-syntax in (chibi syntax-case)
2021-12-30 10:58:26 +01:00
Daphne Preston-Kendal
d17764be29
Add variable transformers
2021-12-30 10:34:54 +01:00
Daphne Preston-Kendal
e97a2debe1
Friendlier error message for misuse of standard macros
2021-12-30 00:12:18 +01:00
Daphne Preston-Kendal
770b4d367b
Add basic support for identifier macros
2021-12-29 23:52:46 +01:00
Alex Shinn
6615a74609
undoing unintended commit
2021-12-29 14:27:49 +09:00
Alex Shinn
b769a318ef
use unsigned char* in sexp_update_string_index_lookup (fixes issue #804 )
2021-12-29 11:55:58 +09:00
Alex Shinn
ab29a2b973
skip common prefix/suffix in diff
2021-12-28 16:07:43 +09:00
Alex Shinn
9cd9ec1cda
fix mapn error message
2021-12-28 15:19:10 +09:00
Alex Shinn
92499731bc
show procedure arity in primitive write
2021-12-28 08:26:20 +09:00
Alex Shinn
fc9cf93796
type checks on identifier=?
2021-12-28 08:19:05 +09:00
Alex Shinn
f6e8e71c41
Merge branch 'master' of github.com:ashinn/chibi-scheme
2021-12-25 10:56:10 +09:00
Alex Shinn
58e9715c2b
handle non-positive numbers in numeric/si (fixes issue #801 )
2021-12-25 10:55:58 +09:00
Alex Shinn
f812bbc96b
Merge pull request #797 from dpk/reference-barrier
...
Fix SRFI 124 imports for reference-barrier
2021-12-15 07:01:43 +09:00
Daphne Preston-Kendal
f9f384c45b
Fix SRFI 124 imports for reference-barrier
2021-12-14 15:45:12 +01:00
Alex Shinn
50188a6668
Merge pull request #796 from dpk/reference-barrier
...
Add reference-barrier to (srfi 124)
2021-12-14 21:36:53 +09:00
Daphne Preston-Kendal
2d8ce631c7
Add reference-barrier to (srfi 124)
2021-12-14 13:04:21 +01:00
Alex Shinn
f51f61098c
Merge pull request #795 from ashinn/srfi-227
...
Fix SRFI 227 exports
2021-12-11 22:42:14 +09:00
Marc Nieper-Wißkirchen
232dc6ef20
Fix SRFI 227 exports
2021-12-11 14:27:20 +01:00
Alex Shinn
3080087d8c
stop after first compile error in an if ( fixes #792 )
2021-12-05 09:18:54 +09:00
Alex Shinn
9a17254536
guard against opcodes
2021-12-03 08:33:28 +09:00
Alex Shinn
9a48a110b8
add bounds check
2021-12-02 22:07:57 +09:00
Alex Shinn
0da288d053
implement (srfi 229)
2021-12-02 22:03:58 +09:00
Alex Shinn
71cc9b0d3c
add make-procedure to (chibi ast)
2021-12-02 22:02:03 +09:00
Alex Shinn
6e636594a5
simplify opt-lambda def; copy list tail for rest arguments
2021-11-25 22:01:59 +09:00
Alex Shinn
f29af14e2e
Merge branch 'master' of github.com:ashinn/chibi-scheme
2021-11-25 00:16:56 +09:00
Alex Shinn
1eee928e67
allow non-optional bindings in let-optionals[*]
2021-11-25 00:14:15 +09:00
Alex Shinn
2820aab6e5
Merge pull request #788 from dpk/srfi-227
...
Add support for SRFI 227
2021-11-24 18:36:58 +09:00
Daphne Preston-Kendal
427629a43e
Add support for SRFI 227
2021-11-24 10:24:21 +01:00
Alex Shinn
7a6aae39a0
Merge pull request #787 from arthurgleckler/master
...
Fix disconnects. Support more MIME types. Fix comment.
2021-11-19 16:17:30 +09:00
Arthur A. Gleckler
9b6099ca87
Support more MIME types for common file types.
...
In `servlet-respond', the server defaults to Content-Type "text/html;
charset=UTF-8" for extensions that don't appear in
`mime-type-from-extension'. This meant that CSS files, JavaScript
files, and various types of image files were getting the wrong
Content-Type, which was fine when they were served directly, but
caused clients to close the connection when they were loaded over
HTTP/1.1, which can deliver back-to-back resources on the same
connection.
Sort the types in the `mime-type-from-extension' list now that it is
longer. It's still not long enough for the order to be material for
performance.
2021-11-18 22:09:47 -08:00
Arthur A. Gleckler
153b4d894a
Fix typo in comment.
2021-11-18 18:06:40 -08:00
Alex Shinn
4dde693435
http servers should ignore SIGPIPE by default
2021-11-19 10:49:04 +09:00
Alex Shinn
182048ed9a
adjust for rounding up converting from fixnum to double in exact-integer-sqrt ( fixes #786 )
2021-11-08 09:27:50 +09:00
Alex Shinn
a92289ceb9
use return code from main in SRFI 22 usage ( fixes #783 )
2021-11-07 10:13:49 +09:00
Alex Shinn
7be38e044a
Merge pull request #780 from jpellegrini/srfi-144-fix
...
Add missing constants to SRFI-144
2021-11-07 09:56:24 +09:00
Alex Shinn
1f0f07114b
fix sqrt of complex negative zero (issue #785 )
2021-11-07 09:55:24 +09:00