From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: feature/tree-sitter: Where to Put C/C++ Stuff Date: Tue, 01 Nov 2022 14:27:19 +0100 Message-ID: <8FCB7C95-F374-4340-ACBF-2D9ECD8A910E@thornhill.no> References: <83pme7cf23.fsf@gnu.org> <878rkv3y7z.fsf@thornhill.no> <83leovc7zr.fsf@gnu.org> <8735b251so.fsf@thornhill.no> <83h6zidfl6.fsf@gnu.org> <83fsf2ddm4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38411"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, dev@rjt.dev To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 01 18:25:32 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1opv12-0009ib-C0 for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Nov 2022 18:25:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oprJ8-0001Aj-4I; Tue, 01 Nov 2022 09:27:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oprJ0-0001AB-Sq for emacs-devel@gnu.org; Tue, 01 Nov 2022 09:27:50 -0400 Original-Received: from out0.migadu.com ([2001:41d0:2:267::]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oprIx-0007yL-Ba; Tue, 01 Nov 2022 09:27:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1667309262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V0J1CQ1A3wOo5blxkN3lLG7qU3ERxkPKIXNVN1nKNBk=; b=JMBWJrmyYhZZv8jaXntQr4l2LVIS3KsbOs2ObBbiX3rCcqh2O4z1ES7+iaidBblC88/X7R Y0LWOQ2qQsa77pO4Tq1axVjGv+mc8oiYm5OTWWpfWYbFdNr+7JJw1mDDR1/F7ZNjcGVHxx +RaNXVhbYQfos8pRq1VWMRFMboDEbbRYdw52iQ5nkikuZ6nqbp/QT1h/eAuZT7QWQqdpln DHYp/mH2pMgI6RIWfwpLYNdeRv+BqxqOIhjtSvYcDks7Sw0OXbLeBxM/a9hBUoiVH2lMtg f79rRgwVu4AaGztIa550rRZjJzS8p/N8oyqbpupdS87bzN0M65h+tLucD98Dyw== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: <83fsf2ddm4.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=theo@thornhill.no; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298957 Archived-At: On 1 November 2022 14:10:43 CET, Eli Zaretskii wrote: >> Date: Tue, 01 Nov 2022 14:05:39 +0100 >> From: Theodor Thornhill >> CC: emacs-devel@gnu=2Eorg, dev@rjt=2Edev >>=20 >> >> Challenge accepted=2E Can I create it for java, which is a language= I'm >> >> writing a lot in these days? >> > >> >Sorry, no=2E It has to support all the languages supported by CC Mode >> >now=2E That's the challenge=2E >> > >>=20 >> Ok let's do it=2E But let's restrict it to languages considered stable = from https://tree-sitter=2Egithub=2Eio/tree-sitter/#available-parsers >>=20 >> - c >> - c++ >> - c# >> - java >> - javascript >> - typescript >> - json >>=20 >> Ok?=20 > >You mean, C, C++, and Java? Yes, SGTM=2E That'd leave Objective C, >IDL, Awk, and Pike out=2E > Yes, they have no parser apart from objc, which is in development=2E=20 >> >(Do people really use Emacs to develop Java? I'd be surprised=2E) >>=20 >> Yes=2E I do, no problem > >I meant the stuff that's missing in Emacs which is present in any >decent Java IDE=2E Maybe you use Emacs for Java with many add-on >packages? Nope=2E Eglot=2E That's it=2E Some details and integration are not as nice= , but it's 80% there ootb=2E A little config gets me 95% there=2E=20 Should I begin? I understand there's no obligation from anyone to accept t= his, but I think it's worth a shot=2E Can it live in a scratch branch?=20 Theo