Amber

nazriel spam at dzfl.pl
Sat Jan 5 03:47:56 PST 2013


On Friday, 21 December 2012 at 18:02:30 UTC, Lars Ivar Igesund 
wrote:
> Dear D community,
>
> I've been urged by many others to post about Amber here. It is 
> a programming language being derived from D1, with a compiler 
> written using D1 and Tango, with LLVM and C backends. The 
> quality of code and documention is alpha (or pre-alpha).
>
> Project page: https://bitbucket.org/larsivi/amber
> Background: 
> http://www.dsource.org/projects/tango/forums/topic/920
>
> We hold house in #amber on Freenode.
>
>
> Regards,
> Lars Ivar Igesund
> larsivi @ #amber on Freenode

It is really great to see Amber rolling!

I think D2 could take some inspiration from Amber as Amber takes 
from D2.

For example I like idea of allowing modules and packages with 
same names.
As alternative to DIP16.

I wonder what issues would be with D2 if we would allow 
constructions like:

std/net/http.d :
module std.net.http;
class HttpClient {}

std/net/ftp.d :
module std.net.ftp;
class FtpClient {}

std/net.d
public import std.net.http;
public import std.net.ftp;

main.d
import std.net;

auto http = new HttpClient();

etc

Or more up-to-now problem.

std/datetime/time.d
std/datetime/date.d

std/datetime.d:
module std.datetime;

public import std.datetime.time;
public import std.datetime.date;

Looks smooth for me tbh.


More information about the Digitalmars-d-announce mailing list