[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Difficulty building tree-sitter grammars [was: Help sought from C++
Re: Difficulty building tree-sitter grammars [was: Help sought from C++ expert: ....]
Thu, 19 Jan 2023 19:53:03 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2
On 19/01/2023 19:14, Alan Mackenzie wrote:
I suggest that these instructions in NEWS should be enhanced with (i)
Tips on downloading stuff from github; (ii) A sample command line for
compiling the C/C++ source files; (iii) A sample command line for
linking these to the needed .so file. Possibly two or three versions of
these would be needed for the different environments Emacs runs in.
Not to detract from your feedback on the documentation, but 'M-x
treesit-install-language-grammar' even without existing presets these,
turned out to be very helpful in my experience.
E.g., for c++ I choose 'cpp', answer yes to building manually, paste the
github repository url when asked, press RET several times, and voila.
Re: Help sought from C++ expert: is this `value' a type or something else (what)?, Michael Welsh Duggan, 2023/01/19
Re: Help sought from C++ expert: is this `value' a type or something else (what)?, Óscar Fuentes, 2023/01/20