Open dead-claudia opened 10 years ago
Here's what I found so far poking around src/ast.ls. I haven't labelled any types beside sub-objects.
o:
level
indent
saveScope
filename
bare
eval
loop
labels
break
continue
ref:
erred
block:
scope
scope:
assign
free
temporary
check
checkReadOnly
declare
fun:
bound
name
This is one thing that is relatively nonexistent on the site, and is hard to find elsewhere. I know that there is
LiveScript.compile()
andLiveScript.run()
, but here's all I've figured out so far:LiveScript.compile(compileString :: string, options :: object = {})
LiveScript.run(programString :: string)
This would be really useful information, especially when writing build scripts or just compiling/interpreting it on the fly if need be (and not just Grunt/Gulp/etc).
Also, just explaining it here I don't find sufficient...it really belongs on the website as well.