Thursday, July 8, 2010

basic English

This is a basic English lexicon for talking about things in programming.  It seems to get quite large as I think of more and more words to add to it, and I'm not sure if it's too big for the prototype to handle.  For the grammar we can modify the simple English grammar in PAIP.

function, program, procedure
number, integer, real
memory, variable, pointer, constant, value, content
data, structure, input, output
list, queue, tree, stack, node, link
loop, iteration

add, subtract, multiply, divide
increase, decrease, increment, decrement
move, link, compare
create, delete, update, change, fix, set, assign
open, close, enter, exit
input, output

free, open, closed
fast, slow, simple, complex, hard, easy
big, small, long, short, deep, shallow, broad, narrow

on, by, to, in, of, for, with, within, without, against

if, then, while, for
and, or, not

pronouns, etc:
I, you, he, she, it, they, them, him, his, her, mine, yours
who, what, where, when, how
please, okay, thanks, bye!

1 comment:

  1. seems like a good list of concepts - all of which can be "grounded" into a logic knowledgebase