Search the web
Sign In
New User? Sign Up
elfdata
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ElfData 5.4 released   Message List  
Reply | Forward Message #413 of 450 |

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.





Mon Aug 10, 2009 3:36 pm

boytheouk
Offline Offline
Send Email Send Email

Forward
Message #413 of 450 |
Expand Messages Author Sort by Date

Read about: http://elfdata.com/plugin/ Direct download: http://elfdata.com/plugin/elfdata.zip New in 5.4: * Added the ElfDataTokeniser class! Useful for...
Theodore H. Smith
boytheouk
Offline Send Email
Aug 10, 2009
3:37 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help