From a89d6c82e981fec7d6e4c975e083d2b9e04467ad Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Mon, 1 May 2023 07:56:42 -0700 Subject: Rewrite most of the compiler. This represents a major step back in terms of functionality, and amount of code. The latter I think constitutes a major win. Next steps are to reimplement syntax-rules, call/cc, and call-with-values. --- tests/test-main.csc | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 tests/test-main.csc (limited to 'tests') diff --git a/tests/test-main.csc b/tests/test-main.csc deleted file mode 100644 index c10c882..0000000 --- a/tests/test-main.csc +++ /dev/null @@ -1,21 +0,0 @@ -(import (scheme base) - (only (csc testing) - test-main) - (only (scheme eval) - environment)) - - -(define (filename->library f) - (call-with-input-file f - (lambda (p) - ; (define-library ... - (cadr (read p))))) - - -; Guile's load function allows import forms, but by a strict reading of R7RS, -; load can only handle expressions and definitions. I'm working around this by -; defining each test as a library, and using the environment procedure to load -; the libraries at runtime. Somehow this should be more portable. -(apply environment - (map filename->library (cdr (command-line)))) -(test-main) -- cgit v1.3.1