|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.announce - template based parser generator gets major speed boost
I have committed a few major and minor changes to dparse Some of these are breaking changes but shouldn't be that bad as it's just a change in the code line used to generate a parser. The major reason for these changes is speed. Compile times for my "big" grammar went from (IIRC) 17 min to 1 min 22 sec. Mar 13 2008
== Quote from BCS (ao pathlink.com)'s articleI have committed a few major and minor changes to dparse Mar 14 2008
Reply to jcc7,== Quote from BCS (ao pathlink.com)'s articleI have committed a few major and minor changes to dparse Mar 14 2008
Small bug found (and I have a fix but it's at home): Rule's with a name that have spaces between them and the ':' don't work. I'll fix it ASAP Mar 14 2008
Reply to BCS,Small bug found (and I have a fix but it's at home): Rule's with a name that have spaces between them and the ':' don't work. I'll fix it ASAP Mar 16 2008
I'm planing on adding "!" as a "not" suffix in dparse (if "Blah" can be parsed, fail, else continue from the same place) and I'm wondering if anyone would find the reverse useful (try to parse a "Foo", if it works, drop it, back up to where we started and continue, else fail). Also is there any suggestions as to what suffix to use? Mar 31 2008
BCS wrote:I'm planing on adding "!" as a "not" suffix in dparse (if "Blah" can be parsed, fail, else continue from the same place) and I'm wondering if anyone would find the reverse useful (try to parse a "Foo", if it works, drop it, back up to where we started and continue, else fail). Also is there any suggestions as to what suffix to use? Apr 01 2008
Frits van Bommel wrote:BCS wrote:I'm planing on adding "!" as a "not" suffix in dparse (if "Blah" can be parsed, fail, else continue from the same place) and I'm wondering if anyone would find the reverse useful (try to parse a "Foo", if it works, drop it, back up to where we started and continue, else fail). Also is there any suggestions as to what suffix to use? Apr 01 2008
BCS wrote:Frits van Bommel wrote:BCS wrote:I'm planing on adding "!" as a "not" suffix in dparse (if "Blah" can be parsed, fail, else continue from the same place) and I'm wondering if anyone would find the reverse useful (try to parse a "Foo", if it works, drop it, back up to where we started and continue, else fail). Also is there any suggestions as to what suffix to use? Apr 01 2008
Frits van Bommel wrote:BCS wrote:Frits van Bommel wrote:BCS wrote:I'm planing on adding "!" as a "not" suffix in dparse (if "Blah" can be parsed, fail, else continue from the same place) and I'm wondering if anyone would find the reverse useful (try to parse a "Foo", if it works, drop it, back up to where we started and continue, else fail). Also is there any suggestions as to what suffix to use? Apr 01 2008
BCS wrote:Frits van Bommel wrote:BCS wrote:I was kidna hoping for a single char as it make the parsing of the BNF simpler. Apr 01 2008
Frits van Bommel wrote:BCS wrote:Frits van Bommel wrote:BCS wrote:I was kidna hoping for a single char as it make the parsing of the BNF simpler. Apr 01 2008
BCS wrote:I'm planing on adding "!" as a "not" suffix in dparse (if "Blah" can be parsed, fail, else continue from the same place) and I'm wondering if anyone would find the reverse useful (try to parse a "Foo", if it works, drop it, back up to where we started and continue, else fail). Also is there any suggestions as to what suffix to use? Apr 01 2008
Russell Lewis wrote:BCS wrote:I'm planing on adding "!" as a "not" suffix in dparse (if "Blah" can be parsed, fail, else continue from the same place) and I'm wondering if anyone would find the reverse useful (try to parse a "Foo", if it works, drop it, back up to where we started and continue, else fail). Also is there any suggestions as to what suffix to use? Apr 01 2008
|