2016-11-19 22:25:24 +00:00
|
|
|
#! /bin/sh
|
|
|
|
# -*-scheme-*-
|
|
|
|
# ***REMOVE THIS BLOCK COMMENT INITIALLY***
|
2016-12-07 19:26:41 +00:00
|
|
|
echo ' ()' | cat $0 /dev/stdin | $(dirname $0)/../scripts/mes $MES_FLAGS "$@"
|
2016-11-19 22:25:24 +00:00
|
|
|
#paredit:||
|
|
|
|
exit $?
|
|
|
|
!#
|
|
|
|
|
|
|
|
;; FIXME
|
|
|
|
(gc)
|
|
|
|
|
|
|
|
|
|
|
|
0
|
|
|
|
cons
|
|
|
|
(cons 0 1)
|
|
|
|
(display 0) (newline)
|
|
|
|
#t
|
|
|
|
#f
|
|
|
|
(display #t) (newline)
|
|
|
|
(display #f) (newline)
|
|
|
|
'foo
|
|
|
|
(display 'foo) (newline)
|
|
|
|
(display #x16) (newline)
|
|
|
|
(display #\A) (newline)
|
|
|
|
(display #\newline) (newline)
|
2016-12-18 14:39:12 +00:00
|
|
|
#\alarm
|
|
|
|
#\backspace
|
|
|
|
#\tab
|
|
|
|
#\newline
|
|
|
|
#\vtab
|
|
|
|
#\page
|
|
|
|
#\return
|
|
|
|
#\space
|
|
|
|
(display "\"")
|
|
|
|
(display "\\")
|
|
|
|
(display "\\\"\"\\")
|
2016-11-19 22:25:24 +00:00
|
|
|
(display 'foo)(newline)
|
|
|
|
(display '(foo))(newline)
|
|
|
|
(display '('foo))(newline)
|
|
|
|
(display (cdr '(car . cdr))) (newline)
|
|
|
|
(display "foo bar") (newline)
|
|
|
|
;;barf
|
|
|
|
#!
|
|
|
|
barf
|
|
|
|
!#
|
2016-12-18 09:11:22 +00:00
|
|
|
#|
|
|
|
|
burp
|
|
|
|
|#
|
2016-12-18 09:02:49 +00:00
|
|
|
#;(bla) (display "must see!\n")
|
2016-11-19 22:25:24 +00:00
|
|
|
(display `(display ,display)) (newline)
|
|
|
|
(display `(display ,@'(string port))) (newline)
|
|
|
|
(display #(0 1 2)) (newline)
|
|
|
|
(display (list '(foo
|
|
|
|
#! boo !#
|
|
|
|
;;(bb 4)
|
|
|
|
)
|
|
|
|
))
|
|
|
|
(newline)
|
|
|
|
|
|
|
|
;; TODO: syntax, unsyntax, unsyntax-splicing
|