3 # Mes --- Maxwell Equations of Software
4 # Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
6 # This file is part of Mes.
8 # Mes is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
13 # Mes is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with Mes. If not, see <http://www.gnu.org/licenses/>.
23 export GUILE=${GUILE-guile}
24 export MES=${MES-./src/mes}
51 21-define-procedure.scm
52 22-define-procedure-2.scm
56 26-begin-define-later.scm
62 2c-define-lambda-recurse.scm
63 2d-define-lambda-set.scm
67 2f-define-second-lambda.scm
72 32-capture-modify-close.scm
73 32-capture-modify-close.scm
74 33-procedure-override-close.scm
75 34-cdr-override-close.scm
77 36-closure-override.scm
80 39-global-define-override.scm
81 3a-global-define-lambda-override.scm
93 4a-define-macro-define-macro.scm
94 4b-define-macro-define.scm
102 53-closure-display.scm
109 if [ ! -f scaffold/boot/$i ]; then
113 guile -L guile -L . <(echo '(use-modules (mes guile))'; cat scaffold/boot/$i) >& /dev/null
115 if [ -z "${i/5[0-9]-*/}" ]; then
116 cat scaffold/boot/$i | MES_BOOT=boot-00.scm $MES 2>&1;
117 elif [ -z "${i/6[0-9]-*/}" ]; then
118 cat scaffold/boot/$i | MES_BOOT=boot-01.scm $MES 2>&1;
120 MES_BOOT=scaffold/boot/$i $MES 2>&1;
124 || (r=$?; echo ' [FAIL]'; echo -e "$x"; echo scaffold/boot/$i; exit $r)