emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature/tree-sitter: Where to Put C/C++ Stuff


From: Theodor Thornhill
Subject: Re: feature/tree-sitter: Where to Put C/C++ Stuff
Date: Tue, 01 Nov 2022 14:27:19 +0100


On 1 November 2022 14:10:43 CET, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Tue, 01 Nov 2022 14:05:39 +0100
>> From: Theodor Thornhill <theo@thornhill.no>
>> CC: emacs-devel@gnu.org, dev@rjt.dev
>> 
>> >> Challenge accepted.  Can I create it for java, which is a language I'm
>> >> writing a lot in these days?
>> >
>> >Sorry, no.  It has to support all the languages supported by CC Mode
>> >now.  That's the challenge.
>> >
>> 
>> Ok let's do it. But let's restrict it to languages considered stable from 
>> https://tree-sitter.github.io/tree-sitter/#available-parsers
>> 
>> - c
>> - c++
>> - c#
>> - java
>> - javascript
>> - typescript
>> - json
>> 
>> Ok? 
>
>You mean, C, C++, and Java?  Yes, SGTM.  That'd leave Objective C,
>IDL, Awk, and Pike out.
>

Yes, they have no parser apart from objc, which is in development. 

>> >(Do people really use Emacs to develop Java?  I'd be surprised.)
>> 
>> Yes. I do, no problem
>
>I meant the stuff that's missing in Emacs which is present in any
>decent Java IDE.  Maybe you use Emacs for Java with many add-on
>packages?

Nope. Eglot. That's it. Some details and integration are not as nice, but it's 
80% there ootb. A little config gets me 95% there. 

Should I begin? I understand there's no obligation from anyone to accept this, 
but I think it's worth a shot. Can it live in a scratch branch? 

Theo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]