hello
i am try to write a c compiler
i have written a lexical analyzer code
next is parser
can i integrate it with some standard parsers
what should be my next step can some one help me through

Recommended Answers

All 3 Replies

The de facto set of tools for this is Lex/Yacc (Flex/Bison)

What have you written your lexical analyzer in? Generally, this is tightly coupled with the parser so integrating yours with an existing tool may prove to be difficult.

i am writing it as my major project
i dont have ant idea about yacc
can u provide me with some help

Not any more than the link I provided. There are plenty of resources online and it's source is freely available.

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.