The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
31 views

Should I use a grammar to parse reserved words for a custom shell project?

If want to implement the POSIX reserved words for my own shell program ("Open Shell") and my program to evaluate shell scripts such as sh -c 'for i in $(seq 1 1000); do ...... " - should I do it with ...
2
votes
0answers
206 views

Implementing semantic actions in table driven predictive parsing

When doing table driven predictive parsing on an LL(1) grammar, (as explained in good detail here for example), how can we augment the algorithm to allow processing of semantic actions while doing the ...