thesis-lisp/mod1.vml
Mark Poliakov 91961bcec5 Lots of changes with long commit message again
1. (list ...)
2. string-* functions
3. (native str) to resolve native functions at runtime
4. Memory fuckups in compiler core unit loading
5. Now can call non-identifiers in compiler
2021-04-09 00:18:48 +03:00

12 lines
191 B
Plaintext

(use core)
(define (string-chars s)
(define len (string-length s))
(define out nil)
(while (/= len 0)
(setq len (- len 1))
(setq out (cons (string-ref s len) out))
)
out
)