A compile to Lua language for love2D ?
Posted: Thu May 07, 2020 5:37 am
How would you guys feel about a compile to lua language for Love2d that has python like clean indentation based
syntax. (implemented in typescript with VSCode / Atom integration) ?
Simile to one of my older projects (https://github.com/inJuly0/Ave/blob/mas ... ntation.md)
How many of you would use something like that if I went ahead and made it ?
It would take in .ave files and spit out .lua files.
Features would be:
1. Optional strict type checking
2. Clean, indentation based syntax
3. String interpolation
4. Compound assignment operators (value += 1 instead of value = value + 1)
5. Enums , Classes and Object Oriented Programming (simulated via metatables and meta methods)
6. short hand syntactic sugars like `evenArray = i for i in 1, 10 when i % 2 == 0 `
7. constants (JS's const keyword)
I wonder if such a tool would be used by people. Let me know what you guys think
syntax. (implemented in typescript with VSCode / Atom integration) ?
Simile to one of my older projects (https://github.com/inJuly0/Ave/blob/mas ... ntation.md)
How many of you would use something like that if I went ahead and made it ?
It would take in .ave files and spit out .lua files.
Features would be:
1. Optional strict type checking
2. Clean, indentation based syntax
3. String interpolation
4. Compound assignment operators (value += 1 instead of value = value + 1)
5. Enums , Classes and Object Oriented Programming (simulated via metatables and meta methods)
6. short hand syntactic sugars like `evenArray = i for i in 1, 10 when i % 2 == 0 `
7. constants (JS's const keyword)
I wonder if such a tool would be used by people. Let me know what you guys think