regular expressions on the propeller
hkimball
Posts: 15
I am curious to know if anyone else is developing code that involves a lot of text processing and if anyone else may have interest in a spin object that could support regular expressions.· I know this may sound a little odd for a microcontroller app but it is necessary on the projects I am developing.
I am interested in all comments.
Thanks
Harold Kimball
I am interested in all comments.
Thanks
Harold Kimball
Comments
A regular expression object would be a very valuable asset — especially for processing input data streams. It needn't be as complicated as the ones in scripting languages like Perl and Python to be useful, either. If you write one, just keep it simple and fast.
Another option would be to write a PC app that translates regular expressions into native Spin code that could be pasted into a Propeller app. This might actually yield faster code than with the Propeller interpreting the RE during runtime.
-Phil