ALOE = Scheme + Smalltalk + Types

Hey y'all :man_raising_hand:

In Scheme, we have:

(proc arg ...)

In ALOE, it's:

(obj msg arg ...)

It's an experiment in making everything about calling methods on objects instead of applying functions. And throwing types in the mix too.

Small interpreter in 2000 lines of Racket:

It doesn't even have strings yet!
But it can simulate a flock of 3 boids:

Spec:

Ed

1 Like

Isn't that what Java did already? what is being tested in this experiment?

Hi Ed,

This is really cool.

It makes me think of another experiment: Purely-functional Object-Oriented System

Thanks for sharing

Stephen

1 Like

Hey @spdegabrielle :man_raising_hand:

Thanks for checking it out!

Yes, experimenting with the various object systems grown in Scheme has influenced ALOE.

1 Like

OK, ALOE 0.2 is out.

For this release, the aim was to implement a basic computer algebra simplifier.

To implement that, I needed two things added to the ALOE core language:

  • Protocols (class interfaces)
  • Method overloading

Core language is around 2600 lines of Racket.