luau/prototyping/README.md
ajeffrey@roblox.com 50a9ea1b63 Updated README
2022-02-07 17:09:58 -06:00

25 lines
486 B
Markdown

# Prototyping Luau
An experimental prototyping system for the Luau type system. This is
intended to allow core language features to be tested quickly, without
having to interact with all the features of production Lua.
## Building
First install Haskell and Agda.
Install dependencies:
```
cabal update
cabal install --lib aeson scientific vector
```
Then compile
```
agda --compile PrettyPrinter.agda
```
and run!
```
luau-ast Examples/SmokeTest.lua | ./PrettyPrinter
```