Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Concurrency and Metaprogramming for JS
JavaScript Shell
Branch: master

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.