Re: Spoken programming language
From: | Paul Kershaw <ptkershaw@...> |
Date: | Sunday, January 4, 2009, 16:20 |
While all of these are interesting, they seem to not be attempts at robust natural
language replacements, but rather computer languages designed for framing
natural language snippets into a narrative flow. For instance, here's an
example from TADS (http://www.tads.org/t3doc/doc/tourguide/index.html):
stoneLanding : Room 'Landing' 'the landing'
"A pair of doors lead south from this narrow landing, from which
a narrow flight of stone steps lead down to the north. "
down = slStairsDown
north asExit(down)
south : AskConnector
{
promptMessage = "There are two doors you could go through to the south . "
travelAction = GoThroughAction
travelObjs = [leftDoor, rightDoor]
travelObjsPhrase = 'of them'
}
;
The computer language describes the basic environment, but the portions that
actually communicate with the human user are in plain English.
Or maybe I'm drifting away from the intent of the original question?
-- Paul