From bef589412de76d0ea89f86bd4660bf5281445af8 Mon Sep 17 00:00:00 2001 From: jonte Date: Mon, 31 Jan 2011 05:11:07 -0800 Subject: [PATCH] Updated Client Server protocol draft (markdown) --- Client---Server-protocol-draft.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Client---Server-protocol-draft.md b/Client---Server-protocol-draft.md index 5c22172..a7b03b2 100644 --- a/Client---Server-protocol-draft.md +++ b/Client---Server-protocol-draft.md @@ -1,12 +1,18 @@ 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};'` - `}` -`}` + + + + + + + +
Token Command Arguments
<#ref_num> __define "JavaScript"<#ref_num> __start <#ref_num> __stop Optional Message<#ref_num> __boot <#ref_num> __error Optional message<#ref_num> COMMAND Optional parameters
-`{'call' : { 'name' : 'HelloWorld',` - `'params' : '5,6',` - `}` -`}` +
\ No newline at end of file