From d2ecdea0087131e4ea90c252a9f87b2e5bfe9261 Mon Sep 17 00:00:00 2001 From: jonte Date: Sun, 30 Jan 2011 04:55:35 -0800 Subject: [PATCH] Updated Client Server protocol draft (markdown) --- Client---Server-protocol-draft.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Client---Server-protocol-draft.md b/Client---Server-protocol-draft.md index 8ca418e..5c22172 100644 --- a/Client---Server-protocol-draft.md +++ b/Client---Server-protocol-draft.md @@ -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', - } -} -` \ No newline at end of file +`{'define': { 'name' : 'HelloWorld',` + `'body' : 'function helloWorld(x,y): {return x+y+2};'` + `}` +`}` + +`{'call' : { 'name' : 'HelloWorld',` + `'params' : '5,6',` + `}` +`}`