Hi,
got my Teensy-4.0 board last week and I try to compile ulisp-2.8 for this board.
I took the ulisp-arm version; it worked well, there were a few issues (mainly to spi) which need some change (I made 3-4 changes to get it compiled and running).
Here’s a small test with the (tak 18 12 6) benchmark on this board:
uLisp 2.8
51199> (defun tak (x y z)
(if (not (< y x))
z
(tak (tak (1- x) y z)
(tak (1- y) z x)
(tak (1- z) x y))))
tak
51151> (tak 18 12 6)
7
51151> (for-millis () (tak 18 12 6))
419
51151> (for-millis () (princ (tak 18 12 6)))
7
420
51151>
I didn’t do any additional test or optimisation (ie. WORKSPACESIZE ), so it just proofs that ulisp in running on this board. I also don’t know if any hardware functions (I2C, SPI, etc.) are working.
So there’s a lot of things to do, but getting ulisp up and running was no big deal ;-)
If you are interested in my code changes please let me know.
Best regards,
Kaef