[prog] lex and yacc

Sue Stones suzo at spin.net.au
Fri Jan 23 01:10:23 EST 2004


On Thu, 22 Jan 2004 10:27 pm, you wrote:
> Erph..I'm not sure if these tools will work for much more than basic
> parsing of English sentences.

Err no, I don't think tht they want to suggest that.  It is just supposed to
be more acessible, or more neutral than a programming examples.  The problem
is I can't see where onw would go with the example and how it wold generalise
to a progra mming example.

> "Get the red ball and put it on the table."
>
> If you're program were simulating robot of some source, you could parse the
> sentence and then execute the action. (I saw a program do the robot thing
> years ago...it's impressive!)

cool, think I will try that one day!

sue



More information about the Programming mailing list