Commit graph

10 commits

Author SHA1 Message Date
ebc48fff5a Desugar field assignment 2022-11-21 14:05:07 +01:00
3f8320941a Desugar field access 2022-11-21 13:49:37 +01:00
b84d5ae0c8 Create new objects with existing span
I've decided that attempting to create smaller spans is more difficult
and will also lead to worse error messages later on. It makes more sense
to just tag every newly created syntax tree element with the span of the
element it comes from.
2022-11-21 13:36:21 +01:00
5c8dd1969f Desugar function calls with argument 2022-11-21 13:35:36 +01:00
7bfaebc05f Desugar function calls with table constructor 2022-11-21 13:07:10 +01:00
a3d6efcaec Desugar function calls without args 2022-11-21 12:35:53 +01:00
52c1aeba35 Desugar literals 2022-11-21 12:05:24 +01:00
8278442d3f Expand expression desugaring 2022-11-21 11:43:31 +01:00
13b7db79b0 Desugar separated elements 2022-11-21 11:35:58 +01:00
8b21acac9e Add desugar command and desugar programs 2022-11-21 09:33:34 +01:00