rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.3k stars 732 forks source link

Add some unicode operators in Eiffel #2048

Closed imustafin closed 1 month ago

imustafin commented 2 months ago

Eiffel has Symbolic forms of loops like

∀ c: s ¦ f (c)
∃ c: s ¦ f (c)
⟳ c: s ¦ g (c); h (c) ⟲

Also the standard library of EiffelStudio has unicode aliases for several operators like , .

This PR adds them to the Eiffel lexer.

Before: image

After: image

tancnle commented 1 month ago

Thank you, @imustafin. Changes LGTM 🚀