Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 2.61 KB

File metadata and controls

51 lines (35 loc) · 2.61 KB

Robin the entrepid robot explorer

This is an exploration in parsing with elm/parser.

Start the exploration

In order to start this exploration clone this repository with the following command

git clone https://github.com/fifth-postulate/robin-the-entrepid-robot-explorer.git

Change directory and fire up elm reactor and read on

Workshop

This is a workshop on learning elm/parser. You learn it by creating a parser for a ficticious programming language. But an important language none the less. For it allows you to save Robin the entrepid robot explorer.

The workshop is divided into different levels. You will write code as you go, so feel free to apply all the healthy habits you acquired for writing good code. If at any moment you are stuck, don't hesitate to ask questions.

Each level has a description that you find in this README. So don't forget to read it before diving in.

Level 0

Krzzthpff Kshshshshshshshshshshsh

You look up from you work and are surprised that you are hearing only static over the communication channel. What just happened?

You roll over to the bank of controls, your eyes darting over the various status monitors. Something is seriously wrong. You cut the static and wind back the CCTV feed a few seconds.

There! A bright flash illuminates your face. With sleight unease you stop the rewind and play the CCTV footage forward. You clearly see Robin the entrepid robot explorer going on her autonomous business when some sort of electric discharge lights up the screen.

You frantically type in some commands and a status report is shown on screen.

[status]
Artificial_Intelligence   = "down"
Route_Planner             = "down"
Global_Positioning_System = "down"
Communications            = "down"
Core_Memory               = "down"
Central_Processing_Unit   = "down"
Motor_Driver_Processor    = "operational"
Controller_Area_Network   = "operational"
Motor_Control             = "operational"
Sensors                   = "operational"

Wow, the surge has wiped almost all highlevel functions. With communications down, there is no way of restoring Robin the entrepid robot explorer back to an operational state. She needs to come back to the lab, so she can be repaired.

Luckily the Motor Driver Processor and Controller Area Network are still operational. This way you can update the motor driver to respond to commands send over the Controller Area Network!

Quick! Patch a connection to CCTV feed and hack into the Controller Area Network.