[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bpfk] te sumti detection using PEG




2015-04-08 18:15 GMT+03:00 Alex Burka <durka42@gmail.com>:
this basic functionality requires 60 new rules

The number of rules means nothing by itself.
Here are two strings:
string1 = string2 string3 string4 string5
string6 = string2 string3 string4 string7

Here are three strings:
string1 = string8 string5
string6 = string8 string7
string8 = string2 string3 string4

Obviously the second set is better.

Probably the size of the whole PEG with all variable names set to a fixed byte length + _javascript_ output having strings with fixed byte length may be a better measurement.

--
You received this message because you are subscribed to the Google Groups "BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bpfk-list+unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at http://groups.google.com/group/bpfk-list.
For more options, visit https://groups.google.com/d/optout.