Added rudimentary parser, and connected to JS

Added rudimentary parser, and connected to JS

squash! Added rudimentary parser, and connected to JS
This commit is contained in:
Jonatan Pålsson 2011-01-31 15:44:09 +01:00
parent 1f3f7daa9a
commit f8cf749e5f
10 changed files with 15501 additions and 23 deletions

View file

@ -10,7 +10,7 @@ port = gets
s = TCPSocket.open(hostname, port.chop)
s.print("{\"request\": \"define\"}")
s.print(" __boot")
while true
line = s.gets # Read lines from the socket