add prelude.lisp
This commit is contained in:
@@ -167,10 +167,12 @@ function Lisp (input, lib) {
|
||||
}
|
||||
|
||||
this.parse = function (input) {
|
||||
return parenthesize(tokenize(`(${input})`))
|
||||
return parenthesize(tokenize(input))
|
||||
}
|
||||
|
||||
this.toPixels = async function () {
|
||||
return interpret(this.parse(input))
|
||||
return interpret(this.parse(`(
|
||||
(include "./sources/lisp/prelude.lisp")
|
||||
${input})`))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user