Complete reworking of the REPL
which is good in itself, but not what I was meant to be working on.
This commit is contained in:
parent
47f4b4c7f7
commit
02fe5669d8
43 changed files with 415 additions and 281 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
expected='nil3628800'
|
||||
actual=`target/psse 2>/dev/null <<EOF
|
||||
expected='nil 3628800'
|
||||
output=`target/psse 2>/dev/null <<EOF
|
||||
(progn
|
||||
(set! fact
|
||||
(lambda (n)
|
||||
|
|
@ -10,6 +10,7 @@ actual=`target/psse 2>/dev/null <<EOF
|
|||
nil)
|
||||
(fact 10)
|
||||
EOF`
|
||||
actual=`echo $output | tail -1`
|
||||
|
||||
if [ "${expected}" = "${actual}" ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue