[Cuis-dev] Regarding Ometa2

Philip Bernhart philip.bernhart at posteo.de
Fri Jul 5 00:47:55 PDT 2019


Hi,

I don't understand the way OMeta2 matches this rule:

scheme =
  letter (letter | digit | $+ | $- | $. )*)

when used in this way:
  UriParser matchAll: 'http' with: #scheme => anOrderedCollection($t $t
  $p)

why does it forget the $h?

Also why does OMeta2 sometimes cause an endless loop within the
image with showing an hourglass as cursor without being able
to quit that with ALT-. / CMD-. ?

When building parsers which package should be used PetitParser or
OMeta?

What do you think?


Thanks,
Philip


More information about the Cuis-dev mailing list