4 # For use as a scaffolded sexp reader test
5 # ***REMOVE THIS BLOCK COMMENT INITIALLY***
7 # GNU Mes --- Maxwell Equations of Software
8 # Copyright © 2016, 2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
10 # This file is part of GNU Mes.
12 # GNU Mes is free software; you can redistribute it and/or modify it
13 # under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 3 of the License, or (at
15 # your option) any later version.
17 # GNU Mes is distributed in the hope that it will be useful, but
18 # WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
26 MES=${MES-$(dirname $0)/../src/mes}
36 (display #t) (newline)
37 (display #f) (newline)
39 (display 'foo) (newline)
40 (display #o77) (newline)
41 (display #o-6) (newline)
42 (display #x16) (newline)
43 (display #x-16) (newline)
44 (display #\A) (newline)
45 (display #\newline) (newline)
57 (display 'foo)(newline)
58 (display '(foo))(newline)
59 (display '('foo))(newline)
60 (display (cdr '(car . cdr))) (newline)
61 (display "foo bar") (newline)
69 #;(bla) (display "must see!\n")
74 (display #(0 1 2)) (newline)
81 ;; TODO: syntax, unsyntax, unsyntax-splicing