You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by Christofer Dutz <ch...@c-ware.de> on 2019/05/20 12:16:14 UTC
[DriverGen] first operational parser for "immaginary" driver spec
language
Hi all,
in the last few days I managed to detach myself from the normal reality and do some thinking, coding, hacking …
After writing down a spec in a nonexistent pseudo-language, Julian was so cool to implement an Antlr4 grammar for parsing this.
I now took that and fine-tuned that grammar in order to be easily processable in code and finetuned the spec.
(All in the plc4x-maven-plugin module)
Now I am able to parse these specs and get all information in a cool and usable form in my maven plugin …
Will now be checking out the options to generate code from that.
Chris
Re: [DriverGen] first operational parser for "immaginary" driver spec
language
Posted by Julian Feinauer <j....@pragmaticminds.de>.
Great... perhaps I'll stay awake this night to play around with it :D
Am 20.05.19, 14:16 schrieb "Christofer Dutz" <ch...@c-ware.de>:
Hi all,
in the last few days I managed to detach myself from the normal reality and do some thinking, coding, hacking …
After writing down a spec in a nonexistent pseudo-language, Julian was so cool to implement an Antlr4 grammar for parsing this.
I now took that and fine-tuned that grammar in order to be easily processable in code and finetuned the spec.
(All in the plc4x-maven-plugin module)
Now I am able to parse these specs and get all information in a cool and usable form in my maven plugin …
Will now be checking out the options to generate code from that.
Chris