├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── achieve.js ├── avoidBedrock.js ├── doc └── history.md ├── grammar ├── check.sh ├── checkEverything.sh ├── grammar.jison ├── test.sh ├── test │ ├── 2ifThen.expected │ ├── 2ifThen.test │ ├── condition.expected │ ├── condition.test │ ├── destroyShelter.expected │ ├── destroyShelter.test │ ├── differentThings.expected │ ├── differentThings.test │ ├── dig.expected │ ├── dig.test │ ├── get.expected │ ├── get.test │ ├── ifThen.expected │ ├── ifThen.test │ ├── ifThenElse.expected │ ├── ifThenElse.test │ ├── list.expected │ ├── list.test │ ├── nearest.expected │ ├── nearest.test │ ├── position.expected │ ├── position.test │ ├── position2.expected │ ├── position2.test │ ├── raiseChicken.expected │ ├── raiseChicken.test │ ├── repeat.expected │ ├── repeat.test │ ├── repeatUntil.expected │ ├── repeatUntil.test │ ├── say.expected │ ├── say.test │ ├── spaces.expected │ ├── spaces.test │ ├── stopRepeat.expected │ ├── stopRepeat.test │ ├── task.expected │ ├── task.test │ ├── toss.expected │ └── toss.test ├── validate.sh └── validateEverything.sh ├── lib ├── inventory.js ├── nearest.js └── stringTo.js ├── package.json ├── rbot.js ├── task.js └── task ├── blockTask.js ├── informationTask.js ├── inventoryTask.js ├── moveTask.js └── syntaxTask.js /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | grammar.js 3 | *~ 4 | package-lock.json -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | *~ 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/README.md -------------------------------------------------------------------------------- /achieve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/achieve.js -------------------------------------------------------------------------------- /avoidBedrock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/avoidBedrock.js -------------------------------------------------------------------------------- /doc/history.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/doc/history.md -------------------------------------------------------------------------------- /grammar/check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/check.sh -------------------------------------------------------------------------------- /grammar/checkEverything.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/checkEverything.sh -------------------------------------------------------------------------------- /grammar/grammar.jison: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/grammar.jison -------------------------------------------------------------------------------- /grammar/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test.sh -------------------------------------------------------------------------------- /grammar/test/2ifThen.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/2ifThen.expected -------------------------------------------------------------------------------- /grammar/test/2ifThen.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/2ifThen.test -------------------------------------------------------------------------------- /grammar/test/condition.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/condition.expected -------------------------------------------------------------------------------- /grammar/test/condition.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/condition.test -------------------------------------------------------------------------------- /grammar/test/destroyShelter.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/destroyShelter.expected -------------------------------------------------------------------------------- /grammar/test/destroyShelter.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/destroyShelter.test -------------------------------------------------------------------------------- /grammar/test/differentThings.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/differentThings.expected -------------------------------------------------------------------------------- /grammar/test/differentThings.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/differentThings.test -------------------------------------------------------------------------------- /grammar/test/dig.expected: -------------------------------------------------------------------------------- 1 | ["dig",[["position","r0,0,1"]]] 2 | -------------------------------------------------------------------------------- /grammar/test/dig.test: -------------------------------------------------------------------------------- 1 | dig r0,0,1 -------------------------------------------------------------------------------- /grammar/test/get.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/get.expected -------------------------------------------------------------------------------- /grammar/test/get.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/get.test -------------------------------------------------------------------------------- /grammar/test/ifThen.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/ifThen.expected -------------------------------------------------------------------------------- /grammar/test/ifThen.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/ifThen.test -------------------------------------------------------------------------------- /grammar/test/ifThenElse.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/ifThenElse.expected -------------------------------------------------------------------------------- /grammar/test/ifThenElse.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/ifThenElse.test -------------------------------------------------------------------------------- /grammar/test/list.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/list.expected -------------------------------------------------------------------------------- /grammar/test/list.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/list.test -------------------------------------------------------------------------------- /grammar/test/nearest.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/nearest.expected -------------------------------------------------------------------------------- /grammar/test/nearest.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/nearest.test -------------------------------------------------------------------------------- /grammar/test/position.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/position.expected -------------------------------------------------------------------------------- /grammar/test/position.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/position.test -------------------------------------------------------------------------------- /grammar/test/position2.expected: -------------------------------------------------------------------------------- 1 | ["move to",[["position","nearest mob la"]]] 2 | -------------------------------------------------------------------------------- /grammar/test/position2.test: -------------------------------------------------------------------------------- 1 | move to nearest mob la -------------------------------------------------------------------------------- /grammar/test/raiseChicken.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/raiseChicken.expected -------------------------------------------------------------------------------- /grammar/test/raiseChicken.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/raiseChicken.test -------------------------------------------------------------------------------- /grammar/test/repeat.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/repeat.expected -------------------------------------------------------------------------------- /grammar/test/repeat.test: -------------------------------------------------------------------------------- 1 | repeat task done -------------------------------------------------------------------------------- /grammar/test/repeatUntil.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/repeatUntil.expected -------------------------------------------------------------------------------- /grammar/test/repeatUntil.test: -------------------------------------------------------------------------------- 1 | repeat task until condition done -------------------------------------------------------------------------------- /grammar/test/say.expected: -------------------------------------------------------------------------------- 1 | ["say",[["message","hello, my name is rbot"]]] 2 | -------------------------------------------------------------------------------- /grammar/test/say.test: -------------------------------------------------------------------------------- 1 | say hello, my name is rbot. -------------------------------------------------------------------------------- /grammar/test/spaces.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/spaces.expected -------------------------------------------------------------------------------- /grammar/test/spaces.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/spaces.test -------------------------------------------------------------------------------- /grammar/test/stopRepeat.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/test/stopRepeat.expected -------------------------------------------------------------------------------- /grammar/test/stopRepeat.test: -------------------------------------------------------------------------------- 1 | stop repeat task done -------------------------------------------------------------------------------- /grammar/test/task.expected: -------------------------------------------------------------------------------- 1 | ["task",[]] 2 | -------------------------------------------------------------------------------- /grammar/test/task.test: -------------------------------------------------------------------------------- 1 | task -------------------------------------------------------------------------------- /grammar/test/toss.expected: -------------------------------------------------------------------------------- 1 | ["toss",[["int","5"],["simpleItem","dirt"]]] 2 | -------------------------------------------------------------------------------- /grammar/test/toss.test: -------------------------------------------------------------------------------- 1 | toss 5 dirt -------------------------------------------------------------------------------- /grammar/validate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/validate.sh -------------------------------------------------------------------------------- /grammar/validateEverything.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/grammar/validateEverything.sh -------------------------------------------------------------------------------- /lib/inventory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/lib/inventory.js -------------------------------------------------------------------------------- /lib/nearest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/lib/nearest.js -------------------------------------------------------------------------------- /lib/stringTo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/lib/stringTo.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/package.json -------------------------------------------------------------------------------- /rbot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/rbot.js -------------------------------------------------------------------------------- /task.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/task.js -------------------------------------------------------------------------------- /task/blockTask.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/task/blockTask.js -------------------------------------------------------------------------------- /task/informationTask.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/task/informationTask.js -------------------------------------------------------------------------------- /task/inventoryTask.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/task/inventoryTask.js -------------------------------------------------------------------------------- /task/moveTask.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/task/moveTask.js -------------------------------------------------------------------------------- /task/syntaxTask.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rom1504/rbot/HEAD/task/syntaxTask.js --------------------------------------------------------------------------------