www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - State of Mango

reply Paulo Pinto <pjmlp progtools.org> writes:
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
Feb 25 2012
parent reply "Nick Sabalausky" <a a.a> writes:
"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.
Feb 25 2012
next sibling parent Sean Kelly <sean invisibleduck.org> writes:
Yup. Though there may be a few bits that weren't included in Tango.=20

On Feb 25, 2012, at 11:35 AM, "Nick Sabalausky" <a a.a> wrote:

 "Paulo Pinto" <pjmlp progtools.org> wrote in message=20
 news:jibco6$28l7$2 digitalmars.com...
 Hi,
=20
 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.
=20
 The project looks a bit dormant, does anyone know what is the real state?=


=20

My undertanding is that, ages ago, Mango merged with an alternate D1 runti=

 to become what we now know as Tango.
=20
=20

Feb 25 2012
prev sibling next sibling parent reply maarten van damme <maartenvd1994 gmail.com> writes:
--e89a8ff1c30a488f1704b9cfce92
Content-Type: text/plain; charset=ISO-8859-1

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.

--e89a8ff1c30a488f1704b9cfce92
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

yet if you want a great web framework for D you should check out adam rupe&=
#39;s stuff.<div><a href=3D"https://github.com/adamdruppe/misc-stuff-includ=
ing-D-programming-language-web-stuff">https://github.com/adamdruppe/misc-st=
uff-including-D-programming-language-web-stuff</a></div>
<div>works really good.</div>

--e89a8ff1c30a488f1704b9cfce92--
Feb 25 2012
parent reply Paulo Pinto <pjmlp progtools.org> writes:
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.
Feb 25 2012
parent reply Paulo Pinto <pjmlp progtools.org> writes:
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
Feb 25 2012
next sibling parent Jacob Carlborg <doob me.com> writes:
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
Feb 26 2012
prev sibling parent Paulo Pinto <pjmlp progtools.org> writes:
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.
Feb 26 2012
prev sibling next sibling parent "Adam D. Ruppe" <destructionator gmail.com> writes:
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?)
Feb 25 2012
prev sibling next sibling parent "Adam D. Ruppe" <destructionator gmail.com> writes:
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.
Feb 26 2012
prev sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Sat, 25 Feb 2012 14:35:40 -0500, 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.

IIRC, Mango still retains server software, and is not completely superseded by Tango. All client software went into Tango (i.e. http client). -Steve
Mar 01 2012