Skip to content

Medium size Projects

Javier Olaechea edited this page Mar 10, 2016 · 1 revision

Type system

Henry Baker discussion on how to implement subtypep may be of help

Discuss further

Source map

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.

Discuss further

Incremental compilation

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.

Discuss here

CLOS

Discuss futher

Implement the Loop Macro

Discuss further

Implement reader macros.

Currently the JSCL's reader does not support reader macros. The #j syntax for FFI is hardcoded into the reader.

A javacript pretty printer

Discuss here