Software Practice and Experience · 1986 · 18 citations · 2 references
ComputingComputer ScienceCompilersNatural Language ProcessingProgramming LanguagesAbstract Syntax TreesCompiler ConstructionLexical AnalysisParsingSyntactic AnalysisSyntax AnalysisCompiler DesignCompiler SupportCompiler-based GenerationLexical Analysis In Compiler Front EndsLexical Analysis Of Programming LanguagesParser GeneratorsRegular ExpressionsSyntax-directed Code Generation
This paper describes lexical analyser generators that accept specifications for the basic symbols of a programming language, and produce directly executing lexical analysers in Pascal or C as output. The resulting analysers are up to five times as fast as the typical interpreted lexical analyser generated from arbitrary regular expressions and actions. An example is given showing how these tools may be combined with others in a compiler construction environment.
2