3 Apr 2009 02:11
Parsing Expression Grammar (PEG) vs. SBP
Bernhard Damberger <bernied <at> gmail.com>
2009-04-03 00:11:01 GMT
2009-04-03 00:11:01 GMT
I am curious as to what you think about the current rage in the parsing world with PEGs (and Packrat parsing)? Caveat: I don't know much about SBP or the boolean grammars. I know PEGs are linear (in both time and memory). I noticed that SBP is O(n^3 log n) in time. How about in memory? The thing about PEGs that interests me is their application with regards to extensible langauges and DSLs. It sounds like SBP might be good for an extensible language. Any insight or comments appreciated. _bernhard
RSS Feed