Alex - A simple and efficient scanner generator
暂无分享,去创建一个
Alex is a scanner generator which translates the lexical description of a programming language into a scanner for that language. The scanner description language is easy to use, as it is intentionally small and simple. Alex as well as the generated scanners are written in Modula-2 and implemented on several microcomputers. The scanner generator may be used in conjunction with a compiler-compiler. As an example we show how to describe the lexical structure of Modula-2 with our tool. The scanner generated from that description is only about 20 percent slower than a hand-coded scanner.
[1] Alfred V. Aho,et al. Principles of Compiler Design (Addison-Wesley series in computer science and information processing) , 1977 .
[2] Murray Hill,et al. Yacc: Yet Another Compiler-Compiler , 1978 .
[3] Frank DeRemer,et al. Lexical Analysis , 1976, Handbook of Natural Language Processing.
[4] Alfred V. Aho,et al. Principles of Compiler Design , 1977 .