Revision 916536

Go back to digest for 1st February 2009

Features in Educational

Niels Slot committed changes in /branches/work/kturtle-objects/src:

Initial code for object oriented KTurtle. The following code should work:

forward 100
$x = turtle
$x.forward 50

This will created a second turtle, and move it 50 steps forward. At the moment only the backward and forward commands are implemented as object aware commands.

File Changes

Modified 16 files
  • /branches/work/kturtle-objects/src
  •   /canvas.cpp
  •   /canvas.h
  •   /mainwindow.cpp
  •   /interpreter/definitions.rb
  •   /interpreter/executer.cpp
  •   /interpreter/executer.h
  •   /interpreter/generate.rb
  •   /interpreter/gui_connect.inc
  •   /interpreter/parser.cpp
  •   /interpreter/parser.h
  •   /interpreter/token.cpp
  •   /interpreter/token.h
  •   /interpreter/tokenizer.cpp
  •   /interpreter/translator.cpp
  •   /interpreter/value.cpp
  •   /interpreter/value.h
16 files changed in total