Commit graph

35 commits

Author SHA1 Message Date
ajeffrey@roblox.com
02e65d8888 WIP 2022-05-24 14:25:43 -05:00
ajeffrey@roblox.com
cac0dc6529 WIP 2022-05-23 19:13:42 -05:00
ajeffrey@roblox.com
12cf0b01a1 WIP 2022-05-12 19:11:53 -05:00
ajeffrey@roblox.com
b76621d21a WIP 2022-05-12 19:11:13 -05:00
ajeffrey@roblox.com
cecd783b54 WIP 2022-04-29 16:25:11 -05:00
ajeffrey@roblox.com
87b55d6e95 WIP 2022-04-28 18:47:09 -05:00
ajeffrey@roblox.com
623768e1b3 Merge branch 'prototyping-type-normalizaton' into prototyping-function-overload-resolution 2022-04-28 16:13:10 -05:00
ajeffrey@roblox.com
ec32877f06 Sigh, forgot to add some files 2022-04-26 14:23:21 -05:00
ajeffrey@roblox.com
4033100f50 WIP 2022-04-26 13:35:12 -05:00
ajeffrey@roblox.com
f6d3981936 WIP 2022-04-26 11:22:33 -05:00
ajeffrey@roblox.com
139de8f58b WIP 2022-04-25 17:47:53 -05:00
ajeffrey@roblox.com
fc4a789edc Added type normalization 2022-04-25 11:20:50 -05:00
ajeffrey@roblox.com
5bf95afdf1 WIP 2022-04-22 19:52:49 -05:00
ajeffrey@roblox.com
1733f300bb WIP 2022-04-22 19:11:57 -05:00
ajeffrey@roblox.com
f3dce67895 WIP 2022-04-22 19:04:56 -05:00
ajeffrey@roblox.com
2e4f24f0f8 WIP 2022-04-22 19:04:21 -05:00
ajeffrey@roblox.com
a767929546 WIP 2022-04-21 17:11:09 -05:00
ajeffrey@roblox.com
c7d6cbfc95 WIP 2022-04-21 15:13:39 -05:00
Alan Jeffrey
5bb9f379b0
Unified strict and nonstrict mode in the prototype (#458) 2022-04-15 19:19:42 -05:00
ajeffrey@roblox.com
b3e538a328 Boiled properties of function overloading down to 4 lemmas 2022-04-15 12:49:26 -05:00
ajeffrey@roblox.com
8f134dcc88 Unified strict and nonstrict mode in the prototype 2022-04-13 15:37:17 -05:00
Alan Jeffrey
d37d0c857b
Prototype: Renamed any/none to unknown/never (#447)
* Renamed any/none to unknown/never
* Pin hackage version
* Update Agda version
2022-04-09 00:07:08 -05:00
Alan Jeffrey
7721955ba5
Prototyping: add semantic subtyping (#424)
Adds subtyping to strict mode.
2022-03-23 15:02:57 -05:00
Lily Brown
6c923b8802
Prototyping: strings (#390) 2022-03-02 15:26:58 -08:00
Alan Jeffrey
c5477d522d
Prototyping strict mode (#399)
* First cut of strict mode

Co-authored-by: Lily Brown <lily@lily.fyi>
2022-03-02 16:02:51 -06:00
Lily Brown
0bd21762ae
Prototype bools and relational operators (#387)
Prototypes booleans and relational operators.

As part of this I removed `FFI/Data/Bool.agda`, because it was getting in the way - we already use `Agda.Builtin.Bool` instead for other cases.
2022-02-24 11:17:46 -08:00
Lily Brown
cd18adc20e
Prototyping: binary operations (#377)
Adds support for binary operations on numbers.
2022-02-22 15:52:56 -08:00
Alan Jeffrey
fc33b0c702
Fix evaluation rule for function application (#375) 2022-02-18 16:47:23 -06:00
Lily Brown
7f867ac166
Prototyping: numbers (#368)
Adds number support to the prototype. Binary operators are next.
2022-02-18 11:09:00 -08:00
Lily Brown
f0c9d84461
Prototyping: Parse type annotations (#366)
Parses type annotations from the JSON output of `luau-ast`.
2022-02-15 14:10:43 -08:00
Lily Brown
4b7e06e14f
Emit more information for AstLocals in JSON encoder (#364)
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.
2022-02-14 14:14:11 -08:00
Alan Jeffrey
e0a9bc191a
Prototype: added syntax for optional type annotations (#358) 2022-02-11 19:03:26 -06:00
Alan Jeffrey
db90c7da48
Add a typeToString function to the prototype (#354)
* Added Luau.Type.ToString
2022-02-11 14:38:35 -06:00
Alan Jeffrey
5187e64f88
Implement a prototype interpreter (#353)
* First cut interpreter
2022-02-09 17:14:29 -06:00
Alan Jeffrey
041838a942
Prototyping a small subset of Luau in Agda (#350)
* First cut reading JSON into an Agda representation of Luau syntax
2022-02-08 18:26:58 -06:00