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