Modular complier with a class independent parser and a plurality of class dependent parsers
First Claim
1. In a computing system having a plurality of applications and a primary executing program, a modular compiler comprising:
- a class independent parser for parsing program code which includes commands to be executed by the primary executing program;
a plurality of class dependent parsers, each class dependent parser for parsing program code which includes commands to be executed by one application from the plurality of applications, each class dependent parser being added to the modular compiler and logically coupled to the class independent parser when an application for which that class dependent parser parses program code which includes commands to be executed by the application is added to the computing system, and each class dependent parser being removed from the modulator compiler when the application is removed from the computing system.
2 Assignments
0 Petitions
Accused Products
Abstract
A modular compiler is used to compile code for execution by an agent engine and a plurality of application programs. The modular compiler includes a class independent compiler which parses program code which is to be executed by the agent engine. The modular compiler also includes a class dependent parser for each application program. Each class dependent parser parses program code which is to be executed by its respective application program. When an application program is added to the computing system, an associated class dependent parser is added to the modular compiler. When an application program is removed from the computing system, the associated class dependent parser is removed from the modular compiler.
20 Citations
10 Claims
-
1. In a computing system having a plurality of applications and a primary executing program, a modular compiler comprising:
-
a class independent parser for parsing program code which includes commands to be executed by the primary executing program; a plurality of class dependent parsers, each class dependent parser for parsing program code which includes commands to be executed by one application from the plurality of applications, each class dependent parser being added to the modular compiler and logically coupled to the class independent parser when an application for which that class dependent parser parses program code which includes commands to be executed by the application is added to the computing system, and each class dependent parser being removed from the modulator compiler when the application is removed from the computing system. - View Dependent Claims (2)
-
-
3. In a computing system having a plurality of applications and a primary executing program, a modular compiler comprising:
-
a class independent parser for parsing program code which includes commands to be executed by the primary executing program; first scanner routine, logically coupled to the class independent parser, which returns a token to the class independent parser when the first scanner routine is called by the class independent parser; a plurality of class dependent parsers, logically coupled to the first scanner routine, called by the first scanner routine, each class dependent parser parsing a different set of commands; a plurality of scanner routines, one scanner routine from the plurality of scanner routines being called by a class dependent parser from the plurality of class dependent parsers so that each class dependent parser, is logically coupled to and calls its own scanner routine, and the called scanner routine returns a token to a calling class dependent parser; and
,an input stream processor, logically coupled to and called by the first scanner routine and each scanner routine from the plurality of scanner routines, which returns a token to the scanner routine calling the input stream processor. - View Dependent Claims (4, 5, 6)
-
-
7. In a computing system, a method for compiling program code into commands to be executed by a primary executing program and a plurality of applications, each application executing a different set of commands, the method comprising the steps performed by a computer of:
-
(a) parsing program code which contains commands to be executed by the primary executing program using a class independent parser; and (b) parsing program code which contains commands to be executed by an application with a class dependent parser which parses commands for that application.
-
-
8. In a computing system, a method for generating code using a class independent parser, at least one class dependent parser, a class independent scanner routine for the class independent parser and a class dependent scanner routine for each class dependent parser, the method comprising the steps performed by a computer of:
-
(a) calling the class independent scanner routine from the independent parser; (b) when a first class dependent parser has precedence performing the following substeps; (b.1) calling from the class independent scanner routine the first class dependent parser; (b.2) at least once calling from the first class dependent parser a first class dependent scanner for the first class dependant parser; (b.3) returning from the first class dependent scanner to the first class dependent parser a token every time the first class dependent parser calls the first class dependent scanner; (b.4) attempting with the first class dependent parser to parse tokens received from the first class dependent parser; (b.5) returning from the first class dependent parser to the class independent scanner routine an error when the first class dependent parser is unable to parse a token received from the first class dependent scanner; (c) returning a token from the class independent scanner routine to the class independent parser. - View Dependent Claims (9, 10)
-
Specification