Live data from Hacker News

The Rosie Pattern Language

rosie-lang.org

1–10 of 20 posts

Re: The Rosie Pattern Language

#3
post #2

Why use a 'better regex' when PEGs exists?

FTA: "RPL is based on Parsing Expression Grammars, which are more powerful than regex, obviating the need for “recursive regex” or “regex grammars”, both of which are ad hoc extensions and are not commonly supported in regex libraries."

Re: The Rosie Pattern Language

#6

If it is so much better and easier to read than regex, why not show any examples? Even the examples page is void of any examples.

Yeah. This (linked from the examples page) is OK: https://gitlab.com/rosie-pattern-language/rosie/blob/master/... ... except for the terrible color scheme. The comments on a red background make this look like a diff.

Re: The Rosie Pattern Language

#7

If it is so much better and easier to read than regex, why not show any examples? Even the examples page is void of any examples.

A canonical regex pattern vs Rosie pattern should be front and center on the landing page. I want to immediately judge whether it's worth my time to read more.

Re: The Rosie Pattern Language

#8
post #5

If it is so much better and easier to read than regex, why not show any examples? Even the examples page is void of any examples.

https://gitlab.com/rosie-pattern-language/rosie/blob/master/... Yeah I thought the same, found this in the repo though.

That should be the front page...
Post reply on HN