Slava Pestov's weblog, primarily about Factor.
Parser combinators eh... /me prints out some stuff to read on ride home.
So whats so great about parser combinators that spirit (from boost) can't do???Looks like hocus pocus.
Well if boost can implement an arbitrary grammar with unlimited lookahead, then obviously parser combinators cannot do anything boost can do. They are written in a more elegant language than C++ though.
When you have arbitrary lookahead, then doesn't that imply you can implement an arbitrary grammar?
Parser combinators eh... /me prints out some stuff to read on ride home.
ReplyDeleteSo whats so great about parser combinators that spirit (from boost) can't do???
ReplyDeleteLooks like hocus pocus.
Well if boost can implement an arbitrary grammar with unlimited lookahead, then obviously parser combinators cannot do anything boost can do. They are written in a more elegant language than C++ though.
ReplyDeleteWhen you have arbitrary lookahead, then doesn't that imply you can implement an arbitrary grammar?
ReplyDelete