Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you support transformation? #6

Open
samchon opened this issue Oct 18, 2022 · 6 comments
Open

Can you support transformation? #6

samchon opened this issue Oct 18, 2022 · 6 comments

Comments

@samchon
Copy link

samchon commented Oct 18, 2022

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?

@marcj
Copy link
Owner

marcj commented Oct 18, 2022

Do you mean transformer written in JavaScript/TypeScript, or in C++?

@zaguiini
Copy link

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.

@samchon
Copy link
Author

samchon commented Oct 18, 2022

@marcj In my case, not a matter whether TS or C++.

@marcj
Copy link
Owner

marcj commented Oct 19, 2022

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

@bryanrideshark
Copy link

bryanrideshark commented Oct 19, 2022

@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.

@marcj
Copy link
Owner

marcj commented Oct 24, 2022

@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++ 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants