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:07, 5 February 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 representation of the source code or even the goal language.