Re: A question about certain language features

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 12 Feb 2002, at 4:18, tone.skoda at siol.net wrote:

> 
> Classes!
> 
> include circle.e as circle
> 
> circle circle1
> circle cirlce2
> 
> cirlce1.radius = 5
> circle1. x = 0
> circle1.y = 0
> 
> cirlce2.radius = 10
> circle2. x = 5
> circle2.y = 5
> 
> circle1.draw ()
> circle2.draw ()
> 
> code above would draw two differecnt circles.

I wonder if you could write a Eu program that includes the interpreter as a 
class, and all the Eu language keywords as Eu.keyword(). Would this give 
us a clean exec(sequence) and pseudothreads?

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu