From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: treesit Date: Tue, 25 Jun 2024 18:23:56 +0300 Message-ID: <86cyo59hbn.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, eller.helmut@gmail.com To: Gerd =?utf-8?Q?M=C3=B6llmann?= , Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 25 17:24:44 2024 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 1sM82G-0004x7-1b for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jun 2024 17:24:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sM81Y-0001jQ-EL; Tue, 25 Jun 2024 11:24:00 -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 1sM81X-0001jE-Gu for emacs-devel@gnu.org; Tue, 25 Jun 2024 11:23:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sM81X-0001bX-7m; Tue, 25 Jun 2024 11:23:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=TSMmXfT2oBx1M3VQw59wNzzQdrIQMsfmXQTW07fmubA=; b=sDJdDEXZ80ILdHkJLq1z 4DYkNbFHyYFGFt4bJtpATVX3G/4yVinQ4fezS5xTRpQ7OklQmurN0DUCGxY8ZIJcn1imGgXsAYYZG NMmVk1NXTKWptfrUtWLu269L8ZfM/YhndYQFaJxvk/37PAnsmivdfOjwta1CySTBGSoy610/GaJHl /3vo6YLgP0cqfTLCdd/NL8OWQke5SAIDCJFSftdcN2tAvxlLqPw/1OssNTm2qa4CuXh8pAgOc8J0/ gec39HADcd6Z9GQKqNRpW2Yh6+XpmvmD/OM1DsF7fzf63DPo1vFMKVt7nE4cDXu8E9jY1kgR6u2dh b7YaskLBRLXqvQ==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Tue, 25 Jun 2024 09:44:34 +0200) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320638 Archived-At: > From: Gerd Möllmann > Cc: Eli Zaretskii , Helmut Eller > Date: Tue, 25 Jun 2024 09:44:34 +0200 > > Gerd Möllmann writes: > > > Can somone help and explain how this works in treesit.c? Where is the > > Lisp_TS_Parser stored and how/where is the TSParser * that gets passed > > to the treesiter dylib translated to the Lisp_TS_Parser *? > > Forget that question, I see it, TSInput and so on. But I'd be interested > if there are other such constructs in treesit? Yuan, can you help Gerd with understanding this?