i need code (c++) +explanation of lexical analysis javacc

Recommended Answers

All 2 Replies

Actuallly, https://en.wikipedia.org/wiki/Lexical_analysis does have links to C/C++ lexers as well as java ones. Lexical analysis is the process of turning a program into symbolic tokens and creating a structure (usually some sort of tree structure) that a parser/compiler can use to create byte code and binary (executable) program code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.