« Return to Thread: json_to_term EEP

Re: json_to_term EEP

by Willem de Jong-2 :: Rate this Message:

Reply to Author | View in Thread



On Fri, Aug 1, 2008 at 1:10 AM, Richard A. O'Keefe <ok@...> wrote:
On 31 Jul 2008, at 6:06 pm, Willem de Jong wrote:
I personally like working with a SAX parser.
See the example below - I quite enjoyed writing it.

I'm sure you did, but the example does not in fact
work with a SAX parser.  It works with an (apparently non-existent)
parser that delivers a *data structure*, and it consumes the data
structure.  If you are going to work with a data structure, why
not the very same data structure that you are supposed to be getting?
It's like saying "well, I could have a pizza delivered to my door,
but instead I'll have all the ingredients delivered in separate deliveries and then I'll make the pizza".
 
Or something else, if I want to eat something else. Or, if I am hungry, I can start eating when the first tomato arrives. Or, if I actually want to feed an elephant, I don't have to wory about the pizza fitting through the door.
 
I think I'll just finish the parser that I have, and then see how it compares to other parsers.
 
Regards,
Willem.
 

 


_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions

 « Return to Thread: json_to_term EEP