Rethink mapping GML identifiers to TypeScript
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I want to automatically rename GML functions to their closest idiomatic TypeScript / JavaScript equivalents. So, for example, instead of perfectly emulating GML's math functions, simple map onto equivalent JS `Math` methods.
Track dependencies; automatically insert the necessary `require()` calls.
Certain object properties should remap to other names or sub-properties. E.g. GML's `sprite_index` -> JS `this.sprite.index`. Also automatically create a `private sprite: Sprite` field in the class?
Devise some sort of data structure that describes, in a generic way, all of the identifier renaming to be performed, as well as other side-effects (using a method requires loading a module, presence of a property necessitates adding a private field to an object, etc)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.