[ANN] d-Ceu v0.2

14 views
Skip to first unread message

Francisco Sant'anna

unread,
Jul 5, 2023, 10:15:08 AM7/5/23
to ceu-...@googlegroups.com
Hello,

New release of Ceu:


Many changes and additions, but nothing fundamentally different.

Regards,
Francisco

Job van der Zwan

unread,
Jul 7, 2023, 4:00:46 AM7/7/23
to The Programming Language Ceu
On Wednesday, 5 July 2023 at 16:15:08 UTC+2 Francisco Sant'Anna wrote:
New release of Ceu:

Always happy to see that you are still working on Ceu! :)
 

Many changes and additions, but nothing fundamentally different.

Since some of the descriptions are a bit sparse I decided to check out the github repo for code examples. I noticed this funky range syntax in the latest commit:

loop in {1 -> 10{, i { ... }
 
So what's the reasoning for the change? Because now it looks like you went from Bourbaki notation to "mainstream" range notation to "let's annoy both camps". Which, if so, I fully support lol :D

(I guess that change is officially outside of the v0.2 tag range though)

Cheers,
Job

Francisco Sant'anna

unread,
Jul 8, 2023, 7:46:27 AM7/8/23
to ceu-...@googlegroups.com
On Fri, Jul 7, 2023 at 5:00 AM Job van der Zwan <j.l.van...@gmail.com> wrote:
Since some of the descriptions are a bit sparse I decided to check out the github repo for code examples. I noticed this funky range syntax in the latest commit:

loop in {1 -> 10{, i { ... }
 
So what's the reasoning for the change?

Ambiguity. I tried some alternatives and didn't come up with anything better. If you have suggestions...
We will use `{k` as inclusive range and `}k` as exclusive.
The control variable now also goes to the expected place:

loop i in {1 => 10{
{
    ...
}
 
(I guess that change is officially outside of the v0.2 tag range though)

Yes. But v0.3 shouldn't take long.
 
Reply all
Reply to author
Forward
0 new messages