Added new python test file, and made __echo respond with users JSVM
This commit is contained in:
parent
2c083dd3dd
commit
30cebd1c0d
6 changed files with 64 additions and 14853 deletions
|
@ -20,6 +20,9 @@ parse(Data) ->
|
|||
{hello};
|
||||
[RefID, "__define",_, JavaScript ] ->
|
||||
{ok, you_said_define};
|
||||
[RefID, "__echo", Length, Msg ] ->
|
||||
{Ref, _} = string:to_integer(RefID),
|
||||
{echo, Ref, Length, Msg};
|
||||
[RefID, Command, _, Parameter ] ->
|
||||
{cmd, Command, Parameter};
|
||||
Other ->
|
||||
|
|
Reference in a new issue