Questions tagged [syntax-trees]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
1 answer

How do I reconstruct the forest of syntax trees from the Earley vector?

Using the Earley vector as a recognizer is quite straightforward: when the end of the string is reached, you just have to check for a completed axiomatic production started at position 0. If you have ...
Stefano Sanfilippo's user avatar
0 votes
1 answer

Evaluating Statements Using a Parse Tree

I'm building a compiler. I already have a parse tree which I built using Bison for a grammar similar to the ANSI C grammar in this link. I see that for multiplicative expression in my parse tree, ...
damat-perdigannat's user avatar