Files
beluga/lisp-interpreter/tests/printer/test.sh
T
Arthur Barraux d8fc7d2d67
Meson Build and Deploy / build (push) Failing after 29s
adding lisp-interpreter
2025-09-24 10:58:09 +02:00

15 lines
290 B
Bash
Executable File

#!/bin/sh
# make sure reader and writer work and are compatible.
# 1. load s expresion, print it out.
cat sample.scm | ../../printer > temp1.scm
# 2. load the output, print it out again.
cat temp1.scm | ../../printer > temp2.scm
# 3. ensure both outputs match
cmp temp1.scm temp2.scm