0

hello, i have an educational compiler construction project that does not have to be hectic but a simple one using java to construct the compiler. It has to compile some of the set of java language, libraries, objects, and controls. it also requires all facets of a standalone compiler (parser - token list, linker, etc...), and end up with an executable.

The problem is i do not know where to start or should i say, with Java the bison and flex is abit confusing because its in C so how do i do it in Java?

I just need the correct steps for me to do this project.

Thank you in advance.

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by JamesCherrill
0

with Java the bison and flex is abit confusing because its in C

Can you explain what you are referring to here?

using java to construct the compiler.

Does this mean you are to write a compiler in java? With bytecode output that can be executed by the java command?

0

... and end up with an executable.

... With bytecode output that can be executed by the java command? yes thats right

You realise that these two can't both be right?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.