Writing an analyzer - The need for guidance and research

My knowledge of the parser implementation is a little rusty.

I have no idea about the current state of research in this area and may need some links regarding recent advances and their impact on productivity.

Shared resources about writing a parser are also welcome, (textbooks, manuals, etc.), since I already forgot a lot of what I learned in college :)

I have a Dragon book, but about that.

And does anyone have input for parser generators like ANTLR and their performance? (i.e. comparison with other generators)

edit My main goal is RDF / OWL / SKOS in N3 notation.

+3
source share
4 answers

antlr , .

, boost:: spirit (http://spirit.sourceforge.net/).

, , DSL, , , , boo, ruby, python ..

+7

... . , (, ). . , (Antlr, Gold Parser, ).

0

SableCC, , - ".

. , SableCC (1998) SableCC.

, 3.2, v4 , .

0

, DMS. . http://www.semanticdesigns.com/Products/DMS/DMSToolkit.html

, "" ( ).

Regular parser generators can help with parsings, but they provide zero help in the difficult part of the process that occurs after you can parse the code. DMS provides a huge number of mechanisms to support code analysis and conversion as soon as you disassemble it.

0
source

Source: https://habr.com/ru/post/1698820/


All Articles