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

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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
Making a new class, ElfDataTokenizer   Message List  
Reply | Forward Message #409 of 450 |
RE: [elfdata] Making a new class, ElfDataTokenizer

I agree. The ElfDataParser certainly did the trick, but could be a royal pain in the butt to get code parsing to work flawlessly. Depending on complexity of the task of course, it took quite a bit of effort at times.
 
Ron.
 

To: elfdata@yahoogroups.com
From: delete@...
Date: Sun, 31 May 2009 18:28:05 +0100
Subject: [elfdata] Making a new class, ElfDataTokenizer



Hi everyone,

I'll be making a new class, ElfDataTokenizer.

ElfDataTokenizer will be useful for writing a code parsing framework.
While ElfDataParser was good for parsing data such as XML, it sucked
for parsing code. So I'm going to write this class to help parse code.

It should be fast, and result in simple code.

I've looked into "recursive descent" parsers, which while are simple
in theory, are slow and result in overly complex code. Simple design,
but basically ungainly result.

ElfDataTokenizer as a framework, will be far superior to "recursive
descent". Although actually kind of related in a way. I guess it will
be a large improvement to "recursive descent".



Deel je favoriete foto's online met Windows Live Photos


Wed Jun 24, 2009 10:52 am

ronaldvogelaar
Offline Offline
Send Email Send Email

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

Hi everyone, I'll be making a new class, ElfDataTokenizer. ElfDataTokenizer will be useful for writing a code parsing framework. While ElfDataParser was good...
Theodore H. Smith
boytheouk
Offline Send Email
May 31, 2009
5:28 pm

I agree. The ElfDataParser certainly did the trick, but could be a royal pain in the butt to get code parsing to work flawlessly. Depending on complexity of...
Ronald Vogelaar
ronaldvogelaar
Offline Send Email
Jun 24, 2009
10:52 am

OK... so I finally have some time to work on my ElfData plugin again. I've been busy the past few months but now I can work again. I've got an early version of...
Theodore H. Smith
boytheouk
Offline Send Email
Aug 4, 2009
5:50 pm

OK, I added support for negative numbers to my ElfDataTokeniser demo. And I added support for "spaces". So now you can do stuff like this: "2*a / -c" Or even "...
Theodore H. Smith
boytheouk
Offline Send Email
Aug 5, 2009
4:03 pm
Advanced

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