From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: Tree Sitter (was Re: cc-mode fontification feels random) Date: Sun, 25 Jul 2021 22:23:53 -0400 Message-ID: References: <83o8cge4lg.fsf@gnu.org> <62e438b5-d27f-1d3c-69c6-11fe29a76d74@dancol.org> <83fsxsdxhu.fsf@gnu.org> <179f22a44d8.2816.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <179f38c0370.2816.cc5b3318d7e9908e2c46732289705cb0@dancol.org> <236e62c2-be9b-b26d-8cd0-4b5a1a86e19a@dancol.org> <86mtqsoh3f.fsf@stephe-leake.org> <286d815e-d1a1-07ca-6696-a7f51923ab4e@piermont.com> <86wnpl6f0y.fsf@stephe-leake.org> <865yx45y7g.fsf@stephe-leake.org> <146b72ac-0446-93ba-f85c-b8987e96f0d0@piermont.com> <86eebm8j7d.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Perry E. Metzger" , Richard Stallman , Emacs developers To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 26 04:25:23 2021 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 1m7qJ1-0003UC-0B for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Jul 2021 04:25:23 +0200 Original-Received: from localhost ([::1]:37734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7qIz-0002jD-G7 for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Jul 2021 22:25:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7qHp-000218-Mk for emacs-devel@gnu.org; Sun, 25 Jul 2021 22:24:09 -0400 Original-Received: from mail-ej1-f43.google.com ([209.85.218.43]:33637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7qHo-0004Ul-73; Sun, 25 Jul 2021 22:24:09 -0400 Original-Received: by mail-ej1-f43.google.com with SMTP id jg2so9288476ejc.0; Sun, 25 Jul 2021 19:24:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=obUFFD1E7Jimp7SlXLFRxkVK9Wa8ReP6knKxUaT+FDY=; b=R0IU1W0e4t9tZym+X803QthDZeA3xN3A2hJ/JuouzdVgl0q9DhxKhDPmnhQs087HTy JZpB7er1PUY9HUwZef78kJu173zDF0DOWY36epRXG6g66x6EOIqG113BoKY/hCJ4jiHu SVoFFBuNxRKW5y6WRjmEN0GdKDijBtoI2an3mhTanI02fK4Wu7bb5b7oij0j925JS4BB JH4CPRHWoAP5bn09PWNV2uurjMYOUyq3XSVpVWC7B8UzQXZoJ/ucRHs4FdAEUXfOKJSR vZtAE2r0e9OwVGTtaSiEzOM/Y0Rrik1Ggd0Na2rfLHxyZYlEshx+lC8aP/2TeOWTDBxR ywMg== X-Gm-Message-State: AOAM532xKVMGr4Zk951hEO7IQgdzZ5bHr9S1Vaqde6Xh8tFAlUS8izo/ hhOcHp6cHlkmT4RMtB8WJqWGMBSBQpyTgI3tICs= X-Google-Smtp-Source: ABdhPJw8Xt7iCj/dNUzY6gLWnkSDSMYJRG37FyfRQ8Y1C1g177Yu2arasBTajwzoJJLFlwWWxRvBbL2oR6+11OvBIZQ= X-Received: by 2002:a17:906:3499:: with SMTP id g25mr3884695ejb.471.1627266245009; Sun, 25 Jul 2021 19:24:05 -0700 (PDT) In-Reply-To: <86eebm8j7d.fsf@stephe-leake.org> Received-SPF: pass client-ip=209.85.218.43; envelope-from=john.yates.sheets@gmail.com; helo=mail-ej1-f43.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:271628 Archived-At: On Sun, Jul 25, 2021 at 12:14 PM Stephen Leake wrote: > > Richard Stallman writes: > > > > The features that the DoD liked so much about Ada, to me make it feel > > very clunky. You have to declare so much! > > Yes, and then the compiler checks everything for you, so the code is > much more likely to be correct before you start testing. > > It also helps when modifying/extending code; if it doesn't compile, > you've done something wrong, and the error messages point to what to > fix. I started my programming career in the early 70s programming PDP-8s and PDP-11s in assembler. In the late 70's I joined DEC's Vax Pascal V2 project. Coding in Bliss-32 was a revelation: high level control flow and no longer having to do my own register allocation. Still there were neither true types nor function signatures (think original pre-prototypes K&R C,) Once the compiler was shipped my next project was writing a bug tracker in Pascal. If Bliss had been a revelation then coding in strongly typed Pascal was my "conversion on the road to Damascus". On rare occasions I still end up having to write some assembler. But otherwise give me as much declaration and type-checking as possible. /john