Updated Client Server protocol draft (markdown)

jonte 2011-01-30 04:55:35 -08:00
parent 442ec9f9d0
commit d2ecdea008

@ -1,13 +1,12 @@
This is a proposition for the client -> server communication protocol. The idea is that we need to be able to define and call functions, and the very least.
`
{'define': { 'name' : 'HelloWorld',
'body' : 'function helloWorld(x,y): {return x+y+2};'
}
}
{'call' : { 'name' : 'HelloWorld',
'params' : '5,6',
}
}
`
`{'define': { 'name' : 'HelloWorld',`
`'body' : 'function helloWorld(x,y): {return x+y+2};'`
`}`
`}`
`{'call' : { 'name' : 'HelloWorld',`
`'params' : '5,6',`
`}`
`}`