A Parser Combinator library for C
github.com
A Parser Combinator library for C
1–10 of 29 posts
Re: A Parser Combinator library for C
#2Pretty nice and simple. I'm on Chapter 8 of 16.
Re: A Parser Combinator library for C
#3This is being used from another thing posted here about making your own lisp: http://www.buildyourownlisp.com/ Pretty nice and simple. I'm on Chapter 8 of 16.
[1] http://theorangeduck.com/page/you-could-have-invented-parser...
Re: A Parser Combinator library for C
#4Re: A Parser Combinator library for C
#5Re: A Parser Combinator library for C
#6Re: A Parser Combinator library for C
#7What's the difference between this and flex/yacc?
Also no generated code that requires extra build steps and instantly breaks platform compatibility. That said, inline grammar definition might not be for everyone.
Re: A Parser Combinator library for C
#8What's the difference between this and flex/yacc?
From the readme, a workflow that doesn't make you want to kill yourself. Also no generated code that requires extra build steps and instantly breaks platform compatibility. That said, inline grammar definition might not be for everyone.
This is just reinventing an existing wheel.
Re: A Parser Combinator library for C
#9Earlier quoted context omitted.
From the readme, a workflow that doesn't make you want to kill yourself. Also no generated code that requires extra build steps and instantly breaks platform compatibility. That said, inline grammar definition might not be for everyone.
Hmm. So for people who don't know how to use Unix/flex/yacc? This is just reinventing an existing wheel.
Edit, because it looks like we hit the max reply depth: It's not like this is ever going to seriously replace Bison, I think it's just someone trying a different approach. It's not like flex/yacc/bison are the absolutely most perfect lexer/parser that can possibly exist. If people didn't try and reinvent the wheel every now and then, we'd still have stone wheels.
Re: A Parser Combinator library for C
#10Earlier quoted context omitted.
Hmm. So for people who don't know how to use Unix/flex/yacc? This is just reinventing an existing wheel.
I dunno that that's a fair criticism... by that same argument you could say yacc/bison is for people who don't know how to use C to write a parser. This looks like an attempt to do something along the lines of Parsec from Haskell, but in C. Edit, because it looks like we hit the max reply depth: It's not like this is ever going to seriously replace Bison, I think it's just someone trying a different approach. It's no…