Alex Shinn
7e511ef8e4
typo s!fx+*/carry!fx*/carry!g (issue #908 )
2023-04-02 22:39:25 +09:00
Ricardo G. Herdt
ffe1ae4452
add support for Guile [snow-chibi]
...
Two recent changes to Guile improved its R7RS support:
- 3.0.7 fixed a bug regarding cond-expand in a define-library form.
- 3.0.8 added support for R7RS' srfi library names, e.g. (srfi 69) instead of
(srfi srfi-69) used by Guile.
These changes open the possibility for using snow libraries in R7RS Guile
programs. This commit adds support for installing/removing snow libraries for
Guile.
2023-03-31 20:29:35 +02:00
Alex Shinn
3b8f07b12e
Fix array-stack, interval folds and list*->array.
...
Issue #900 .
2023-03-19 23:56:01 +09:00
Alex Shinn
c026c0884d
Encode JSON null as the symbol 'null.
...
Closes #893 .
2023-02-16 21:32:35 +09:00
Alex Shinn
4dab8b81d4
Implementing array-decurry.
2023-02-16 21:20:37 +09:00
Marc Nieper-Wißkirchen
c6db239882
Provide identifier-syntax and make-variable-transformer through standardized SRFI libraries.
2023-02-01 10:33:09 +01:00
Alex Shinn
598dcad547
Error on using only to import an unexported binding.
...
Closes #865 .
2023-01-28 15:47:37 +09:00
Daphne Preston-Kendal
97adffc8b5
Make macro-aux safe for other things together with syntax-case
...
If you set the macro-aux of a macro outside of (chibi syntax-case), it
would previously case `syntax` to think that it was a pattern variable
and try to substitute it, even if the macro-aux was being used for
something else.
This patch fixes that by wrapping pattern variable values in an extra
typed box and checking that it has the right type before deciding that
it’s actually a pattern variable.
2022-10-26 11:04:23 +02:00
Alex Shinn
ad4dfcb77b
add package-page snow-fort utility
2022-10-19 17:53:59 +09:00
Alex Shinn
b1750cee57
Merge pull request #868 from arthurgleckler/master
...
Fix bug: attributes without values didn't work.
2022-10-12 16:44:55 +09:00
Arthur A. Gleckler
73875cbaf7
Fix bug: attributes without values didn't work.
...
Before, it was necessary to do something like this:
(option (@ (selected . #false) (value "any")) "any")
instead of:
(option (@ (selected) (value "any")) "any")
Only the former is valid SXML, as far as I can tell from the SXML
specification:
<https://dl.acm.org/doi/pdf/10.1145/571727.571736 >
2022-10-11 21:22:39 -07:00
Alex Shinn
6d58f9e3f6
Merge pull request #867 from arthurgleckler/master
...
Add support for SXML indentation on output.
2022-10-11 23:19:52 +09:00
Arthur A. Gleckler
24339e51e7
Update variable name per Alex's suggestion.
2022-10-11 07:17:31 -07:00
Alex Shinn
fa6d4f7a4f
Adding sxml tests.
2022-10-11 22:42:54 +09:00
Alex Shinn
0a050a524a
Improve let-keywords docs and add unit tests (issue #866 ).
2022-10-11 22:32:32 +09:00
Arthur A. Gleckler
4e24ad01e0
Add support for SXML indentation on output.
2022-10-10 13:34:27 -07:00
Alex Shinn
49f95dc107
Fix bug in procedure-flags in (chibi ast) (issue #864 )
...
We were incorrectly boxing an already boxed value.
2022-10-05 09:06:51 +09:00
Alex Shinn
0eeeac7650
Make environment immutable and add mutable-environment alternative (issue #863 ).
2022-10-04 16:07:36 +09:00
Alex Shinn
e88374aae1
typo s/df/fd ( fixes #861 )
2022-09-26 22:37:51 +09:00
Alex Shinn
95827a44ed
Add immutable-string with copy-on-write semantics (issue #860 ).
2022-09-16 18:18:20 +09:00
Alex Shinn
1e47c78b8a
Fix reversal of results in rounding all leading 9's (issue #859 ).
2022-09-15 21:24:00 +09:00
Lockywolf
6bb62979fd
Make (shell) in (chibi shell) return exit status of last command.
2022-08-24 13:17:37 +08:00
Alex Shinn
f367cb86e2
signal an error when we can't change-directory in with-directory (issue #850 )
2022-08-11 21:56:35 +09:00
Alex Shinn
7e0b2730f4
snow-post should quote values
2022-08-09 18:43:51 +09:00
Alex Shinn
9993b27486
make-request path should be a string even in failure case
2022-08-09 14:02:19 +09:00
Alex Shinn
51beea2bb6
adding more warnings for bad repos (issue #846 )
2022-08-08 18:59:50 +09:00
Alex Shinn
1f1b361010
Using Makefile-configured snow install directories.
2022-08-08 18:43:30 +09:00
Lockywolf
bf1703e511
Fix scribble documentation for shell.scm
2022-08-03 23:21:50 +08:00
Alex Shinn
70acbf5a08
fix indentation
2022-08-03 22:44:28 +09:00
Alex Shinn
2f50a6cf74
Merge pull request #848 from lockywolf/crutch-for-relative-install-lib-dir
...
Add a crutch to better detect snow binary extension dir.
2022-08-03 22:42:40 +09:00
Lockywolf
ac5c10c114
Add a crutch to better detect snow binary extension dir.
2022-08-03 21:40:48 +08:00
Alex Shinn
66deb6fe3b
install-data-file should return the installed path
2022-08-03 22:38:07 +09:00
Alex Shinn
568519bf6b
fleshing out I/O redirection and adding docs
2022-07-29 18:50:42 +09:00
Alex Shinn
1b0566b759
add io redirection to syntax
2022-07-29 07:30:35 +09:00
Alex Shinn
1bea865ec2
more shell utilities
2022-07-16 21:55:59 +09:00
Alex Shinn
bc18b0cc30
allow custom option types for (chibi app)
2022-07-09 14:59:34 +09:00
Alex Shinn
d03202407b
fix pipe example
2022-07-09 14:59:17 +09:00
Alex Shinn
658244d64e
Add WIP shell library.
2022-07-01 22:39:27 +09:00
Alex Shinn
f5d96939b6
adding optional child-prod arg to call-with-process-io
2022-06-19 08:30:45 +09:00
Alex Shinn
54d3aafc7b
update test
2022-06-12 16:11:16 +09:00
Alex Shinn
38fc7e0932
Initial SRFI 231 implementation.
2022-06-12 16:04:38 +09:00
Alex Shinn
4d0ae090b7
http-send-file default mime type should be application/octet-stream
2022-06-12 10:02:38 +09:00
Alex Shinn
05ee42804a
Merge branch 'master' of github.com:ashinn/chibi-scheme
2022-05-29 08:03:48 +09:00
Alex Shinn
3c4ace142c
propagate source info manually in let (issue #835 )
2022-05-29 08:03:32 +09:00
Jeronimo Pellegrini
32ce583927
Add some more unit tests to SRFI-144
...
Tests for flmin, flmax, fl-least, fl-epsilon, fl-greatest are
included.
2022-05-15 08:30:27 -03:00
Jeronimo Pellegrini
1ecf7f9c8a
SRFI-144: accept zero arguments for flmax/flmin
...
SRFI-144 requires that (flmin) returns +inf.0 and that
(flmax) returns -inf.0, so these procedures can't really
be aliases to the Chibi implementation of R7RS max and min.
2022-05-14 08:14:08 -03:00
Alex Shinn
42332bb04f
compute least double properly (issue #831 )
2022-05-14 16:30:27 +09:00
Alex Shinn
d4eb32f8b1
bounds check for parse-stream-debug-info on empty input (fixes issue #826 )
2022-04-18 08:55:06 +09:00
Sören Tempel
5fe400c688
(chibi parse): allow (optionally) passing custom fk to parse-commit
...
Without this patch, parse-commit will unconditionally use a faillure
continuation which simply returns `#f`. This may be undesirable in
some situations. As such, this commit allows (optionally) passing
a custom failure continuation as a second argument. If none is passed
the old behavior is used, hence this commit doesn't cause any backwards
incompatible API changes.
See #822
2022-04-11 18:03:24 +02:00
Damien Diederen
1702162e1f
lib/chibi/diff.scm: Fix string ANSI coloring call
2022-04-10 22:44:24 +02:00