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