This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compile scheme to javascript with Gambit and a minimal runtime library | |
# ====================================================================== | |
# | |
# This example was posted by Marc Feeley in the Gitter Chat: https://gitter.im/gambit/gambit?at=62ac8949568c2c30d3d0b355 | |
# | |
gsc -target js -c minimal-lib.scm | |
gsc -target js -l minimal-lib -exe minimal-app.scm | |
./minimal-app | |
# 2022-06-17T13:59:21.496Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
CAKELISP_BOOTSTRAP_BIN=bin/cakelisp_bootstrap | |
CC=g++ | |
LINK=g++ | |
echoerr () { echo "$@" 2>&1; } | |
warn (){ | |
local msg="$1" | |
local code="$2" |