Skip to content

Inigo Montoya: You keep using that word "syntax tree". I do not think it means... #35

Discussion options

You must be logged in to vote

technically/truly abstract syntax trees?

yes.
It is abstract in that the structure is preserved, but specific tokens may not be.
It is syntax as in a rule set for interpreting a sequence of characters.
It is a tree because the result meets the conditions of the tree data structure.

I'm also working on an abstract representation of document structure as an intermediate representation (IR) for handling Markdown

Okay.
Tokens, Abstract Syntax Trees, Control Flow Graphs, Static Single Assignment are all intermediate representations.
So it is true that unified and the unist-based ASTs are also intermediate representations, but intermediate representation is not a particularly useful way of …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@wooorm
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by wooorm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants