Page 2 of 2

Posted: Fri Nov 09, 2007 9:18 pm
by crazygray
Boil Baking Soda it makes you crazy seriously. LOL
Edit: Nah, I'm just half asleep and not thinking straight.(talking just to make sure I'm alive) :shock:

Posted: Sat Nov 10, 2007 2:02 am
by AndrewAPrice
You could try to do a sort of high-level English language like:

Code: Select all

Send 5 to port 21.
Write "Hello" to screen.
Store 5 plus 3 in A.
Each word is a keyword.
e.g.
"Send 5 to port 21."
Send - tell the language we're ending something
5 - the number to end
to - we're sending "to" a location
port - the location is a port.
21 - the number of the port.

"Write "Hello" to screen"
Write - A function in screen
"Hello" - The string to seen to screen
to - we're sending "to" a location
screen - an instance of our screen object.

There could be different sorts of function calls:

"x _ to" functions with parameter
"x _ and _ and _ to" for multiple parameters
"get x from _ and store in _" - get a variable
"get x and y from _ and store in _ and _" - get multiple variable
"tell _ to x" - run a function called x

Posted: Sat Nov 10, 2007 3:34 am
by AJ
MessiahAndrw wrote:to - we're sending "to" a location
Doesn't "Send" imply that?
"Write "Hello" to screen"
How about "Send "Hello" to screen" - perhaps without the "to" :wink:
"get x from _ and store in _" - get a variable
If "to" is redundant, "from" and "in" probably are as well :twisted:

Cheers,
Adam

Posted: Sat Nov 10, 2007 6:12 am
by Combuster
I recall from logic classes that english was horribly ambiguous. :(

Posted: Sat Nov 10, 2007 9:38 am
by babernat
Combuster wrote:I recall from logic classes that english was horribly ambiguous. :(
A class in anthropological linguistics taught me that all human language is.