Project:Nanode/Bitlash: Difference between revisions
From London Hackspace Wiki
no edit summary
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
**grab everything after /bitlashconsole/ | **grab everything after /bitlashconsole/ | ||
**use doCharacter(char c) to pipe each char to the bitlash console, one at a time | **use doCharacter(char c) to pipe each char to the bitlash console, one at a time | ||
The REST interface will be designed to handle only one line of bitlash command at a time. | |||
For a multi line program, the REST interface should be called until the program is complete. | |||
-This can be achieved by having input in a textbox in a webpage that takes the source as input. Some javascript(?) can then take the text, and send it a line a time to the REST interface. |