[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    [kde-edu]: [KTurtle] Unit tests, OO syntax and the website
From:       "Niels Slot" <nielsslot () gmail ! com>
Date:       2008-09-27 17:41:57
Message-ID: f5f15dc00809271041h37d9e17ej4c3c7040c71d25f () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi everyone,

I've been doing some work on KTurtle the last few weeks.

First I've written a new unit test ruby script. I tried to modify the
existing script but couldn't really understand what Cies was trying to do.
My new script requires a KTurtle script like the
src/interpreter/unittest/test_logic_and_expressions.turtle file. The first
part of this file is a KTurtle script. The second part (below the '### TEST
GOAL') is what should be executed by KTurtle. My script simply compares this
last part with the output from KTurtle.

I've attached my script with this e-mail. I'd like to know from Cies if this
is what he had in mind. And if there's anything more he'd like to see in
unit tests for KTurtle.

Secondly, I've been working on the object syntax idea that Mauricio and I
had at Akademy. I've got the following script running:

forward 100
$x = turtle
$x.forward 50

This moves the default turtle 100 steps, then creates a second turtle and
moves that one 50 steps.

I'd like to share this code, can I make a branch in /branches/work?

I'd also like to ask about the KTurtle website. It's completely outdated. It
would be really cool if someone could change this. Some new KDE4 screeshots,
a change/removal of the 'Current development' and 'Obtain' texts and maybe
my and Mauricio's name on the page would be great. If nobody steps up i'm
willing to do the work, but I'm not sure if I have rights to commit in de
www directory.

Greetings,

Niels

[Attachment #5 (text/html)]

<div dir="ltr">Hi everyone,<br><br>I&#39;ve been doing some work on KTurtle the last \
few weeks. <br><br>First I&#39;ve written a new unit test ruby script. I tried to \
modify the existing script but couldn&#39;t really understand what Cies was trying to \
do. My new script requires a KTurtle script like the \
src/interpreter/unittest/test_logic_and_expressions.turtle file. The first part of \
this file is a KTurtle script. The second part (below the &#39;### TEST GOAL&#39;) is \
what should be executed by KTurtle. My script simply compares this last part with the \
output from KTurtle. <br> <br>I&#39;ve attached my script with this e-mail. I&#39;d \
like to know from Cies if this is what he had in mind. And if there&#39;s anything \
more he&#39;d like to see in unit tests for KTurtle.<br><br>Secondly, I&#39;ve been \
working on the object syntax idea that Mauricio and I had at Akademy. I&#39;ve got \
the following script running:<br> <br>forward 100<br>$x = turtle<br>$x.forward \
50<br><br>This moves the default turtle 100 steps, then creates a second turtle and \
moves that one 50 steps. <br><br>I&#39;d like to share this code, can I make a branch \
in /branches/work?<br> <br>I&#39;d also like to ask about the KTurtle website. \
It&#39;s completely outdated. It would be really cool if someone could change this. \
Some new KDE4 screeshots, a change/removal of the &#39;Current development&#39; and \
&#39;Obtain&#39; texts and maybe my and Mauricio&#39;s name on the page would be \
great. If nobody steps up i&#39;m willing to do the work, but I&#39;m not sure if I \
have rights to commit in de www directory.<br> <br>Greetings,<br><br>Niels<br>
</div>


["unittest.rb" (application/octet-stream)]

_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic