How is this a parser? All it does is emulate the TYPE command (or cat command on Linux)

by qbguy

Parser: a computer program that divides code up into functional components

Wouldn't a parser be part of a compiler or interpreter that tokenizes it before it is run or translated to machine code. Or the part of a math expression evaluator that separates it into numbers and operators before it is then converted to RPN and evaluated? Or part of one of those text adventures which understand full sentences (like how Zork understands "hit the troll with the elvish sword" and not just "hit troll") and works out the verb, direct, and indirect objects so it can be run.

I don't see how this is a "parser".




Posted on Mar 26, 2008, 3:47 PM
from IP address 75.9.218.72

Respond to this message   

Goto Forum Home