Changeset 30969 in project


Ignore:
Timestamp:
06/05/14 22:27:52 (6 years ago)
Author:
sjamaan
Message:

Comparse vs abnf: abnf is a little nicer to use and more readable as well as faster. abnf is harder to grok initially

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/uri-generic/trunk/alternatives/README

    r30968 r30969  
    5757other hand, it may have stabilised by now.
    5858
     59The API is pretty easy to use, and the resulting parsers rather
     60readable.
     61
    5962------------------------------------------------------------------------------
    6063
     
    6871but not very fast.  I presume it's because it keeps a lot of state
    6972around for backtracking.
     73
     74In many respects it is very similar to abnf; obviously I prefer the
     75license of comparse, but overall abnf is more readable and faster.
     76The learning curve of the current version of abnf is slightly steeper
     77than comparse (the old one being quite hard to use), but once you
     78"get" it it's easy enough.  This may just be a documentation issue and
     79the confusion of having to deal with the API of 2 eggs
     80(lexgen/typeclass) rather than an inherent problem.
    7081
    7182------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.