jfabry / LiveRobotProgramming

Live Robot Programming
http://pleiad.cl/lrp
8 stars 3 forks source link

exit statement does not have a syntax highlighting #130

Closed mcamp closed 8 years ago

mcamp commented 8 years ago

The exit statement needs to be highlighted like every other statement in LRP

jfabry commented 8 years ago

Underlying problem is that there is no exit statement being generated for the AST, there is direct translation to a bunch of AST nodes. So no statement to set highlighting info. I will need to add a sugar-highlight node to support this for different kinds of sugar.

jfabry commented 8 years ago

Fixed in LiveRobotics-Parser-johanfabry.71, LiveRobotics-Interpreter-johanfabry.156 and LiveRobotics-UI-johanfabry.161. Only the keyword is made italic, but I guess that's enough for now.