R
Ron
Pascal supports nested procedures and procedure parameters.
This is really useful, in particular, when you have to write a recursive
descent parser since you can pass procedures as rules to determine at any
point which alternative production is correct.
There is a way to arrange the same thing in C ?
(This approach is suggested by the book Parsing Techinques - A Practical
guide, page 137, freely readable at http://www.cs.vu.nl/~dick/PTAPG.html)
Greetings.
This is really useful, in particular, when you have to write a recursive
descent parser since you can pass procedures as rules to determine at any
point which alternative production is correct.
There is a way to arrange the same thing in C ?
(This approach is suggested by the book Parsing Techinques - A Practical
guide, page 137, freely readable at http://www.cs.vu.nl/~dick/PTAPG.html)
Greetings.