Compilers: principles, techniques, and tools
Compilers: principles, techniques, and tools
Parsing theory. Vol. 1: languages and parsing
Parsing theory. Vol. 1: languages and parsing
Compiler design in C
Incremental generation of lexical scanners
ACM Transactions on Programming Languages and Systems (TOPLAS)
Hi-index | 0.00 |
This paper provides an algorithm for constructing a lexical analysis tool, by different means than the UNIX Lex tool. The input is a keywords table, describing the target language's keywords, keysymbols, and their semantics, instead of using regular expressions to do so.The output is a lexical analyzer for the specific programming language. The tool can also be used as a translator engine by inputing a dictionary table, and as a pattern recognizer.