Parser developers for C # /. NET

I want to write a simple DSL in C #. Nothing complicated. I am looking for the .NET equivalent of Lex and Yacc. The simplest one I've found so far is the GOLD Parser. Another option is to use lex and yacc, available with F #, but I don't want to program in F # right now.

If you have any .NET Lex or Yacc offers, I'd love to hear them!

Thanks!

+3
source share
5 answers

If you really want to stay in C #, I would recommend using the Irony Tool - it allows you to specify grammars in C # code.

+8
source
+3

F # , Lex Yacc? , , dll F # #?

+1

, , , Oslo DSL.

, Grand Vision , DSL AST. , .

0

# Lex # CUP, - .

# Lex

0

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


All Articles