Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parsing of nested bracket structures as objects #317

Open
ERnsTL opened this issue Apr 6, 2024 · 0 comments
Open

Add parsing of nested bracket structures as objects #317

ERnsTL opened this issue Apr 6, 2024 · 0 comments

Comments

@ERnsTL
Copy link
Owner

ERnsTL commented Apr 6, 2024

  • 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 ERnsTL added this to the 0.5 "I see objects" milestone Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant