What is the best programming language for writing parsers and compilers?

please i need resources to start (i'm a cs student)

+5
source share
9 answers

The answer can be very subjective. But I would recommend using ANTLR if you want to write a parser. ANTLR currently supports C, C #, ActionScript, JavaScript, and Java targets. In my experience, the Java version is really stable to use and has been used in many powerful open source projects, namely Drools and Hibernate .

+9
source
+6

. , C, C ( ). , , Perl Python, . -, , - . ANTLR, Coco/R Lex/Yacc GNU Flex/Bison. - Coco/R, ANTLR, , .

, . , ( ) ( , , , ). , .

+4

Lisp/ , uni.

.

Dan

+2

- " Java", , C. , , .

+2

, . ( /, Fortran IV COBOL, !)

, , , / . .

, , . Wikipedia, . , !

+1

- ( ), , . , , .

, , BASIC- #. , , (. ) , " " " " "--.

+1

Do you want to write a parser for a general purpose language? In this case, it is strongly recommended to write (and download) in the target language. You have to eat your own dog.

0
source

All Articles