On 28.02.2011, at 08:31, Steve Thomas wrote:
> I am playing with the idea of creating a scripting language for kids.
One way would be to just generate Smalltalk code that does what you want, and
compile it into a new method. But writing your own interpreter as you suggest
below would work, too.
Take a look at: http://rmod.lille.inria.fr/botsinc
On Monday, February 28, 2011 at 6:05 PM, Gary Dunn wrote:
> The direct answer is thay it depends on how you design tour interpreter. In
> Squeak we fiddle in a Workspace but that is not an interpreter. We invoke the
> interpreter with do it or e
The direct answer is thay it depends on how you design tour interpreter. In
Squeak we fiddle in a Workspace but that is not an interpreter. We invoke
the interpreter with do it or evaluate. In other scripting languages the
script is a file read by the interpreter.
In a smalltalk method, a statemen
I am playing with the idea of creating a scripting language for kids.
So given the script below p1 is being set to an object/Player named Ellipse:
script2
| t1 t2 p1 |
p1 := Ellipse
t1 := 'forward'.
t2 := 5
How can I get it to "do/execute": *p1 forward: 5*
Stephen
__