Adam Feuer
eecf561e62
add simple http client and server examples
2023-03-14 20:40:37 -07:00
Alex Shinn
e6d7e4fffb
sexp_poll_port needs a timeout
2023-03-15 10:18:37 +09:00
Alex Shinn
82dfe95468
Merge pull request #898 from nkoguro/fix-read-number
...
Fix bug: sexp_read_number can't parse a/b@c-style number correctly.
2023-02-26 21:28:28 +09:00
KOGURO, Naoki
35281cf28e
Fix bug: sexp_read_number can't parse a/b@c-style number correctly.
2023-02-25 11:26:51 +09:00
Alex Shinn
dde5f6c88d
Merge pull request #896 from chk-jxcn/chk-jxcn-patch-1
...
Fix #880
2023-02-20 10:40:09 +09:00
chk-jxcn
767bb8a5f9
Fix #880
...
Fix issue of can't load symbol when load from image, which cause by add extra "(sexp_proc1)" before function name.
Error message: "dynamic function lookup failure: <static> (sexp_proc1)sexp_get_sha_stub"
2023-02-20 02:53:56 +08: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
Alex Shinn
18c958e836
Merge pull request #887 from mnieper/srfi-211
...
Provide identifier-syntax and make-variable-transformer through standardized SRFI libraries.
2023-02-08 21:38:00 +09:00
Alex Shinn
b22bcc1fcc
don't assume git for building clibs.c (issue #891 )
2023-02-08 09:55:54 +09:00
Alex Shinn
8e9b15eda8
Merge branch 'master' of github.com:ashinn/chibi-scheme
2023-02-08 09:38:17 +09:00
Alex Shinn
875cefc686
clarify chibi-scheme-static docs
2023-02-08 09:37:39 +09:00
Alex Shinn
b297e7272b
Merge pull request #888 from smazga/9front-exit
...
Fix exit call on plan9/9front
2023-02-05 09:48:29 +09:00
McKay Marston
27071e6c8f
ifdef the return status so that non-plan9 systems get the real value
2023-02-04 16:36:49 -08:00
McKay Marston
0aa515730f
Fix exit call on plan9/9front
...
* make sure exits is passed a nil on success
* make sure main exits with a proper exits call
2023-02-03 17:19:46 -08:00
Marc Nieper-Wißkirchen
c5615c9b24
Install the new libraries.
2023-02-01 12:58:21 +01: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
Alex Shinn
e93b71990c
Cast to int before comparing with EOF ( #745 ).
2022-12-11 22:56:45 +09:00
Alex Shinn
da53f46c93
Merge branch 'master' of github.com:ashinn/chibi-scheme
2022-12-04 23:32:54 +09:00
Alex Shinn
cadae49fec
Fix sexp_contains_syntax_p_bound for synclos in dotted rest position.
...
Closes #464 .
2022-12-04 23:31:25 +09:00
Alex Shinn
8653dddeb3
Merge pull request #856 from dpapavas/static-user-libs
...
Add support for exporting statically compiled libraries from C
2022-10-31 18:54:40 +09:00
Dimitris Papavasiliou
310a04f701
Add support for user exported C libraries
...
This uses the existing mechanism for statically compiled C libraries,
to allow the user to export their own C libraries in a similar way.
User exported libraries can be added on top of statically compiled C
libraries or exist on their own (by setting SEXP_USE_STATIC_LIBS_EMPTY).
2022-10-30 14:06:18 +02:00
Alex Shinn
4185012205
Merge pull request #870 from dpk/safe-syntax-case-macro-aux
...
Make macro-aux safe for other things together with syntax-case
2022-10-30 13:43:28 +09:00
Alex Shinn
d29657811c
Merge pull request #871 from dpk/fix-syntax-tests
...
Fix syntax-tests to use mutable-environment
2022-10-30 13:40:54 +09:00
Daphne Preston-Kendal
dcd2ce9054
Add syntax-tests to test-all
2022-10-28 11:10:51 +02:00
Daphne Preston-Kendal
e4d53fe533
Fix syntax-tests to use mutable-environment
2022-10-28 11:06:21 +02: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
d67fa42d0c
Merge pull request #793 from dpk/string-ref-cache
...
Add a feature to cache the most recent string index->cursor result
2022-10-19 17:59:08 +09:00
Alex Shinn
ad4dfcb77b
add package-page snow-fort utility
2022-10-19 17:53:59 +09:00
Alex Shinn
cee932d2dc
add ffi support for movable parameters
2022-10-19 17:53:01 +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
Alex Shinn
fa8a506ed5
Merge pull request #858 from okuoku/win32-test-fix
...
cmake: Exclude `(chibi shell)` test on Win32
2022-09-11 20:02:26 +09:00
okuoku
f887003c30
cmake: Exclude (chibi shell)
test on Win32
...
Exclude `(chibi shell)` test on Win32 since it's not compatible.
2022-09-11 13:40:50 +09:00
Alex Shinn
0a50b305bc
string-set! should respect immutability (issue #857 )
2022-09-04 16:28:04 +09:00
Alex Shinn
2aa6dc829e
Merge pull request #854 from lockywolf/chibi-shell-return-value-exit-status
...
Make (shell) in (chibi shell) return exit status of last command.
2022-08-24 14:37:14 +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