These are my solutions to the RoboScript series of katas on CodeWars.
This Kata Series is based on a fictional story about a computer scientist and engineer who owns a firm that sells a toy robot called MyRobot which can interpret its own (esoteric) programming language called RoboScript. Naturally, this Kata Series deals with the software side of things (I'm afraid Codewars cannot test your ability to build a physical robot!).
- RoboScript #1 - Syntax Highlighting
- remarks: pretty simple and straight-forward
- tip: don't chain
.replace
calls as it can lead to unexpected results - hint: replacer function
- RoboScript #2 - RS1 specification
- remarks: needed to sit and think for a lil' while