racket / rhombus

Rhombus programming language
Other
332 stars 59 forks source link

regular expressions #549

Closed mflatt closed 2 weeks ago

mflatt commented 3 weeks ago

This regular expression sublanguage is based on @CooperCorad's BS thesis.

Rendered documentation: https://users.cs.utah.edu/~mflatt/tmp/rhombus-rx/rhombus/regexp.html

Different from Racket:

Inherited from Racket:

This draft includes some changes relative to the version shown in at the August 22 meeting (#180) based on feedback in that meeting — so, thanks to Robby, Alex, and Ben.

The documentation has lots of examples, and you find more in the test suite: https://github.com/mflatt/rhombus/blob/rx/rhombus/rhombus/tests/rx.rhm

mflatt commented 3 weeks ago

Updated:

mflatt commented 2 weeks ago

There's certainly more to do for improving documentation (maybe after splitting the Rhombus manual into guide and reference documents), but I'll merge, and we can take further improvements from there.