Saturday 18 March 2017

Receive a file with commands as parameter in Nodejs

I have a question maybe i'll find some answers from you .

Well , i want to write an interpreter that receives a file with commands as parameter in nodejs

For example :

node test.js robot.s

robot.s contains :

# Move
FORWARD 100
COMMAND_WITH_ERROR 
BACKWARD 6

Any ideas how i can start ?

Thank you



via infocrasher

No comments:

Post a Comment