Skip to content

How do I build a C++ program with tree-sitter and tree-sitter-cpp on Windows #2141

Closed Answered by sogaiu
JonnyKelso asked this question in Q&A
Discussion options

You must be logged in to vote

I think that grammar has an external scanner portion so that source needs to be accounted for when compiling.

The following is part of a shell script that accounts for that kind of situation: https://github.com/casouri/tree-sitter-module/blob/d3ed3beb47dcc7b73098f636af737f489fb5c93c/build.sh#L108-L127

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by JonnyKelso
Comment options

You must be logged in to vote
1 reply
@sogaiu
Comment options

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