Different syntax styles

Andrei Khropov andkhropov at nospam_mtu-net.ru
Thu Jun 15 10:35:26 PDT 2006


BLS wrote:

> Hi Daniel,
> Python style indenting is ...
> what I would really like to see in D. but let us keep realistic...
> in fact nothing new, i think also the very first dbase interpreter allows
> it.
> and
> Nowadays the most 4GLs are using a pascal like language without {},
> respective  begin end,  or even ;
> From a compiler designers view it means a lot of additional work.
> 
> Thanks to Eric Andersons message I have had today the very first look on
> Nemerle. Looks clean, modern and usable.(and the most important point)
> readable.

Well, khm, I suppose it was my message.

Nemerle developers also have possibility to write in Python-like syntax in mind:
http://nemerle.org/Open_projects#Python-like_syntax_front-end

They estimate it to be fairly easy to integrate but of course if it is done it
will mean some kind of split among developers on a style basis.
So maybe to stick with a single syntax is better for the sake of consistency
and code exchange.
 

P.S. I don't think we should discuss it further here because it's D forum after
all.

-- 
AKhropov



More information about the Digitalmars-d mailing list