Hacker News new | ask | show | jobs
by Zelphyr 2693 days ago
One of the best and most powerful alternatives to RegEx I've ever seen is the PARSE function used in the Rebol and Red programming languages.

    page: read http://hq.rebol.net
    parse page [thru <title> copy title to </title>]
    print title
    The REBOL Developer Network
1 comments

I like the compactness and syntax of Red a lot.

Pharo's Petit Parser is a framework for building parsers that is also pretty nifty [1].

[1] https://github.com/moosetechnology/PetitParser