Skip to content
Concurrency and Metaprogramming for JS
JavaScript Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
build
doc
modules
.gitignore
BUGS
LICENSE
README.md
boot.wat
jsparse.js
man.wat
parser.js
test.wat
vm.js
wat.js

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.

Something went wrong with that request. Please try again.