Add some example scripts to test against

This commit is contained in:
2025-06-03 00:29:15 +01:00
parent 70aa166624
commit 678a2abe60
3 changed files with 2543 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ CC=gcc
OUT=oats.out
INCLUDES=-I.
LIBS=
ARGS=
ARGS=./examples/test.scm
RELEASE=0
GFLAGS=-Wall -Wextra -Wswitch-enum -Werror -std=c11

2516
examples/r7rs-tests.scm Normal file

File diff suppressed because it is too large Load Diff

26
examples/test.scm Normal file
View File

@@ -0,0 +1,26 @@
;; a comment at the start
( ; another comment here
print #|
Another comment here
|#
;; a comment here
"Hello, world! " ; maybe comments here
NIL
)
;; comments here comments here comments here comments here comments here
;; comments here comments here comments here comments here
#|
|#