-
Notifications
You must be signed in to change notification settings - Fork 108
Medium size Projects
Henry Baker discussion on how to implement subtypep
may be of help
Commonly source positions are tracked in Lisp by a list of numbers where each number is form and each successive number indices a subform in the previous one. So (3)
refers to the third top level form in file and (2 3)
refers to the 3rd subform in the second top level form of a file. The reader could keep track of forms in this format and later when the compiler is generating code emit a sourcemap in the line and column number format.
The idea is that when a file is compiled we first look for a file with the same name and a jso extension and only if the modification date of the file being compiled is more recent than the jso file the compiler is called. Otherwise the jso file included as is.
- A WIP branch to port the Symbolics Loop implementation
- A WIP brach to port the MIT Loop implementation
Currently the JSCL's reader does not support reader macros. The #j
syntax for FFI is hardcoded into the reader.