Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 5 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@ jobs:
sudo apt-get update
sudo apt-get install libsystemd-dev libx11-dev uuid-dev
cd ChezScheme
git checkout v9.6.4
git checkout v10.3.0
./configure -m=a6le
cd a6le/c
make -j 4
cd ../..
mkdir -p ../build/bin ../build/lib/csv9.6.4/a6le
make kernel
mkdir -p ../build/bin ../build/lib/csv10.3.0/a6le
cp a6le/bin/a6le/* ../build/bin
cp boot/a6le/* ../build/lib/csv9.6.4/a6le
cp boot/a6le/* ../build/lib/csv10.3.0/a6le
export PATH=$(realpath ../build/bin):${PATH}
export SCHEMEHEAPDIRS=$(realpath ../build/lib/csv9.6.4/a6le):
export SCHEMEHEAPDIRS=$(realpath ../build/lib/csv10.3.0/a6le):
git checkout "${RELEASED}"
git clean -dxf .
./configure --force -m=a6le
Expand Down Expand Up @@ -76,9 +74,6 @@ jobs:
- machine: i3le
os: ubuntu-24.04
chez: main
- machine: a6le
os: ubuntu-24.04
chez: v9.6.4
- machine: a6le
os: ubuntu-24.04
chez: released
Expand Down Expand Up @@ -147,22 +142,7 @@ jobs:
V="${RELEASED}"
fi
echo "chez=$V" >> "$GITHUB_OUTPUT"
- name: Build Chez Scheme v9.6.4
if: ${{ matrix.config.chez == 'v9.6.4' && matrix.config.machine == 'a6le' }}
run: |
M=${{ matrix.config.machine }}
cd ChezScheme
git checkout -q -f v9.6.4
git reset --hard v9.6.4
./configure -m=$M
cd $M/c
make
cd ../..
echo "$(realpath "$PWD/$M/bin/$M")" >> $GITHUB_PATH
echo "SCHEMEHEAPDIRS=$(realpath $PWD/$M/boot/$M)" >> $GITHUB_ENV
echo "done building in $PWD"
- name: Build Chez Scheme ${{ steps.resolve.version.chez }}
if: ${{ matrix.config.chez != 'v9.6.4' }}
run: |
M=${{ matrix.config.machine }}
cd ChezScheme
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ scheme, starting with 2.0.0 to avoid confusion with internal projects.

## Linux

- Chez Scheme 9.6.4 or later
- Chez Scheme 10.3.0 or later
- GCC, the GNU Compiler Collection
- GNU make 4.4 or later
- GNU C++ compiler for libuv
Expand All @@ -61,7 +61,7 @@ scheme, starting with 2.0.0 to avoid confusion with internal projects.

## Mac

- Chez Scheme 9.6.4 or later
- Chez Scheme 10.3.0 or later
- coreutils (install via [Homebrew](https://brew.sh): `brew install coreutils`)
- cmake for libuv (install via [Homebrew](https://brew.sh): `brew install cmake`)
- XCode Command Line Tools
Expand All @@ -71,7 +71,7 @@ scheme, starting with 2.0.0 to avoid confusion with internal projects.

## Windows

- Chez Scheme 9.6.4 or later
- Chez Scheme 10.3.0 or later
- Cygwin or MinGW/MSYS with bash, git, graphviz, grep, perl, texlive,
GNU make, etc.
- cmake for libuv (https://cmake.org/)
Expand Down
8 changes: 8 additions & 0 deletions doc/reference.bib
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ @misc{html5
note={\url{http://www.w3.org/TR/2014/REC-html5-20141028/}}
}

@misc{json5,
author={Aseem Kishore and Jordan Tucker},
title = {{The JSON 5 Data Interchange Format}},
year = {2018},
month = {March},
note={\url{https://spec.json5.org/}}
}

@misc{libuv,
title = {{libuv}},
key = {libuv},
Expand Down
2 changes: 1 addition & 1 deletion doc/swish.tex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
\begin{document}
\begin{sagianbook}{The Swish Concurrency Engine\\
Version \input{../src/swish/swish-version.include}}{Bob Burger,
editor}{\copyright\ 2018-2025 Beckman Coulter, Inc.
editor}{\copyright\ 2018-2026 Beckman Coulter, Inc.
Licensed under the \href{https://opensource.org/licenses/MIT}{MIT License}.}

\input{swish/chapters}
Expand Down
1 change: 1 addition & 0 deletions doc/swish/chapters.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
\input{swish/log-db}
\input{swish/statistics}
\input{swish/http}
\input{swish/json}
\input{swish/cli}
\input{swish/parallel}
\input{swish/options}
11 changes: 5 additions & 6 deletions doc/swish/erlang.tex
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,11 @@
size is set to 1024 with \code{custom-port-buffer-size}.\footnote{1024 was
chosen because prior versions of Chez Scheme use 1024 for the buffer size
of buffered transcoded ports.}
When compiled with Chez Scheme versions 9.6.2 and later, Swish uses
\code{file-buffer-size} as the buffer size for custom file ports.
The custom binary port read and write
procedures call \code{osi\_read\_port} and \code{osi\_write\_port}
with callbacks that send a message to the calling process, which waits
until it receives the message.
Swish uses \code{file-buffer-size} as the buffer size for custom file
ports. The custom binary port read and write procedures call
\code{osi\_read\_port} and \code{osi\_write\_port} with callbacks that
send a message to the calling process, which waits until it receives
the message.

\concern{Using a port from more than one process at the same time may
cause errors including buffer corruption.} \mitigation The code is
Expand Down
Loading