rks987 / marsupial

marsupial is the base language for Wombat
GNU General Public License v3.0
3 stars 0 forks source link

subsuboper declaration hack #1

Open rks987 opened 6 years ago

rks987 commented 6 years ago

the 3rd parameter to the operand spec in the %^operator declaration is for subsubops. This is self delimiting, but it is not easy. So currently you have to provide a character that is not in the total subsubop spec, and finish the spec with that character. This should be fixed. A better regex library will do. See https://stackoverflow.com/questions/15253054/regex-matching-closing-bracket-not-in-quotes which uses stuff that python re doesn't support.

rks987 commented 6 years ago

Tatomic can be done: http://www.rexegg.com/regex-tricks.html#pseudo-atomic-groups