Narcissus/Development: Difference between revisions

Jump to navigation Jump to search
Narcissus.options
(updated module names)
(Narcissus.options)
Line 5: Line 5:
* '''host''' ("host code," "host JS," etc): JS code in the implementation of Narcissus
* '''host''' ("host code," "host JS," etc): JS code in the implementation of Narcissus
* '''user''' ("user code," "user JS," etc): JS code being interpreted by Narcissus
* '''user''' ("user code," "user JS," etc): JS code being interpreted by Narcissus
== Narcissus global object ==
Loading the Narcissus source files creates a global variable <code>Narcissus</code>.
<code>Narcissus.options</code> is an object which can be used to set some global configuration options for Narcissus. Currently there is just one configuration option:
{| border="1"
! Property || Options
|-
| <code>version</code> || <code>185</code>, <code>"harmony"</code>
|}


== Narcissus modules ==
== Narcissus modules ==
Line 42: Line 54:


'''TODO:''' tighten this up as it stabilizes
'''TODO:''' tighten this up as it stabilizes
== Configuration ==
'''TODO:''' write this
* <code>Narcissus</code> global
* <code>Narcissus.options</code>


== Interpreter ==
== Interpreter ==
34

edits

Navigation menu