canhorn / EventHorizon.Blazor.TypeScript.Interop.Generator

This project is a Blazor Interop C# Generator, has a sample against the BabylonJS library.
https://wonderful-pond-05f7b3b10.azurestaticapps.net/
MIT License
132 stars 19 forks source link

Look at Effort to Update TypeScript AST Generator #32

Closed canhorn closed 3 years ago

canhorn commented 3 years ago

Currently the AST generator is not being managed, look at a replacement. Might require NodeJS, but could look at a way to bundle something with the tool to handle this.

canhorn commented 3 years ago

This requires a whole rewrite of the AST abstraction, into something more tuned to this project. But will be able to run in to 2+ modes, based on the implemented AST parsers used. Currently the plan is to use the hardened, modern TS AST parser in JavaScript. So the plan is to add a way to pick the AST parser, and if you have more modern features of TS you can use the NodeJS based parser, or for simple TS definitions you can use the older TS parser.

canhorn commented 3 years ago

Work was done as part of 1.1.1.