1
0
forked from alex-eg/sex

read the unit tests' sources from a file, the way sexc does

The reader exported parse-all only so the tests could give a source the
file name its locations carry; read-from-file gives it one, through the
reader's own interface. The pipeline helpers move out of codegen.scm for
every suite to use.
This commit is contained in:
2026-10-20 11:48:02 +03:00
parent 8488a58be1
commit 4758802810
6 changed files with 89 additions and 88 deletions

View File

@@ -5,8 +5,7 @@
;;; is checked here is what the compiler refuses, and that it refuses
;;; it with the name of whatever is wrong.
;;;
;;; `sex->c', `read-source', `fails-with?', `emits?', `reports?'
;;; and `in-fn' come from codegen.scm, which run.scm includes first.
;;; `in-fn' comes from codegen.scm, which run.scm includes first.
(import sex-modules)