Concurrency and Metaprogramming for JS
JavaScript Scheme Common Lisp Shell
Permalink
Failed to load latest commit information.
bin Update API: use wat.vm() instead of new wat.VM(). Mar 23, 2014
build
doc
modules Add push-prompt-subcont to plug memory leak Mar 31, 2014
.gitignore &rest -> . Mar 23, 2014
BUGS
LICENSE Split into separate files, joined by browserify. Mar 23, 2014
README.md Update API: use wat.vm() instead of new wat.VM(). Mar 23, 2014
boot.wat Add string->symbol, js-lambda. Oct 19, 2014
jsparse.js
man.wat
parser.js Add \0 escape. Aug 14, 2014
test.wat
vm.js
wat.js Terminology changes Mar 23, 2014

README.md

Wat

Concurrency and Metaprogramming for JS

Wat is a tiny language with powerful concurrency and metaprogramming features for embedding in JavaScript programs.

Wat is developed by Manuel Simoni (msimoni@gmail.com).

Usage

Browser

<html>
<head>
  <script type="text/javascript" src="./build/wat.js"></script>
</head>
<body>
  <script type="text/javascript">
    var vm = wat.vm();
    console.log(vm.eval("(+ 1 2)"));
  </script>
</body>
</html>

Node.js

> var vm = require("./build/wat").vm();
> vm.eval("(+ 1 2)");
3

More documentation upcoming!

For now, follow http://axisofeval.blogspot.com/search/label/wat and/or https://twitter.com/msimoni for updates.