Jump to content

Semantic action routine

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 217.199.69.42 (talk) at 17:04, 5 February 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Semantic action routines are simple functions invoked by the parser, which add context sensitive informations (e.g. type of a variable...) to the result of the Syntaxanalysis, done by the parser. They also build the intermediate reprasentation of the source code or even the goal language.