now i've gone and done it
-
i made a tool that lets you import and export parser grammars of different formats so you can: use Gold Grammars with my parsers use Gold Grammars with ANTLR use ANTLR grammars with Gold use Yacc grammars with my parser use my grammars with anything (best!) etc. Mix and match, or add your own handlers. it's nuts. I hate the grammars for specific tools. But now you can use any grammar with any parser, so you can import already written grammars and use them with different tools. now you don't need to decide between grammar availability and tool preference.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
-
i made a tool that lets you import and export parser grammars of different formats so you can: use Gold Grammars with my parsers use Gold Grammars with ANTLR use ANTLR grammars with Gold use Yacc grammars with my parser use my grammars with anything (best!) etc. Mix and match, or add your own handlers. it's nuts. I hate the grammars for specific tools. But now you can use any grammar with any parser, so you can import already written grammars and use them with different tools. now you don't need to decide between grammar availability and tool preference.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
-
I've got a ways to go before it's complete. The codebase is part of a Parser Construction Kit ("Puck") that lets you combine different grammars with different parse engines and will include an LL(1) parser and hopefully a LALR(1) parser. Everything is run and generated from a common core, and grammar system, or exported to other formats for other parser generators. Or imported from other formats. Or imported and then re-exported (transformed) It's pretty awesome. It won't do all grammar formats without manual modification to them at first (primarily with the lexers) but i'm working on that.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
-
i made a tool that lets you import and export parser grammars of different formats so you can: use Gold Grammars with my parsers use Gold Grammars with ANTLR use ANTLR grammars with Gold use Yacc grammars with my parser use my grammars with anything (best!) etc. Mix and match, or add your own handlers. it's nuts. I hate the grammars for specific tools. But now you can use any grammar with any parser, so you can import already written grammars and use them with different tools. now you don't need to decide between grammar availability and tool preference.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
-
Enough about your Grammar. What does your Grampar think of it?
- I would love to change the world, but they won’t give me the source code.
That's my kind of joke. Unfortunately, my French wife never gets that one.