Skip to content

Advice for Language Servers using parsers written in C++ #9632

Answered by sean-mcmanus
gnikit asked this question in Q&A
Discussion options

You must be logged in to vote

TypeScript to LSP server communication could be done with any JSON serialization library and doesn't require RPCs. Our AST isn't sent to TypeScript -- if that's what you're trying to do then we don't have any advice on that. Our LSP server just reads the JSON messages and returns JSON results. The LSP is versioned so you can stay on an older version unless you need a newer one for a particular feature so I'm not sure what maintenance nightmare you're referring to.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@sean-mcmanus
Comment options

@gnikit
Comment options

@gnikit
Comment options

@sean-mcmanus
Comment options

@certik
Comment options

Answer selected by gnikit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants