Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OMeta for JavaScript
JavaScript C++
branch: master

This branch is 16 commits ahead, 29 commits behind alexwarth:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Not_Quite_JS.txt
OMeta_Tutorial.txt
OMeta_WJS.wjs
OMeta_WJS_Mods.js
README.md
Things_You_Should_Know.txt
Worlds2.js
Worlds2_Library.js
arrays.wjs
bs-js-compiler.js
bs-js-compiler.txt
bs-ometa-compiler.js
bs-ometa-compiler.txt
bs-ometa-js-compiler.js
bs-ometa-js-compiler.txt
bs-ometa-optimizer.js
bs-ometa-optimizer.txt
bs-project-list-parser.js
bs-project-list-parser.txt
index.html
index.js
lib.js
license.md
newLineGrammar.ometa
newLineTest.js
ometa-base.js
ometa-node.js
ometa-rhino.js
ometa-script-tag.js
oshell
package.json
parser.js
prototype-fix.js
prototype.js
readme-rhino.txt
standalone.html
v8-shell.cc
w2shell
wiki.js
workspace.js

README.md

OMeta/JS

OMeta/JS is a JavaScript implementation of OMeta

Main Repository

This repository is a forked version of the original intended to provide an api to node.js and also a package for npm. Questions about the core should be directed to the original author, Alessandro Warth.

Original README

The following files contain some important info:

  • Not_Quite_JS.txt explains the difference between "real" JavaScript and the JavaScript that can be used in the OMeta/JS Workspace.

  • Things_You_Should_Know.txt explains the differences between the original OMeta syntax (as it appeared in the DLS'07 paper) and the newer OMeta/js syntax.

  • OMeta_Tutorial.txt contains a bunch of examples that show how OMeta can be used for pattern matching, parsing, etc.

Another good resource for OMeta programmers is the OMeta mailing list. To subscribe, please visit:

http://vpri.org/mailman/listinfo/ometa

And you can also browse the archives of the mailing list at:

http://vpri.org/pipermail/ometa/

Cheers, Alex

MIT and Modified MIT License

Copyright (c) 2010 Brian Mavity

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Except as contained in this notice, the name(s) of the above copyright holders shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization.

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) 2007-2010 Alessandro Warth

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.