Added new python test file, and made __echo respond with users JSVM

This commit is contained in:
Jonatan Pålsson 2011-02-01 01:40:21 +01:00
parent 2c083dd3dd
commit 30cebd1c0d
6 changed files with 64 additions and 14853 deletions

View file

@ -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 ->