> > > In that case I would think specialized functions would be better, such > > as palindromes(u). For parsing, could you not use regular expressions? > > I guess regular expressions would be ok, but more work is needed. > Ideally, I would like to delegate that work to a module that does all > the job!
I looked more carefully at regular expressions and I feel that wouldn't be enough. In other words, I would end up rewriting a lot of functions that are available in standard parsing package such as pyparsing [1]. Maybe it's worth including such a package in Sage if it's not already done? [1] http://pyparsing.wikispaces.com/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org