The source code for the scripting functions in the Drummer outliner.
scripting.js contains one function, runScriptText, which is the equivalent of eval in JavaScript.
verbs.js defines all the verbs in the language, this is where most of the work went, and should continue.
jstokens.js -- part of the script compiler.
These files must be included for the code to run.
-
http://scripting.com/publicfolder/code/jsParserForLO2/acorn.js
-
http://scripting.com/publicfolder/code/jsParserForLO2/escodegen.browser.js
All this code is managed in Drummer of course.
To read all the code, which is in source.opml:
-
Copy this URL on the clipoard.
-
Open Drummer.
-
Choose Open URL from the File menu.
-
Paste the URL, click OK.