Chapter 13: Extending the Hermes language/parser.
-
13.1 -- Introduction: This chapter
(under development -- 20 April 1998) defines the basic steps necessary to
extend the Hermes language / parser syntax for future needs.
-
13.2 -- Adding mediator declarations, such as the
securityLevel mediator file tag (new with this revision), requires four basic steps:
- 13.2.1 -- Add the necessary descriptor string to the
/source/hermes2/hermes2.h file.
- 13.2.2 -- Add the descriptor string to the isKeyword function
sKeywords structure defined in the
/source/hermes2/mediator.c file.
- 13.2.3 -- Add the appropriate if clause to the
parseAllDeclarations function, defined in the
/source/hermes2/mediator.c file, with a call to the necessary
mediator declaration parse function.
- 13.2.4 -- Implement the mediator declaration parser function cited in 13.2.3 above.
-
13.3 -- Mediator literals.
Web Accessibility