ERnsTL / flowd

An inter-language runtime for flow-based programming (FBP)
Other
25 stars 2 forks source link

Add parsing of nested bracket structures as objects #317

Open ERnsTL opened 6 months ago

ERnsTL commented 6 months ago

twig for tree-pattern matching

Re: [9front] question about how twig was handled in Plan 9 Foto des Kontakts Von Dave Woodman am 2024-04-06 22:01 Details 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 <[mon.aaraj815@gmail.com](mailto:mon.aaraj815@gmail.com)>:

    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