1
0
Fork 0
This commit is contained in:
retropikzel 2025-11-07 14:18:57 +02:00
parent 8853ed5c5c
commit 69e7b9dbe2
3 changed files with 6 additions and 45 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ tmp
deb deb
*.deb *.deb
test-result.txt test-result.txt
compile-scheme.pdf

View File

@ -15,9 +15,11 @@ STATIC_LIBS=libs.util.a libs.library-util.a libs.data.a libs.srfi-64-util.a
all: build-chibi all: build-chibi
readme: manpage.1 README.md: doc/compile-scheme.1
printf "<pre>\n$$(MANWIDTH=80 man -l doc/compile-scheme.1)\n</pre>" > README.md printf "<pre>\n$$(MANWIDTH=80 man -l doc/compile-scheme.1)\n</pre>" > README.md
cat README.md > README.html
compile-scheme.pdf: doc/compile-scheme.1
mandoc -T pdf -l doc/compile-scheme.1 > compile-scheme.pdf
build-chibi: build-chibi:
echo "#!/bin/sh" > compile-scheme echo "#!/bin/sh" > compile-scheme
@ -152,17 +154,6 @@ test-r7rs-php-docker:
docker run -v "${PWD}":/workdir -w /workdir -t ${DOCKERTAG} sh -c "make SCHEME=${SCHEME} test-r7rs-php" docker run -v "${PWD}":/workdir -w /workdir -t ${DOCKERTAG} sh -c "make SCHEME=${SCHEME} test-r7rs-php"
clean: clean:
rm -rf test-r7rs git clean -X -f
rm -rf compile-scheme
find . -name "*.so" -delete
find . -name "*.o*" -delete
find . -name "*.a*" -delete
find . -name "*.rkt" -delete
find . -name "*.link" -delete
find . -name "*.meta" -delete
find . -name "*.import.*" -delete
rm -rf libs.library-util.c
rm -rf dist
rm -rf deps

View File

@ -1,31 +0,0 @@
<pre>
compile-r7rs(1) General Commands Manual compile-r7rs(1)
NAME
compile-r7rs - a tool to compile R6RS and R7RS Scheme programs
ENVIRONMENT
COMPILE_R7RS environment variable must be set to the name of the imple
mentation as specified in the support list. **This differs from the
SRFI** as the SRFI excepts a path.
SYNOPSIS
compile-r7rs [-n BITS] [--bits BITS] file... compile-r7rs
DESCRIPTION
compile-r7rs
It aims to support Scheme SRFI-138 - Compiling Scheme programs to exe
cutables.
CAVEATS
- No support for -D flag.
- Not all implementations support adding to beginning or end of
load path so -I and -A might work the same
OPTIONS
-n, --bits=BITS Set the number of bits to modify. Default is one bit.
compile-r7rs(1)
</pre>