Re: Dgame 0.3.2

2014-11-23 Thread Namespace via Digitalmars-d-announce
On Sunday, 23 November 2014 at 01:06:27 UTC, uri wrote: On Saturday, 22 November 2014 at 15:38:35 UTC, Namespace wrote: On Saturday, 22 November 2014 at 06:49:04 UTC, uri wrote: On Saturday, 22 February 2014 at 10:00:46 UTC, Namespace wrote: On a side note, the author in the code is Stewart

Re: DerelictSASS

2014-11-23 Thread Lodin via Digitalmars-d-announce
On Saturday, 22 November 2014 at 16:44:11 UTC, ponce wrote: A tip to keep in mind when translating C/C++ headers: --- enum Sass_Tag { SASS_BOOLEAN, SASS_NUMBER, SASS_COLOR }; --- is best translated as --- alias Sass_Tag = int; enum : Sass_Tag { SASS_BOOLEAN, SASS_NUMBER,

Re: DerelictSASS

2014-11-23 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-11-23 01:26, Mike Parker wrote: Some people may prefer the bindings to include more D features, but IMO if you're going to put something out there for everyone and anyone to use, particularly if you want to be consistent with other Derelict bindings, it's better to avoid them. For

Re: DerelictSASS

2014-11-23 Thread ponce via Digitalmars-d-announce
On Sunday, 23 November 2014 at 19:36:16 UTC, Jacob Carlborg wrote: On 2014-11-23 01:26, Mike Parker wrote: Some people may prefer the bindings to include more D features, but IMO if you're going to put something out there for everyone and anyone to use, particularly if you want to be

Re: DerelictSASS

2014-11-23 Thread Colden Cullen via Digitalmars-d-announce
On Saturday, 22 November 2014 at 12:32:50 UTC, Lodin wrote: Hello, I've made a smaill binding to libsass - a C/C++ implementation of popular CSS preprocessor SASS. Binding is dynamic and based on Derelict Project. You can find it here: https://github.com/Lodin/DerelictSASS It is my first

Re: DerelictSASS

2014-11-23 Thread Mike Parker via Digitalmars-d-announce
On 11/24/2014 4:36 AM, Jacob Carlborg wrote: For more D features I would add a thin layer on top of the raw bindings. Like creating wrappers for functions accepting C strings and have them accept D strings instead. Right, that's how a wrapper should be written. But I don't think it should be