Pre-alpha D language online tour

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 28 01:36:00 PST 2016


On Monday, 25 January 2016 at 18:17:09 UTC, André wrote:
> Hi,
>
> Inspired by the Go online language tour 
> (https://tour.golang.org/) and the great experience it gave me 
> learning the language I started a similar project for D some 
> weeks ago. It's currently in a very pre-alpha state but I 
> wanted to announce it in case someone had something similar in 
> mind and is willing to contribute. The basic idea behind this 
> tour is to introduce features of the language with short 
> explanations and example code that is compiled and run online.
>
> The code is located here:
>
> https://github.com/stonemaster/dlang-tour
>
> I've setup a server which always runs the latest version:
>
> http://dlang-tour.steinsoft.net
>
> This tour doesn't allow compiling online because the current 
> implementation would just make it too easy to hijack the server 
> :-) Compiling and running online can be activated when 
> compiling locally though. My goal would be to integrate the 
> tour with DPaste in the long run.
>
> Working on this tour unfortunately stalled a little bit in this 
> year but I am trying to work on the project constantly in the 
> upcoming weeks. There is still a lot of content missing and, 
> more importantly, good D source examples. But I have a rough 
> guideline on which D topics I'd like to add content for.
>
> Any kind of feedback is highly appreciated, of course.
>
> Regards,
> André

Another typo: In Basic's page two (Basic types) it says
     The prefix u denotes unsigned types. char translates to UTF-8 
characters, dchar is       used in UTF-16 strings and dchar in 
UTF-32 strings.
Should be
     The prefix u denotes unsigned types. char translates to UTF-8 
characters, _W_char is used in UTF-16 strings and dchar in UTF-32 
strings.


More information about the Digitalmars-d mailing list