ajeffrey@roblox.com
ae0745e800
WIP
2022-02-24 10:46:27 -06:00
ajeffrey@roblox.com
c6c0097729
WIP
2022-02-24 10:43:04 -06:00
ajeffrey@roblox.com
2b52a6eb68
Merge remote-tracking branch 'upstream/master' into prototyping-strict-mode
2022-02-23 18:30:19 -06:00
Lily Brown
cd18adc20e
Prototyping: binary operations ( #377 )
...
Adds support for binary operations on numbers.
2022-02-22 15:52:56 -08:00
ajeffrey@roblox.com
ef92fd8586
Finished strict mode subjsect reduction
2022-02-22 17:50:33 -06:00
ajeffrey@roblox.com
80b1fc5a71
WIP
2022-02-22 15:14:42 -06:00
Alan Jeffrey
fc33b0c702
Fix evaluation rule for function application ( #375 )
2022-02-18 16:47:23 -06:00
ajeffrey@roblox.com
cd9182ca5f
WIP
2022-02-18 14:43:31 -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
ajeffrey@roblox.com
90229615b5
WIP
2022-02-17 18:24:36 -06:00
ajeffrey@roblox.com
8e52542526
WIP
2022-02-16 23:03:40 -06:00
ajeffrey@roblox.com
1f4d77bac9
WIP
2022-02-15 22:47:59 -06: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
ajeffrey@roblox.com
3f2ca3d4ad
Working on strict mode
2022-02-14 18:43:46 -06: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
ajeffrey@roblox.com
50f97b0046
First shot at strict mode warnings
2022-02-14 15:30:31 -06:00
Alan Jeffrey
e0a9bc191a
Prototype: added syntax for optional type annotations ( #358 )
2022-02-11 19:03:26 -06:00
ajeffrey@roblox.com
1a35e3e1cc
Finished the typechecker for fully type-annotated programs
2022-02-11 18:24:02 -06:00
ajeffrey@roblox.com
9f68a4f802
More work on infallible typechecking
2022-02-11 14:50:50 -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
ajeffrey@roblox.com
6193fc8fc4
Removed AnonFunDec
2022-02-11 10:43:33 -06:00
ajeffrey@roblox.com
1d66d8a3d3
Track untyped v typed syntax
2022-02-10 20:11:59 -06:00
ajeffrey@roblox.com
53b5251c0a
Complete (I hope) defn of typechecking derivation trees
2022-02-10 16:53:59 -06:00
ajeffrey@roblox.com
efa0ceede2
Improved VarDec syntax
2022-02-10 11:13:13 -06:00
ajeffrey@roblox.com
daa38aa29d
Improved typeToString
2022-02-09 18:31:55 -06:00
Alan Jeffrey
5187e64f88
Implement a prototype interpreter ( #353 )
...
* First cut interpreter
2022-02-09 17:14:29 -06:00
ajeffrey@roblox.com
74ff8c6efc
Started on typechecking
2022-02-09 15:28:24 -06:00
ajeffrey@roblox.com
8573eeda49
First draft interpreter
2022-02-09 14:23:25 -06:00
ajeffrey@roblox.com
496a093abb
Added step function
2022-02-09 10:39:30 -06:00
ajeffrey@roblox.com
38c9b54e75
First cut operational semantics
2022-02-08 18:34:41 -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