luau/prototyping
2022-02-07 11:45:33 -06:00
..
Examples Improved handling of Stat/Block 2022-02-04 18:53:55 -06:00
FFI Added more FromJSON keys 2022-02-07 11:45:33 -06:00
Luau Added more FromJSON keys 2022-02-07 11:45:33 -06:00
.gitignore First cut reading JSON into Agda 2022-02-02 19:01:33 -06:00
Examples.agda Added bare-bones examples 2022-02-04 16:52:39 -06:00
Main.agda Added pretty printer 2022-02-03 17:45:22 -06:00
README.md Improved handling of Stat/Block 2022-02-04 18:53:55 -06:00

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 Main.agda

and run!

  echo '[{"AstStatReturn":{"AstExprConstantNil": {}}}]' | ./Main