Automatically generating computer language grammars in browsable form

    公开(公告)号:GB2348522A

    公开(公告)日:2000-10-04

    申请号:GB9926107

    申请日:1999-11-05

    Applicant: IBM

    Abstract: A technique for automatically generating browsable language grammars. A grammar specification is used to identify the structure of an input grammar, so that a specification pre-processor, grammar parser and grammar generator can work together to generate a marked up grammar that is a browsable representation of the input grammar. The specification defines how a terminal is represented, how a non-terminal is represented, how production rules are represented, etc. Using the specification, the specification pre-processor generates the grammar parser for subsequent use with production rules found in the input grammar. When an actual set of production rules in the input grammar are provided to the grammar parser, it generates an intermediate form of the grammar that is then used by the grammar generator to generate the browsable, marked up version of the production rules.

Patent Agency Ranking