logoPlayer-semantics.galgas 468 B

12345678910111213141516171819202122232425262728
  1. map @routineMap {
  2. @instructionList mInstructionList
  3. insert insertKey error message "the '%K' routine has been already declared"
  4. search searchKey error message "the '%K' routine is not declared"
  5. }
  6. list @instructionList {
  7. @instruction mInstruction
  8. }
  9. abstract class @instruction {
  10. }
  11. class @penUp : @instruction {
  12. }
  13. class @penDown : @instruction {
  14. }
  15. class @forward : @instruction {
  16. @luint mLength
  17. }
  18. class @rotate : @instruction {
  19. @luint mAngle
  20. }