From 442ec9f9d05962f2c1d3ccd2b74c02d606fd5a3c Mon Sep 17 00:00:00 2001 From: jonte Date: Sun, 30 Jan 2011 04:52:57 -0800 Subject: [PATCH] Created Client<->Server protocol draft (markdown) --- Client---Server-protocol-draft.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Client---Server-protocol-draft.md diff --git a/Client---Server-protocol-draft.md b/Client---Server-protocol-draft.md new file mode 100644 index 0000000..8ca418e --- /dev/null +++ b/Client---Server-protocol-draft.md @@ -0,0 +1,13 @@ +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