N
N
Nikita Gusakov2014-09-09 06:42:53
PHP
Nikita Gusakov, 2014-09-09 06:42:53

How does the grammar parser for IntelliJIDEA work?

I'm trying to write a plugin for the Zephir language .
I am quite familiar with the language, I also roughly figured out the parser.
It is not at all clear where to start, I looked at Dart, erlang, some other not very well-known language, when the parser is added - everything seems to be clear.
In general, the question is basically simple, how to implement the simplest design

namespace foo;
class bar {}

And how to describe lines and comments for ParserDefinition

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question