Are there any implementation of REXX PARSE written for .NET?

467 Views Asked by At

I use regular expressions all the time. However, there are occasions when it would be very helpful to be able to use one of the other pattern matching methodologies, for example, REXX PARSE and SNOBOL.

Are there any .NET implementations of either of these two pattern matching methods? If is-rexx-available-in-net is anything to go by, the likelihood isn't high. Google isn't being very friendly at the moment, giving me way too many links to RosettaCode.

3

There are 3 best solutions below

0
On BEST ANSWER

The answer is YES. I found some old VB6 code from a programmer called Oscar Brain. I've converted it to VB.Net and then to C#. It's on Bitbucket. It's not perfect, but there's an updated VB6 version on Planet Source Code which I will port over when time permits.

0
On

F# has something called "Active patterns" which might do what you want. Look here: http://fsharpforfunandprofit.com/posts/convenience-active-patterns/

0
On

The answer is NO. As of now there is no implementation for REXX PARSE written for .NET