jfabry / LiveRobotProgramming

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

Placing a top-level spawn before the machine def does not work #144

Closed jfabry closed 8 years ago

jfabry commented 8 years ago

Code

(spawn foo s)
(machine foo
    (var x :=[1])
    (state s)
)

raises an error that the foo machine is not found. It should be because it is in scope.

jfabry commented 8 years ago

Fixed in LiveRobotics-Interpreter-johanfabry.176