Marpa Parser generator is awesome... yet is there a sources in C++ Java C#...?

45 views
Skip to first unread message

paul.se...@gmail.com

unread,
Oct 13, 2019, 5:28:26 AM10/13/19
to marpa parser
Marpa Parser generator is awesome... but it's too uncomfortable to use it from PLs ala C++ Java C# . 

Is there some Marpa like parser generator for C++ Java C#...?
Is there other parser generators using ~ Marpa algorithm?

Durand Jean-Damien

unread,
Oct 13, 2019, 6:21:37 AM10/13/19
to marpa parser
Hello,

Internally, Marpa perl packages uses the low-level libmarpa, which can be directly accessed through C++.

There is also marpaWrapper that is a very thin layer on top of libmarpa, more event and callback oriented than  native version.

Regards, Jean-Damien.

Durand Jean-Damien

unread,
Oct 13, 2019, 6:28:33 AM10/13/19
to marpa parser
About other parser generators using marpa algorithm, there are bindings to other languages that probably have their own BNF.
There is also c-marpaESLIF that implements its own BNF directly in a C library, very similar the perl's Marpa BNF, though not 100% compatible. The only real advantages of the later are its stream-ready compatible architecture, native support of regular expressions via an embedded version of PCRE2, native action scripting language via an emdedded Lua interpreter.

Le dimanche 13 octobre 2019 11:28:26 UTC+2, paul.se...@gmail.com a écrit :

paul.se...@gmail.com

unread,
Oct 13, 2019, 8:40:47 AM10/13/19
to marpa parser
Ok+Ok!: I'm to explore 
libmarpa+marpaWrapper
c-marpaESLIF
!

paul.se...@gmail.com

unread,
Oct 13, 2019, 8:46:42 AM10/13/19
to marpa parser
And are source code for libmarpa available? Language?

... in thinking to explore...

paul.se...@gmail.com

unread,
Oct 13, 2019, 10:02:29 AM10/13/19
to marpa parser
'd explored: all in C with documentation.
Reply all
Reply to author
Forward
0 new messages