Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title

bnf2xml - context search bnf xml trees
Author

John Hendrickson
URL: http://sourceforge.net/projects/rayshade-math/
Revision date

2013-09-24
Description

bnf2xml will be a great aid for the more difficult of Mathematica pattern matching or searching tasks which (ie. RegularExpression[]) make difficult or impossible on the upper end.

1) BNF supplies an easier yet more powerful language than regex.

2) XML text output of matches means none of the context of matches is lost* and is plain on the face readable, searchable, ready for db.

3) powerful parsing / recursion ability is more than you'd want to write to do a "custom" complex search trying to "go without".

This simple C text filter works with Mathematica or any mathematics project. Even if not useful to one, the theory of operation is good knowlege.

* RegularExpression[] stores some context haphazardously in un-knowable un-named arrays.
Subjects

*Applied Mathematics
*Applied Mathematics > Computer Science
*Engineering
*Engineering > Signal Processing
*Information Science and Technology
*Information Science and Technology > Internet > XML
*Mathematica Technology > Kernel
*Mathematica Technology > Kernel > Pattern Matching
*Mathematics
*Mathematics > Discrete Mathematics
*Mathematics > Foundations of Mathematics
*Mathematics > Foundations of Mathematics > Logic
*Mathematics > Foundations of Mathematics > Set Theory
Keywords

bnf, xml, pattern, match, regex, search, regular, expressions, Replace
URL

http://sourceforge.net/projects/bnf2xml/