Live data from Hacker News

Show HN: Nevod is easier and faster than RegExp

nevod.nezaboodka.com

11–20 of 82 posts

Re: Show HN: Nevod is easier and faster than RegExp

#11
post #6

This is cute! It's basically a nice syntax for full parsing of extended regular expressions. It would make for a very nice tool. Far too often, regular expression tools only implement "matching" (i.e., extract a list of strings). Full parsing gives you the complete parsetree, and thus preserve more structural information, especially under repetitions. I'm very much in support of anything that uses regex parsing inste…

The Perl 6 grammar engine does full parsing, and gives you the parse tree that matches the structure of the rules.

Re: Show HN: Nevod is easier and faster than RegExp

#12
post #3

> Nevod is a language and technology that provide pattern-based text search. Nevod is specially aimed to rapidly reveal entities and their relationships in texts written in the natural language. This patent pending technology is unique on the market. What is this? A website, a tool? Can I run it locally? Is it free software, open source, close source? Where is the information about the patent? Also, you mention it's…

The patent kills it for me even though it may just be for defense (I didn't look and it sounds like they didn't say).

Re: Show HN: Nevod is easier and faster than RegExp

#14
post #3

> Nevod is a language and technology that provide pattern-based text search. Nevod is specially aimed to rapidly reveal entities and their relationships in texts written in the natural language. This patent pending technology is unique on the market. What is this? A website, a tool? Can I run it locally? Is it free software, open source, close source? Where is the information about the patent? Also, you mention it's…

You’d think they’d at a very minimum backup the 100x claim on their website. It’s repeated on the homepage.

Re: Show HN: Nevod is easier and faster than RegExp

#16
Sounds exciting if it's real, but extraordinary claims require extraordinary evidence.

OP (@ychetyrko) are you involved with this project? If so, announcing this before you have usable code that people can use without licencing encumbrance might have been an opportunity lost. Much more detail is required.

Re: Show HN: Nevod is easier and faster than RegExp

#17
The claims seem dubious to me as well. What exactly does faster mean here? Since a speedup of two orders of magnitude is mentioned I'm assuming it refers to matching speed.

Is it faster than PCRE? Is it faster than some other engine or is the claim that it's faster than any available RegEx engine? I had a quick look at the reference and this looks like it will accept context-free languages (since recursion is allowed). I strongly doubt that a CFG parser is magically faster than any RegEx engine.

> It is hundreds of times faster than the well-known regular expressions, and the speed doesn’t degrade linearly when you add patterns.

The author seems to believe that matching time for RegExes is linear in the time of the pattern? Once compiled to a DFA, the pattern only has negligible influence on the matching time.

EDIT: I've been trying to figure out what kind of parser this generates. It might be a LR(k) parser? It breaks on the following (admittedly contrived) example:

  #S = E + End;
  E = {E + "+" + E, E + "*" + E, T};
  T = {[1+]Alpha, N + "()"};
  N = {P, Q};
  P = {"a" + P, "ab"};
  Q = [1+]"a";
with an input of "aaaaaaab()+beta*c"

Re: Show HN: Nevod is easier and faster than RegExp

#19
post #13

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 copy title to ] print title The REBOL Developer Network

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

Post reply on HN