Moved the interpreter into ronin

This commit is contained in:
Devine Lu Linvega
2019-07-21 08:25:23 +09:00
parent 0e7af66c16
commit aaa77de890
3 changed files with 8 additions and 5 deletions

View File

@@ -10,6 +10,8 @@ function Ronin () {
b_low: '#aaa',
b_inv: '#ffb545'
}
this.includes = ['prelude']
this.el = document.createElement('div')
this.el.id = 'ronin'
@@ -19,11 +21,11 @@ function Ronin () {
this.commander = new Commander(this)
this.surface = new Surface(this)
this.library = new Library(this)
this.interpreter = new Lisp(this.library, this.includes)
// Parameters
this.always = false
this.includes = ['prelude']
this.install = function (host = document.body) {
this._wrapper = document.createElement('div')