manbaum / qilang

Automatically exported from code.google.com/p/qilang
0 stars 0 forks source link

Automated Test Suite #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile a new version of Qi.
2. Run test cases.

What is the expected output? What do you see instead?

Qi should build off of one of the Common Lisp test suites to fully automate
Qi testing. Including that in the base system seems appropriate.

Original issue reported on code.google.com by entropyf...@gmail.com on 30 Apr 2007 at 7:43

GoogleCodeExporter commented 8 years ago
Some of the LISP code ends up clashing with the Qi code when trying to compile 
qi.qi.

The main problems are

\Toplevel Qi routine for defining new Qi functions.\
(DEFMACRO define (&REST X) 
  `(COMPILE (EVAL (compile '<qi_compile> (remove-escape (QUOTE ,X))))))

(DEFUN remove-escape (Code) (SUBST '*qi-failure-object* #\Escape Code))

\Qi has a thing about @s (treated as alternative to |) so place in Lisp.\
(DEFUN atsign? (X)
  (IF (EQ X '@) 
       'true 
       'false))   

After that, there is the problem of not being able to re-define the *sysfuncs*.

Original comment by entropyf...@gmail.com on 31 May 2007 at 4:44