TypeRunner
TypeRunner copied to clipboard
Can you support transformation?
I've developed an open source library typescript-json based on transformer (ttypescript).
If this C++ type checker being published, I will support it as soon as possible.
Therefore, can you support such transformation function?
Do you mean transformer written in JavaScript/TypeScript, or in C++?
Same question. I have transformers written in TypeScript that I'd like to get supported in TypeRunner. It'd be even better if they were supported out-of-the-box.
@marcj In my case, not a matter whether TS or C++.
C++ hook system will definitely be added. TS not so much as it would require me to map the entire AST as a node addon
@marcj I've written language servers for VS Code before, it's refreshingly simple as long as you stick to the Node.JS ecosystem. As far as I understand it, Node / C++ bindings are painful but not prohibitively so.
Have you investigated developing a VS Code Language Server? If not, you might find it's less painful than you anticipate. I was able to go from zero to a working language server in about a week following their examples, just for an in house DSL we use. Again - as long as you stay in Node.js land it's pretty easy.
I would pay for, and I'm sure thousands of developers would likewise pay for, a faster VS Code language server even if it didn't have 100% parity with TypeScript.
@bryanrideshark I'm not sure what you are trying to say as this is about transformers and not related to Node/Language server.
I would pay for, and I'm sure thousands of developers would likewise pay for, a faster VS Code language server even if it didn't have 100% parity with TypeScript.
Thanks dude! There will be a language server for IDEs such as VS code, but not written in Node, but in C++ 💪