| Thread overview | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 25, 2012 State of Mango | ||||
|---|---|---|---|---|
| ||||
Hi, I was just wondering about the possibility to have a servlet like web server in D, and discover it already exists in the form of Mango. The project looks a bit dormant, does anyone know what is the real state? Thanks, Paulo | ||||
February 25, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | "Paulo Pinto" <pjmlp@progtools.org> wrote in message news:jibco6$28l7$2@digitalmars.com... > Hi, > > I was just wondering about the possibility to have a servlet like web server in D, and discover it already exists in the form of Mango. > > The project looks a bit dormant, does anyone know what is the real state? > My undertanding is that, ages ago, Mango merged with an alternate D1 runtime to become what we now know as Tango. | |||
February 25, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | Yup. Though there may be a few bits that weren't included in Tango.
On Feb 25, 2012, at 11:35 AM, "Nick Sabalausky" <a@a.a> wrote:
> "Paulo Pinto" <pjmlp@progtools.org> wrote in message news:jibco6$28l7$2@digitalmars.com...
>> Hi,
>>
>> I was just wondering about the possibility to have a servlet like web server in D, and discover it already exists in the form of Mango.
>>
>> The project looks a bit dormant, does anyone know what is the real state?
>>
>
> My undertanding is that, ages ago, Mango merged with an alternate D1 runtime to become what we now know as Tango.
>
>
| |||
February 25, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Attachments:
| yet if you want a great web framework for D you should check out adam rupe's stuff. https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff works really good. | |||
February 25, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to maarten van damme | Am 25.02.2012 21:34, schrieb maarten van damme:
> yet if you want a great web framework for D you should check out adam
> rupe's stuff.
> https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
> works really good.
Thanks. They don't seem to compile with the latest D version.
I'll check tomorrow what the issue might be.
| |||
February 25, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | On Saturday, 25 February 2012 at 23:07:18 UTC, Paulo Pinto wrote:
> Thanks. They don't seem to compile with the latest D version.
What error did you get? (and which file?)
| |||
February 26, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | Am 26.02.2012 00:19, schrieb Adam D. Ruppe:
> On Saturday, 25 February 2012 at 23:07:18 UTC, Paulo Pinto wrote:
>> Thanks. They don't seem to compile with the latest D version.
>
> What error did you get? (and which file?)
Hi Adam,
I am compiling on Windows with the latest versions (DMD 2.058 and HEAD from your stuff)
This is what I've tried just before posting my previous message.
PS D:\d\workspace\gallery\src> dmd .\cgi.d
.\cgi.d(34): basic type expected, not (
.\cgi.d(34): found 'ubyte' when expecting ')'
.\cgi.d(34): no identifier for declarator int[]
.\cgi.d(34): semicolon expected to close declaration, not ')'
.\cgi.d(34): found ')' instead of statement
.\cgi.d(35): basic type expected, not (
.\cgi.d(35): found 'ubyte' when expecting ')'
.\cgi.d(35): no identifier for declarator int[]
.\cgi.d(35): semicolon expected to close declaration, not ')'
.\cgi.d(35): found ')' instead of statement
.\cgi.d(49): identifier expected, not template
.\cgi.d(49): found '(' when expecting ';' following template mixin
.\cgi.d(49): Declaration expected, not ')'
.\cgi.d(55): unrecognized declaration
The line 34 is a simple expression,
const(ubyte[]) d = cast(const(ubyte[])) data;
I will research this better today, as I am not sure if I am doing this the right way.
-
Paulo
| |||
February 26, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | On 2012-02-26 08:06, Paulo Pinto wrote: > Am 26.02.2012 00:19, schrieb Adam D. Ruppe: >> On Saturday, 25 February 2012 at 23:07:18 UTC, Paulo Pinto wrote: >>> Thanks. They don't seem to compile with the latest D version. >> >> What error did you get? (and which file?) > > Hi Adam, > > I am compiling on Windows with the latest versions (DMD 2.058 and HEAD > from your stuff) > > This is what I've tried just before posting my previous message. > > PS D:\d\workspace\gallery\src> dmd .\cgi.d > .\cgi.d(34): basic type expected, not ( > .\cgi.d(34): found 'ubyte' when expecting ')' > .\cgi.d(34): no identifier for declarator int[] > .\cgi.d(34): semicolon expected to close declaration, not ')' > .\cgi.d(34): found ')' instead of statement > .\cgi.d(35): basic type expected, not ( > .\cgi.d(35): found 'ubyte' when expecting ')' > .\cgi.d(35): no identifier for declarator int[] > .\cgi.d(35): semicolon expected to close declaration, not ')' > .\cgi.d(35): found ')' instead of statement > .\cgi.d(49): identifier expected, not template > .\cgi.d(49): found '(' when expecting ';' following template mixin > .\cgi.d(49): Declaration expected, not ')' > .\cgi.d(55): unrecognized declaration > > The line 34 is a simple expression, > > const(ubyte[]) d = cast(const(ubyte[])) data; > > I will research this better today, as I am not sure if I am doing this > the right way. > > - > Paulo Mango is for D1. You would need to use Tango for D2 and then port Mango to D2. https://github.com/SiegeLord/Tango-D2 -- /Jacob Carlborg | |||
February 26, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Paulo Pinto | On Sunday, 26 February 2012 at 07:06:04 UTC, Paulo Pinto wrote:
> I am compiling on Windows with the latest versions (DMD 2.058 and HEAD from your stuff)
I got those errors if I compile with a D1 compiler, but it
works fine with D2 compiler.
My guess is dmd1 got in your PATH instead of dmd2.
| |||
February 26, 2012 Re: State of Mango | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | Am 26.02.2012 16:22, schrieb Adam D. Ruppe:
> On Sunday, 26 February 2012 at 07:06:04 UTC, Paulo Pinto wrote:
>> I am compiling on Windows with the latest versions (DMD 2.058 and HEAD
>> from your stuff)
>
> I got those errors if I compile with a D1 compiler, but it
> works fine with D2 compiler.
>
> My guess is dmd1 got in your PATH instead of dmd2.
That was the issue.
When I used the Windows installer I selected D1 as well, and it
got on the PATH before D2.
Thanks.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply