From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FORGED_MUA_MOZILLA,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 93E2D22389 for ; Sat, 6 Apr 2024 22:03:15 +0200 (CEST) Received: from mailgw.naffnet.org.uk ([62.30.227.12]) by 9front; Sat Apr 6 16:01:06 -0400 2024 Received: from site.naffnet.org.uk (localhost [127.0.0.1]) by mailgw.naffnet.org.uk (Postfix) with ESMTPS id DB2677CC45 for <9front@9front.org>; Sat, 6 Apr 2024 21:01:03 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=naffnet.org.uk; h= Message-ID:From:Subject:To:MIME-Version:Content-Type; s=adsp; bh=YKa/x3m6aTd3aHiOpnkmK16pXRQ=; b=m0lHtmuqoqjkefnkSVB2RBvhakrU ZH1DcOupugsOFJIALge/jk/B4Vwuj5iWx7WUKxg6j1BVEDSmG/8IRWJgQ4x9pk3J hMmysFzZQRutM8W9VvkrmJPjewUcBka3bC3PM1pMUen/CltHvy894CHfM3vPZwk2 +ATUiHGngILOntQ= ARC-Seal: i=1; a=rsa-sha256; cv=none; d=naffnet.org.uk; s=adsp; t= 1712433664; b=AIyqvtyVNtBphedsQUMb2N12o/FVnoFtTDeP0FzlM8qNK05zi8 BS0jHNBldwEXxCbGsYtfIrfFm5tIXYVCUvsl3s5PPekKaQ5Y4/NlfQArPmIEwmzz oI/f3to2VpOscURFnBPhmYqfgI6dl8cazXNcOLJM9lVTRMH/NRiHTZ2TM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= naffnet.org.uk; h=message-id:date:mime-version:subject:to :references:from:in-reply-to:content-type :content-transfer-encoding; s=adsp; bh=Bcuj5QtWvm683nEqVtnF++ZSC IMdTpSNiWzQB4Abmlo=; b=q1DUvSfF+llqMz5Z2iuHJT1RGl02rTIFpONgcbeYP Axp2GQSruS76ShEYKdYtteyREWvIfSvlO6Y4bonJegbAwOySyFGgK/nTNA95Bd+w sHRNagj9Wdl/Z36Eciqv5yjrMBJ7yPxsS/EQXPf6ExJYvsonNCyC4RKx3IR+fCDX 8c= ARC-Authentication-Results: i=1; naffnet.org.uk; dkim=pass; spf=pass smtp.mailfrom=naffnet.org.uk (connected ip 192.168.0.7); dmarc=pass X-Assp-Version: 2.8.1(23131) on naffnet.org.uk X-Assp-ID: naffnet.org.uk m1-33663-05996 X-Assp-Session: 7F81420890 (mail 1) X-Assp-Client-TLS: yes X-Assp-Server-TLS: yes Received: from unknown ([192.168.0.7] helo=site.naffnet.org.uk) by naffnet.org.uk with SMTPS(TLSv1_2 ECDHE-RSA-AES256-GCM-SHA384) (2.8.1); 6 Apr 2024 21:01:03 +0100 Received: from [192.168.250.208] (LAPTOP-KQ0H872Q.naffnet.org.uk [192.168.250.208]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by site.naffnet.org.uk (Postfix) with ESMTPSA id 0E75AC1288 for <9front@9front.org>; Sat, 6 Apr 2024 21:01:03 +0100 (BST) Message-ID: Date: Sat, 6 Apr 2024 21:01:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: 9front@9front.org References: Content-Language: en-GB From: Dave Woodman In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: object-oriented interface template out-scaling layer Subject: Re: [9front] question about how twig was handled in Plan 9 Reply-To: 9front@9front.org Precedence: bulk If of interest, the Twig Reference Manual can be found here: https://www.telecomarchive.com/docs/bsp-archive/Letters%20and%20Memos/CSTR/CSTR%20120.pdf Quite a few of the Technical Reports can also be found there (https://www.telecomarchive.com/docs/bsp-archive/Letters%20and%20Memos/CSTR/) - an interesting browse On 04/04/2024 21:56, ori@eigenstate.org wrote: > Quoth Mon Aaraj : >> This is a blind shot because I couldn't find other resources nor the >> code for the ``twig`` utility that was shipped with Plan 9 1st Ed. It >> would be preferable to find the source code. >> >> The part where identifying matches is apparently easy, but how do they >> then process it as though it conforms to a grammar? > https://github.com/Plan9-Archive/plan9-1e/tree/master/sys/src/cmd/twig > > also described in detail here: > > https://dl.acm.org/doi/pdf/10.1145/69558.75700