Read about: http://elfdata.com/plugin/
Direct download: http://elfdata.com/plugin/elfdata.zip
New in 5.4:
* Added the ElfDataTokeniser class! Useful for writing your own parser!
* Updated the documentation for ElfDataParser, saying that actually
it's NOT GOOD for writing source code parsers (like php/c/javascript/
etc) with, only for parsing data (xml/html/csv/etc). And if you want
to parse source code, ElfDataTokeniser is far better.
* Fixed an obscure bug in ElfDataCharSet that probably no one
experienced anyhow. Now you can pass "true" to the second optional
parameter in ElfDataCharSet, and it'll work as it's supposed to.
Also comes with a nice demo mathematical expression parser, called
"Tokeniser.rb". In only 110 lines of RB code, it demonstrates most of
the principles of how to write a recursive descent mathematical
expression parser.
The only thing lacking from this demo, is operator reordering (for
example making 2+3*4=14 as it should), which I guess would double the
number of lines in this project but not really demonstrate anything
more about how to use my parser.
I'll be using this parser myself for my AngelCog project so expect it
to get a lot of testing.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>