CCFinder: a multilinguistic token-based code clone detection system for large scale source code
IEEE Transactions on Software Engineering
Compilers: Principles, Techniques, and Tools (2nd Edition)
Compilers: Principles, Techniques, and Tools (2nd Edition)
The c# programming language, third edition
The c# programming language, third edition
Hi-index | 0.00 |
This paper describes some ideas about quick parser development from source code of popular free and libre open source (called FLOSS) compilers using modified parser generator. Parser development is time-consuming and laborious according to traditional approaches. In this paper's approach, a specialized scanner is built using FLOSS compilers. The scanner reads source code, analyzes it, and writes a sequence of tokens in XML. The parser generator is modified so that it generates a specialized parser and syntax rules with code to read the tokens in XML for quick parser development. In the author's experiences, it takes within one hour to implement a simple recognizer which reads C# source code, writes a sequence of tokens in XML and analyzes it.