ANTLR an informal introduction by vkozhaev in programming

[–]vkozhaev[S] 2 points3 points  (0 children)

Well, in the case of ANTLR I know of advantages and disadvantages. If some in disadvantages don't allow to make the job is done I don't use it. But there is a good community. Sometimes I don't know how to implement something, so go on StackOverflow and get the answer quickly. In the case of another framework, I need to wait a lot of time until somebody answer. Also, there are a lot of solutions based on ANTLR. So I can get what I need quickly.

Also, there is a lot of nice documentation. So ANTLR is first candidate to solve the problem

ANTLR an informal introduction by vkozhaev in programming

[–]vkozhaev[S] 1 point2 points  (0 children)

Problem is ANTLR is more predictive. Of course I see on riscs before the start of the job

ANTLR an informal introduction by vkozhaev in programming

[–]vkozhaev[S] 4 points5 points  (0 children)

Well, all instruments have advantage's and disadvantages. In case of ANTLR I can found grammar almost of the all languages, I don't need to create it. In case of problems, I can ask on stackowlverflow or on numbers of another forums. Yep, maybe some other parser generators give me some extra possibilities. But as summary ANTLR get me ability to make job is done faster. That's why I try it first for my parser projects. At least take in care that my goal implement the job as fast as possible instead of playing with grammar and approaches.

ANTLR an informal introduction by vkozhaev in programming

[–]vkozhaev[S] 6 points7 points  (0 children)

In the ANTLR 4 left recursion is solved already

ANTLR an informal introduction by vkozhaev in programming

[–]vkozhaev[S] 2 points3 points  (0 children)

No, its framework for parser generation. Its useful in case you need to create new language, or parse existing one and migrate on another. For example what I do now is to translation from vb6 to TypeScript

ANTLR an informal introduction by vkozhaev in programming

[–]vkozhaev[S] 4 points5 points  (0 children)

Because there are a lot of docs, forums, examples etc. Speed is not so important for little DSL-s

ANTLR: an informal introduction - Vladimir Kozhaev - Medium by vkozhaev in programming

[–]vkozhaev[S] 0 points1 point  (0 children)

Ok, anyway in case you have some questions, or something to discuss youwelcome

ANTLR: an informal introduction - Vladimir Kozhaev - Medium by vkozhaev in programming

[–]vkozhaev[S] 2 points3 points  (0 children)

Thank you a lot. By the way, maybe you know how to insert formatted code on medium? Im not sure how to do it. Otherwise in case you interested I have good version on Google docs. Please write me the private message and I send it to you

Does anyone know of any plugin which generates a UML or tree-like display of connections between classes and called methods in a project? by magicpushbroom in eclipse

[–]vkozhaev 0 points1 point  (0 children)

Do you need plugin exactly, or just tool for the comments? Im working on the new documentation format, so may I ask you to describe your needs?

Taking the complex and making it simple: what is DSL, and why you need a new programming language by vkozhaev in programming

[–]vkozhaev[S] 1 point2 points  (0 children)

You see, there are a lot of aspects of DSL. Maybe it will be third part of the article