Changing acorn to parse c or java programs


#1

I’ve written a program that uses acorn for analyzing set of java script sources.
I want to do that analysis for C and java sources too.
I think with some minor changes in acorn, I can do that. Because I want just special phrases like variable declaration, function declaration, assignment and function call.
Any suggestion would be a big favor for me.
Thank you in advance,
Narges


#2

Writing a parser for a different language is definitely going to take a lot more work than some minor changes, I’m afraid.