From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: treesit Date: Tue, 25 Jun 2024 09:44:34 +0200 Message-ID: References: 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="16489"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Helmut Eller To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 25 09:45:41 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 1sM0s0-00048P-NS for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jun 2024 09:45:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sM0r3-0001tT-Q5; Tue, 25 Jun 2024 03:44:41 -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 1sM0r2-0001tG-8L for emacs-devel@gnu.org; Tue, 25 Jun 2024 03:44:40 -0400 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sM0r0-0005ds-Lc; Tue, 25 Jun 2024 03:44:39 -0400 Original-Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a6fbe639a76so824710266b.1; Tue, 25 Jun 2024 00:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719301477; x=1719906277; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rfSScGKSHhbNAYQd9pqtZ0O8klJpgcKv4nc8FNCH4gU=; b=LKApbDlEx924XLJCQO1jYCA9oX1bddPQFwCQLWI+Ak1OZUJ4tC8jHf7pzbt+L107oK afAqdA5S9YUkguojKwDL+rChkl+ld2HYClT1hlBr4CvOv/X3TG/fZkOVlJuBujQfJ/lG WY6gHHn3Li275n4JKi8vgdhX70aNG/98wg/FMrFhdhijkt8L9VcaRnkLzPylfoUgbDiG tJgzgw10fWe9eb3nlLW41JZiE2zeioHoZjvSVXtQwklslnK/R6tZsynfKm5LypgHL7/i LvQKLFu9wM6AGS39FrsOXbjXr6bEblp5Q8XE+CrtpFjWamm2KGPyZSKSkAT6uh2C0JUA jSuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719301477; x=1719906277; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rfSScGKSHhbNAYQd9pqtZ0O8klJpgcKv4nc8FNCH4gU=; b=h3ek29jqAubWnHlp2H53qiZZBwlNhPfruT69L2PFGqvujmiVlSpieUUBH1ZD3+S2wc KB8mhtjdJWbdzhxhCi3Q/HwqKWecYaQXQrOm0o+dC4HxuRuNQ4pQEvIrc4N6rL/Syrg1 eF/OPjuCqEfrAGa5MNxiNYfNvBToJW81ePlcGAkWlF93zLybVg7829MS/UnXNUOwVshY jgpQqNP6ZsUmOvwg/nR654mz0wZ2VGhEEMba1OCuo5ZmKgZoBpaRv2MY2VXHocY3fTqH vKx1+NK3NW71MJBi86LBP79YmWCX44qNJjPNa2Zyp6v1wSLv1LXpVrj7cxJenEiw7fBh 7Xjg== X-Gm-Message-State: AOJu0YyIIOlaRUaXHirB9jdoDaMyiomlp592x5U3sq/xQBFVMp3WWT3M nE9S5PtfjJzR7mIdE6up258Y5ZTtSBmfMdvshUEOh9m1MUbx0ap5 X-Google-Smtp-Source: AGHT+IElWXxmIKMx3FKkbm1Aa4hXuEXeoKcU8HTJaiD/AC/eME376ZoqEACAnl9ET6q83d6wHsPptw== X-Received: by 2002:a17:907:8748:b0:a6f:758a:e35 with SMTP id a640c23a62f3a-a70275ea4f4mr654098266b.6.1719301476430; Tue, 25 Jun 2024 00:44:36 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36681.dip0.t-ipconnect.de. [217.227.102.129]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7255b56e48sm174923766b.176.2024.06.25.00.44.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 00:44:36 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Tue, 25 Jun 2024 07:27:16 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: , 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:320628 Archived-At: Gerd M=C3=B6llmann 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?