transcendental-lisp/fitnesse/FitNesseRoot/TranscendentalLisp/Macros.wiki

13 lines
401 B
Plaintext
Raw Permalink Normal View History

2017-03-13 10:15:05 -04:00
---
Test
---
A simple macro example.
| script | lisp interpreter fixture |
| check | evaluate text | (load "lisp/macro/nif.lisp") | T |
| check | evaluate text | (nif 10 'p 'z 'n) | P |
| check | evaluate text | (nif 0 'p 'z 'n) | Z |
| check | evaluate text | (nif -2 'p 'z 'n) | N |
| check | evaluate text | (nif (- 10 9) 'p 'z 'n) | P |