Update test program

This commit is contained in:
madmaurice 2021-04-02 01:02:45 +02:00
parent 222c8dfc8b
commit 7e7defbb9a

View file

@ -4,11 +4,10 @@ use Minilisp;
use Data::Dumper; use Data::Dumper;
my $term = <<EOF; my $term = <<EOF;
(progn (let
(print "Hello") ((avg-4 (lambda (a b c d) (/ (+ a b c d) 4))))
(print "World") (write-line (avg-4 1 2 3 4))
(print a) (write-line (avg-4 2 3 4 5)))
1)
EOF EOF
my $parsed = Minilisp::compile($term); my $parsed = Minilisp::compile($term);