luau/prototyping
2022-02-22 17:50:33 -06:00
..
Examples Finished strict mode subjsect reduction 2022-02-22 17:50:33 -06:00
FFI Finished strict mode subjsect reduction 2022-02-22 17:50:33 -06:00
Luau Finished strict mode subjsect reduction 2022-02-22 17:50:33 -06:00
Properties Finished strict mode subjsect reduction 2022-02-22 17:50:33 -06:00
.gitignore WIP 2022-02-18 17:57:27 -06:00
Everything.agda Finished the typechecker for fully type-annotated programs 2022-02-11 18:24:02 -06:00
Examples.agda Improved typeToString 2022-02-09 18:31:55 -06:00
Interpreter.agda WIP 2022-02-18 14:43:31 -06:00
PrettyPrinter.agda WIP 2022-02-18 14:43:31 -06:00
Properties.agda First shot at strict mode warnings 2022-02-14 15:30:31 -06:00
README.md Prototyping a small subset of Luau in Agda (#350) 2022-02-08 18:26:58 -06:00

Prototyping Luau

prototyping workflow

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