[erlang-questions] Erlang grammer definition

Pierre Fenoll <>
Sat Dec 7 01:49:59 CET 2013


This should help. https://github.com/antlr/grammars-v4/tree/master/erlang
It is an ANTLR4 grammar of Erlang R16B02. Lexer and parser.


Cheers,
-- 
Pierre Fenoll



On 6 December 2013 23:15, Aggelos Giantsios <> wrote:

> This is the YECC definition (
> https://github.com/erlang/otp/blob/master/lib/stdlib/src/erl_parse.yrl)
> Hopefully, you can adapt it for the tool of your choice.
>
> Aggelos
>
>
> On Sat, Dec 7, 2013 at 1:01 AM, Thomas Stover <>wrote:
>
>> Hi. I am aware of yecc, and leex, which I do use. Though, I am actually
>> in need of a yacc/bison /lexx/flexx grammer definition for the erlang
>> language itself. This sounds like the sort of thing that likely already
>> exists out there in the wild.
>>
>>
>> ---
>> C. Thomas Stover
>> Sr. Software Engineer
>>
>> Alert Logic, Inc.
>>
>>
>> *T *713.484.8383 ext. 2340
>>
>> *E*  <>
>>
>> *Security • Compliance • Cloud*
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131207/7b65a801/attachment.html>


More information about the erlang-questions mailing list