chibi-scheme/lib/chibi
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
..
char-set fix case folding, update to unicode 13 2020-06-04 22:08:07 +09:00
crypto replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
io undoing unintended commit 2021-12-29 14:27:49 +09:00
iset adding unicode-string-width/wide 2020-06-03 10:43:22 +09:00
loop Fix bug in accumulating in (chibi loop) 2020-11-04 11:56:41 +01:00
match match fix for (a ...) patterns where a was already bound - thanks to Andy Wingo 2021-06-21 16:44:02 +09:00
math shorter factor (issue #751 cont.) 2021-06-30 00:29:54 -07:00
monad fixing (srfi 159) after refactoring 2020-07-06 15:09:49 +09:00
net make-request path should be a string even in failure case 2022-08-09 14:02:19 +09:00
optimize move remaining fields to start of types 2020-07-30 00:19:21 +09:00
parse bounds check for parse-stream-debug-info on empty input (fixes issue #826) 2022-04-18 08:55:06 +09:00
regexp replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
show don't assume map works on improper lists in cpp-define 2021-07-28 10:35:05 +09:00
snow add package-page snow-fort utility 2022-10-19 17:53:59 +09:00
term filter history duplicates 2020-07-24 15:59:30 +09:00
win32 fixing test-build 2018-01-25 01:07:49 +09:00
accept.c Simplify snprintf usage 2021-08-07 23:17:38 +03:00
app-test.sld Allowing option parsing to fallback to top-level options from within subcommands. 2015-06-05 22:46:45 +09:00
app.scm allow custom option types for (chibi app) 2022-07-09 14:59:34 +09:00
app.sld suggesting closest misspelled options (issue #588) 2020-07-24 14:25:15 +09:00
apropos.scm Add (chibi apropos) module 2019-12-28 17:44:32 +02:00
apropos.sld Add (chibi apropos) module 2019-12-28 17:44:32 +02:00
assert-test.sld add docs and tests for assert, unify with SRFI 145 2021-05-06 20:34:03 +09:00
assert.sld add docs and tests for assert, unify with SRFI 145 2021-05-06 20:34:03 +09:00
ast.c Fix bug in procedure-flags in (chibi ast) (issue #864) 2022-10-05 09:06:51 +09:00
ast.scm Move identifier-syntax to (chibi ast) 2022-03-15 10:27:56 +01:00
ast.sld Add immutable-string with copy-on-write semantics (issue #860). 2022-09-16 18:18:20 +09:00
base64-test.sld various portability improvements 2017-03-26 16:00:31 +09:00
base64.scm adding (srfi 142), using that in place of (srfi 33) 2017-04-16 22:06:56 +09:00
base64.sld replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
binary-record-chicken.scm provide a nicer binary type interface 2017-03-25 17:46:30 +09:00
binary-record.scm provide a nicer binary type interface 2017-03-25 17:46:30 +09:00
binary-record.sld replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
binary-types.scm Fix typo 2021-01-17 14:10:41 +02:00
bytevector-test.sld fixing scheme bytevector for 32bit arch 2020-07-28 15:09:40 +09:00
bytevector.scm supporting ber encoding in bytevectors 2018-12-09 03:44:19 +08:00
bytevector.sld fixing scheme bytevector for 32bit arch 2020-07-28 15:09:40 +09:00
channel.scm Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
channel.sld Making libraries portable where possible. 2015-04-26 16:17:38 +09:00
char-set.sld More documentation improvements. 2015-05-01 07:55:25 +09:00
config.scm also print error 2019-01-06 08:22:43 +08:00
config.sld also print error 2019-01-06 08:22:43 +08:00
diff-test.sld skip common prefix/suffix in diff 2021-12-28 16:07:43 +09:00
diff.scm lib/chibi/diff.scm: Fix string ANSI coloring call 2022-04-10 22:44:24 +02:00
diff.sld adding (chibi diff), use in tests 2020-06-04 22:06:32 +09:00
disasm.c Simplify snprintf usage 2021-08-07 23:17:38 +03:00
disasm.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
doc-test.sld chibi doc fixes for irregex manual 2021-05-14 13:49:07 +09:00
doc.scm chibi doc fixes for irregex manual 2021-05-14 13:49:07 +09:00
doc.sld including example output in (chibi doc), translate ansi escape 2020-07-23 17:47:04 +09:00
edit-distance-test.sld adding levenshtein distance 2019-11-04 20:15:32 +08:00
edit-distance.sld suggesting closest misspelled options (issue #588) 2020-07-24 14:25:15 +09:00
emscripten.scm Adding missing emscripten files. 2015-02-25 07:43:35 +09:00
emscripten.sld Adding missing emscripten files. 2015-02-25 07:43:35 +09:00
emscripten.stub Adding missing emscripten files. 2015-02-25 07:43:35 +09:00
equiv.scm Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
equiv.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
filesystem-test.sld replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
filesystem.scm signal an error when we can't change-directory in with-directory (issue #850) 2022-08-11 21:56:35 +09:00
filesystem.sld (chibi filesystem): add chown 2020-07-08 15:12:14 -04:00
filesystem.stub (chibi filesystem): conditionalize chown to fix Windows build 2020-07-08 15:36:21 -04:00
filesystem_win32_shim.c (chibi filesystem) Win32: A bit more shims 2017-12-13 22:00:07 +09:00
generic-test.sld Making libraries portable where possible. 2015-04-26 16:17:38 +09:00
generic.scm Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
generic.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
heap-stats.c Added full support for packed images, both for static and dynamic libraries. 2016-02-15 21:12:58 -05:00
heap-stats.sld adding free-sizes complement to heap-sizes 2015-06-15 21:34:25 +09:00
highlight.scm chibi doc fixes for irregex manual 2021-05-14 13:49:07 +09:00
highlight.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
ieee-754.scm supporting non-native endianness and non-finite floating values 2018-12-06 23:25:18 +08:00
io-test.sld fixing bug in flushed output on custom ports 2018-06-23 19:21:38 +08:00
io.sld use unsigned char* in sexp_update_string_index_lookup (fixes issue #804) 2021-12-29 11:55:58 +09:00
iset-test.sld fix iset-intersection on large trees in the first argument (issue #606) 2020-01-27 21:52:17 +08:00
iset.sld sort libs within a package before installing, 2017-01-30 22:48:02 +09:00
json-test.sld remove more tabs 2020-07-28 20:10:31 +09:00
json.c fix cc warning on 32-bit arch 2020-07-24 16:19:24 +09:00
json.scm forgot to add file 2020-07-26 23:23:19 +09:00
json.sld adding make-json-reader 2020-07-26 23:15:53 +09:00
log-test.sld update logging tests for fixes in string-split 2021-04-08 10:08:19 +09:00
log.scm adding (chibi log) tests 2018-01-11 22:42:18 +09:00
log.sld adding (chibi log) tests 2018-01-11 22:42:18 +09:00
loop-test.sld making string-cursors a disjoint type 2016-03-29 22:25:09 +09:00
loop.sld Adding for loop shortcut syntax. 2015-04-24 21:27:35 +09:00
match-test.sld match fix for (a ...) patterns where a was already bound - thanks to Andy Wingo 2021-06-21 16:44:02 +09:00
match.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
memoize-test.sld portability changes 2016-09-26 23:10:09 +09:00
memoize.scm bring memoize-to-file up-to-date with string-cursor api 2017-05-30 15:35:57 +09:00
memoize.sld portability changes 2016-09-26 23:10:09 +09:00
mime-test.sld adding content-type output for http server files 2020-07-17 14:42:28 +09:00
mime.scm Support more MIME types for common file types. 2021-11-18 22:09:47 -08:00
mime.sld adding content-type output for http server files 2020-07-17 14:42:28 +09:00
modules.scm handle include-shared in analyze-module 2021-04-26 14:27:11 +09:00
modules.sld Fixing snow doc extraction for multiple levels of includes. 2017-01-19 23:58:09 +09:00
net.scm (chibi net): make-listener-socket: close the socket on error 2019-09-22 19:18:18 -05:00
net.sld (chibi net): add address-info-canonname 2020-03-24 19:03:41 -05:00
net.stub (chibi net): add address-info-canonname 2020-03-24 19:03:41 -05:00
numeric-test.sld adjust for rounding up converting from fixnum to double in exact-integer-sqrt (fixes #786) 2021-11-08 09:27:50 +09:00
optimize.scm Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
optimize.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
optional-test.sld Improve let-keywords docs and add unit tests (issue #866). 2022-10-11 22:32:32 +09:00
optional.scm Improve let-keywords docs and add unit tests (issue #866). 2022-10-11 22:32:32 +09:00
optional.sld simplify opt-lambda def; copy list tail for rest arguments 2021-11-25 22:01:59 +09:00
parse-test.sld bounds check for parse-stream-debug-info on empty input (fixes issue #826) 2022-04-18 08:55:06 +09:00
parse.sld Fleshing out (chibi parse) docs and adding to the manual. 2015-05-02 21:47:24 +09:00
pathname-test.sld Making libraries portable where possible. 2015-04-26 16:17:38 +09:00
pathname.scm adding -Dsafe-string-cursors feature to perform extra checks on string cursors 2019-02-01 00:31:13 +08:00
pathname.sld Fixing description of pathname library. 2015-05-03 08:12:46 +09:00
process-test.sld (chibi process): fix process-running? on OpenBSD, NetBSD and DragonFly 2019-08-30 13:05:32 -05:00
process.scm adding optional child-prod arg to call-with-process-io 2022-06-19 08:30:45 +09:00
process.sld Fix include-shared for process 2019-07-24 11:10:04 +00:00
process.stub removing redundant renaming to same name execvp 2017-08-28 23:41:34 +09:00
pty-test.sld adding (chibi pty) 2019-08-19 23:03:09 +08:00
pty.sld adding (chibi pty) 2019-08-19 23:03:09 +08:00
pty.stub (chibi pty): fix compilation errors on the BSDs 2019-08-22 16:33:10 -05:00
quoted-printable-test.sld various portability improvements 2017-03-26 16:00:31 +09:00
quoted-printable.scm various portability improvements 2017-03-26 16:00:31 +09:00
quoted-printable.sld replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
regexp-test.sld regexp-replace should respect start/end also for pre/post substitutions 2019-12-28 22:48:44 +08:00
regexp.scm regexp-replace should respect start/end also for pre/post substitutions 2019-12-28 22:48:44 +08:00
regexp.sld replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
reload.scm Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
reload.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
repl.scm adding thread-interrupt! so that (chibi repl) can preserve continuations (issue #686) 2020-08-25 14:09:29 +09:00
repl.sld adding thread-interrupt! so that (chibi repl) can preserve continuations (issue #686) 2020-08-25 14:09:29 +09:00
scribble-test.sld adding make-json-reader 2020-07-26 23:15:53 +09:00
scribble.scm adding make-json-reader 2020-07-26 23:15:53 +09:00
scribble.sld Making libraries portable where possible. 2015-04-26 16:17:38 +09:00
shell-test.sld fleshing out I/O redirection and adding docs 2022-07-29 18:50:42 +09:00
shell.scm typo s/df/fd (fixes #861) 2022-09-26 22:37:51 +09:00
shell.sld fleshing out I/O redirection and adding docs 2022-07-29 18:50:42 +09:00
show.sld making (chibi show) an alias of (srfi 166) 2020-06-17 23:39:24 +09:00
signal.c (chibi process): fix process-running? on OpenBSD, NetBSD and DragonFly 2019-08-30 13:05:32 -05:00
string-test.sld various portability improvements 2017-03-26 16:00:31 +09:00
string.scm allow indexes instead of cursors for cursor-next/prev and string-any/every 2020-01-31 23:26:38 +08:00
string.sld various portability improvements 2017-03-26 16:00:31 +09:00
stty.scm removing duplicate definition of ixon (issue #402) 2017-04-10 22:19:40 +09:00
stty.sld adding (chibi pty) 2019-08-19 23:03:09 +08:00
stty.stub adding (chibi pty) 2019-08-19 23:03:09 +08:00
sxml-test.sld Adding sxml tests. 2022-10-11 22:42:54 +09:00
sxml.scm Fix bug: attributes without values didn't work. 2022-10-11 21:22:39 -07:00
sxml.sld Add support for SXML indentation on output. 2022-10-10 13:34:27 -07:00
syntax-case-test.sld Decouple syntax-case from the Chibi core. 2021-08-10 23:19:35 +09:00
syntax-case.scm Make macro-aux safe for other things together with syntax-case 2022-10-26 11:04:23 +02:00
syntax-case.sld Make macro-aux safe for other things together with syntax-case 2022-10-26 11:04:23 +02:00
system-test.sld move definitions to start of body 2016-02-28 18:05:02 +09:00
system.sld death to tabs 2020-07-28 15:26:42 +09:00
system.stub Emscripten support by default. Patch from Marc Nieper-Wi?kirchen. 2015-02-22 16:10:30 +09:00
tar-test.sld removing own username from tar tests 2017-03-25 19:44:36 +09:00
tar.scm -R needs interpreter name, not SRFI 22 2019-01-01 23:18:49 +08:00
tar.sld replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
temp-file.scm Adding a preserve thunk to call-with-temp-file/dir. 2015-04-24 22:52:13 +09:00
temp-file.sld replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
test.scm fix missing newline in test line wrapping output 2022-02-24 22:43:49 +09:00
test.sld Implement review comments 2021-09-05 13:15:00 +02:00
time.sld build on Solaris-like systems 2019-08-11 22:30:17 +00:00
time.stub build on Solaris-like systems 2019-08-11 22:30:17 +00:00
trace.scm allow tracing macros 2021-05-06 10:17:03 +09:00
trace.sld improving docs 2020-07-24 12:53:29 +09:00
type-inference.scm fixing bug in type inference 2015-12-23 17:26:51 +09:00
type-inference.sld Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
uri-test.sld Making libraries portable where possible. 2015-04-26 16:17:38 +09:00
uri.scm additional string-cursor fixes for snow 2016-05-19 23:38:13 +09:00
uri.sld Making libraries portable where possible. 2015-04-26 16:17:38 +09:00
weak-test.sld Fixing weak references. 2015-06-20 23:03:44 +09:00
weak.c (chibi weak) library is a noop when not compiling with weak references. 2015-06-14 15:27:21 +09:00
weak.sld improving docs 2020-07-24 12:53:29 +09:00
zlib.scm Adding a preserve thunk to call-with-temp-file/dir. 2015-04-24 22:52:13 +09:00
zlib.sld porting (chibi temp-file) and (chibi zlib) to chicken 2017-03-25 18:26:35 +09:00