luau/prototyping
2022-02-17 13:40:48 -08:00
..
Examples revise w/ pr feedback 2022-02-17 13:40:48 -08:00
FFI numbers work 2022-02-16 11:47:51 -08:00
Luau revise w/ pr feedback 2022-02-17 13:40:48 -08:00
Properties revise w/ pr feedback 2022-02-17 13:40:48 -08:00
.gitignore numbers work 2022-02-16 11:47:51 -08:00
Examples.agda Add a typeToString function to the prototype (#354) 2022-02-11 14:38:35 -06:00
Interpreter.agda revise w/ pr feedback 2022-02-17 13:40:48 -08:00
PrettyPrinter.agda revise w/ pr feedback 2022-02-17 13:40:48 -08:00
Properties.agda Add a typeToString function to the prototype (#354) 2022-02-11 14:38:35 -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