Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] Documentation about the JDT Parser and Compiler



On Thu, Jan 7, 2021 at 11:23 AM Gayan Perera <gayanper@xxxxxxxxx> wrote:
I tried to look into a bugĀ https://bugs.eclipse.org/bugs/show_bug.cgi?id=570016. The hard part was to understand how the parser works and how AST is constructed.
Do we have any good documentation to follow ?

Some time ago, I tried to work on the parser and stumbled upon https://www.eclipse.org/jdt/core/howto/generate%20parser/generateParser.html . Looking at history of the `java.g` file gives example of changes about building AST.

If not do you all think we should have or start a page describing how things work in parser and compiler. If we have such it will be really easy to bring in new people to work on these areas.

Some CONTRIBUTING.md in org.eclipse.jdt.core/ folder with some hints about that would be a great addition.

Back to the top