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 10:28:11 +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="14851"; 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 10:29:19 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 1sM1YF-0003jq-Ox for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jun 2024 10:29:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sM1XG-0005A6-Hv; Tue, 25 Jun 2024 04:28:18 -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 1sM1XE-00058B-GE for emacs-devel@gnu.org; Tue, 25 Jun 2024 04:28:16 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sM1XC-0005Wr-Uf; Tue, 25 Jun 2024 04:28:16 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-424a2dabfefso3659825e9.3; Tue, 25 Jun 2024 01:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719304093; x=1719908893; 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=VHpQfYDiT0r7lm3w39i7UXoUbOQhY7PBkLNEZFUZQsw=; b=JLXFEGL8llwCHCxj1gArJNr8tNeatKYpRnWSVM4xIhGDw/yK0cbqFQbOQGod4z6UPM J6U1OxWviQrVwd7S+4I1HDRhlxU+ucbEpGbsWrsryQn8AgohsWsE3ZS+VzAteVd2o/DO ONNiTxnixll4h7zCD3+v6odgluPD2w5iKGWgYupXDnjrpMBzifzN95WGTMRB7kX2pjex 2C6zOSh82yiVKiQDp/KmptvLAiNISbT1CycYipxwelSkaimrNWf6rtV3w3xAvTlIoFr5 T7FQUY4/Vs/yaJX9mR/4p3nX3Q+h1nhBqJuhEcMHFSSrYbChnsvxSHF3e3ZHEKBnOLLp LGTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719304093; x=1719908893; 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=VHpQfYDiT0r7lm3w39i7UXoUbOQhY7PBkLNEZFUZQsw=; b=SK+K+j7OWLE87nY+gb0wgztf7We4dTt50EEVsgvl4w4bamOJtFiMtKIHO1izto/vhu +haMxAuz8xq7r7of5ca9gOD8/p6sMcM02UXY7hwsGF7BCT3EygeWwlQMZGZ08NCemR9j g+Asd4d0AjUHh4cTZvqWZa6v5jexZ2xQs3Jlu+sWuzttea8Qx1CPjH+H01M2vLJG4yaI oA/Z6RGwj/ZW+QbB8phHc3fMiH3VgMAWpTZrd5MTwFCQqSiDW5iSy1dXtX1JOkNymQnq FYz1EhuecNl1ZogYUSKjwu6ckHVzHdHKpMGASgayKnkF4b/1nh/stfnUPZHewOsE01X3 c5rQ== X-Gm-Message-State: AOJu0YypyunTgSRpE0JvsW3DyDV1iKEe5pLh1oAsWCOzbJYSeO4gD7sR rK9Ala4dH1ruyJRShaZu+RoNoOUTyaImyHsyBl5fX4ycnPdZqllj X-Google-Smtp-Source: AGHT+IEjlb66i30YBIX+wW7ONUTmFv2m4WzDxy4+cySD+q+ucqCvpxdh6OYVS1PPE6UwMlZVzuCt0g== X-Received: by 2002:a05:600c:3146:b0:422:6755:17de with SMTP id 5b1f17b1804b1-4248cc73dd6mr57887305e9.41.1719304092726; Tue, 25 Jun 2024 01:28:12 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36681.dip0.t-ipconnect.de. [217.227.102.129]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42481921f16sm161418365e9.41.2024.06.25.01.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 01:28:12 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Tue, 25 Jun 2024 09:44:34 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x32f.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:320629 Archived-At: Gerd M=C3=B6llmann writes: > 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? Pushed a fix to scratch/igc, but the last question would still be interesting, just in case. It's likely that I don't use all of what treesit does because I have no idea what it offers.