+ 4
Q: How to build a simple compiler using Java programming
11 Respostas
+ 4
I don't have source in Java for anything simple. My compilers were written in Pascal and C and weren't simple. I don't have access to them as they were done in 70's. The following is source for a Pascal compiler as it is the simplest I know.
https://homepages.cwi.nl/~steven/pascal/pcom.p
+ 5
The full source code for the Java compiler is available via web search. However, it is extremely complex and, without a compiler theory course, you will be left confused. I learned compiler theory by reading an existing Pascal compiler. When I eventually took a class, they failed to teach me anything except optimization techniques.
+ 4
If you have any questions about Pascal or what they are doing ask. Discord would be best as I get hundreds of notifications a day and might miss posts here, but we can continue here.
+ 3
I am unsure why you linked the advanced programmer post. I've written compiler's before, join us here and we can chat.
https://www.sololearn.com/Discuss/689391/?ref=app
+ 3
I need the source code please
+ 3
OK thanks
+ 3
Yes. I am studying compiler construction using the book by Anthony J Dos Reis compiler construction using Java, JavaCC and Yacc
+ 3
Alright. Appreciate it
+ 3
Thank you
+ 3
Based on reviews and book overview it is a good first book, but you will need a second more detailed book to advance.
+ 2
The book is somehow complex