Josh @ Dreamland
|
|
Reply #45 Posted on: August 21, 2009, 08:34:27 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Well, hey, if any of you experts want to show me how it's done, feel free. When your parser can outperform mine, I'll use it. It's that simple.
Until then, however, we'll be sticking with what I'm coding.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
score_under
|
|
Reply #46 Posted on: August 23, 2009, 07:46:06 pm |
|
|
Joined: Aug 2008
Posts: 308
|
Good thing you like fake, hard-coded, inflexible, unreadable, take-forever-to-write parsers.
Okay, let's pick that apart... Fake? It parses. There's no fake about it, and I can see no possible way for a working parser to be fake. Hard-coded/Inflexible? How do you make a fully-customizable parser, then? Why would you need to? Unreadable? You must have never touched a programming language before. Take-forever-to-write? Josh chooses how long Josh programs. Good thing I like trolls.
|
|
|
Logged
|
|
|
|
|
score_under
|
|
Reply #48 Posted on: August 24, 2009, 01:35:33 pm |
|
|
Joined: Aug 2008
Posts: 308
|
Wikipedia says: In computer science and linguistics, parsing, or, more formally, syntactic analysis, is the process of analyzing a text, made of a sequence of tokens (for example, words), to determine its grammatical structure with respect to a given (more or less) formal grammar.
That's pretty much what it does. Reads through the "tokens" (variables, operators, numbers, etc) and determines the structure - without which it is completely impossible to insert the semicolons.
And by the way, modifications at a lower level does not equal bug-prone. I have proved this many times.
|
|
« Last Edit: August 24, 2009, 01:41:31 pm by score_under »
|
Logged
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|