Nested procedures and procedure parameters

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top