#
# KEHOME/help/hint.html
# Feb/6/2007
# grammar hints
hint["action"] := {
at space=s,time=t,view=v {
[product :=]
subject do action [=event]
out products
of domains
with modifiers
od direct objects
from initial conditions
to final conditions
done;
};
};
hint["array"] := {
array[index] := value;
value := array[index];
every index of array; {propositionlist};
do size/gdbm od array done;
do dump/gdbm od array done;
};
hint["attribute"] := {
subject has attribute = value;
};
hint["command"] := {
[ke] do command pplist done;
[sh] ! command pplist done;
};
hint["conditional"] := {
if proposition
[then propositionlist]
[else propositionlist]
fi;
};
hint["context"] := {
at space=s,time=t,view=v;
};
hint["definition"] := {
subject is genus [of domain] with differentia;
};
hint["interaction"] := {
{action statement1} causes {action statement2};
event1 causes event2;
};
hint["iteration"] := {
every variable genverb object; {proposition list};
every variable pplist; {propositionlist};
while proposition; {propositionlist};
until proposition; {propositionlist};
when action statement; {propositionlist};
when event; {propositionlist};
};
hint["part"] := {
subject haspart part=value;
};
hint["pplist"] := {
out products
of domains
with modifiers
od directe objects
from initial conditions
to final conditions
};
hint["production"] := {
variable := sentence
let variable = sentence
};
hint["proposition"] := {
at space=s,time=t,view=v {propositionlist};
at space=s,time=t,view=v {sentence};
at space=s,time=t,view=v;
sentence
};
hint["question"] := {
sentence # with one or more "?"
};
hint["relation"] := {
subject rel relation = object;
subject relverb object;
};
hint["statement"] := {
subject verb object pplist [done];
};
#