From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Emacs object type hierarchy Date: Mon, 23 Oct 2023 11:06:12 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18047"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 23 17:07:15 2023 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 1quwWO-0004P2-NS for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Oct 2023 17:07:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quwVW-0003RJ-IJ; Mon, 23 Oct 2023 11:06: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 1quwVU-0003Ql-8F for emacs-devel@gnu.org; Mon, 23 Oct 2023 11:06:16 -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 1quwVR-0005eS-76; Mon, 23 Oct 2023 11:06:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=wv2IDg6kT/0son7HLrgcIVJE1cxUOhVWVEYRh5DcSP8=; b=BHPcDD2HvdSMuyCrAw9Y uHOvR+IS0AdiqEJlYSDiU75rdmhG+Z+RCm63GgONaM036IZpLftWZjq2HrCBFLlfok4w0nV66ADL2 OD0LXMXTOIC9ihrNog/5QqhjrsWARkVT7HKlzdk+/DkbXOVOXaJw+3SPu3D24tdDBS+xkdIQ5zHVd ox/VRXqUgKx+mq6W/HmONUpu3ZFMT/D99VrDSrov5qqOC2IBfFUwKmKhPmjO2H8TEAyhTG8Z2ztmG fXtm9/Vo96OQzOZWflSDBS+Zq6QpYXqHU6CzqdvwEDX127FmwCmwg/nkG6W7+uDPhly0X3eSdnBRv Hs/DV5ITeAm6MA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1quwVQ-0002tT-Qk; Mon, 23 Oct 2023 11:06:13 -0400 In-Reply-To: (Yuan Fu's message of "Sun, 22 Oct 2023 15:08:10 -0700") 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:311720 Archived-At: Yuan Fu writes: >> On Oct 22, 2023, at 1:44 AM, Andrea Corallo wrote: >> >> Hello all, >> >> for some develepment I need to have the type hierarchy definition, >> something more detailed compared to what we have now in >> `cl--typeof-types` (see bug#66615). Because of that I've been trying to >> reconstruct the type hierarchy of Emacs objects before coding it in. >> >> So far this [1] is where I'm arrived at. >> >> Do you spot any error? Any comment welcome. > > I noticed that you included tree-sitter-parser in there. Then you probably also want tree-sitter-node and tree-sitter-compiled-query. > > Yuan Hello Yuan, I think they should be there already. Maybe they ended up far from 'tree-sitter-parser' in the version you've seen, I've no control of the order graphviz decide to layout the objects in the graph. Thanks Andrea