![]() We don't emit type annotations right now for `AstLocal`s in the JSON encoder. This makes it really hard to surface annotations in the Agda implementation. This PR changes it to emit location and type annotations, if present. |
||
---|---|---|
.. | ||
Examples | ||
FFI | ||
Luau | ||
Properties | ||
.gitignore | ||
Examples.agda | ||
Interpreter.agda | ||
PrettyPrinter.agda | ||
Properties.agda | ||
README.md |
README.md
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