Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'lisp-toplevel' form to coalton syntax
lisp-toplevel may appear at any point in a coalton-toplevel or coalton file context. During code generation, lisp forms are merged with coalton definitions according to the rule: 1. coalton forms are emitted in scc order 2. every time a coalton form is emitted, all lisp forms lexically preceding that form are emitted first Convert math/num.lisp from interleaved lisp and coalton-toplevel forms to a single coalton-toplevel form containing multiple lisp-toplevel forms. Lisp-toplevel is, initially, restricted to library source code.
- Loading branch information