flowd icon indicating copy to clipboard operation
flowd copied to clipboard

Add parsing of nested bracket structures as objects

Open ERnsTL opened this issue 10 months ago • 0 comments

  • TODO ho to tackle this?
  • parsing into skyscraper "HTML" document or XpathItemTree? Then applying its existing XPath query engine?

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, [email protected] wrote:

Quoth Mon Aaraj <[[email protected]](mailto:[email protected])>:

    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

ERnsTL avatar Apr 06 '24 23:04 ERnsTL