Archived
lastest
This commit is contained in:
1 parent
620fc5bda1
commit
bd3ef9f279
779 files changed
+202868
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
To use OMeta under Rhino:
|
||||
|
||||
Monad:~/prog/ometa-js awarth$ java org.mozilla.javascript.tools.shell.Main
|
||||
Rhino 1.7 release 1 2008 03 06
|
||||
js> load("ometa-rhino.js")
|
||||
js> ometa("ometa M { ones = 1* }")
|
||||
[object Object]
|
||||
js> M.matchAll([1, 1, 1, 1, 1], "ones")
|
||||
[1, 1, 1, 1, 1]
|
||||
|
||||
Reference in new issue
Block a user