On Saturday, 5 September 2015 at 11:30:20 UTC, BBasile wrote:
On Monday, 31 August 2015 at 13:15:57 UTC, BBasile wrote:
waiting feedback:
https://github.com/dymk/temple/issues/31
this error message is so strange. Maybe the author is not very
reachable now so you might also want to try to compi
On Thursday, 27 November 2014 at 19:16:24 UTC, gedaiu wrote:
Hi,
In the last weeks I tried to make a draft for a mvc library. I
tried to take advantage of templates, uda and ctfe to make the
interaction with the database and the routing easier. There is
still a lot of work to do for making it
Also, because long compile times due to template compilation are
a pain for both Vibe's Diet and Temple, I've put together a repo
demonstrating how to do separate compilation with Temple
templates:
https://github.com/dymk/temple-separate-compilation
The idea is to put views in separate Dub su
Hey all,
I'd like to announce the release of Temple 0.7.0, a compile time
templating engine for D. It's been a while since the last major
release, and 0.7.0 brings a lot of changes and enhancements.
Temple is a library for embedding arbitrary D code in text
templates, similar to Vibe.d's Diet, o
Wouldn't it be more generally useful to have another function
like main() called init() which if present (optional) is called
before/during initialisation. It would be passed the command
line arguments. Then a program can chose to implement it, and
can use it to configure the GC in any ma
In the release notes:
Sep 23th 2014
Ah yes, who can forget September twentythirth? ;-)
Thanks for your work on Mono-D, it has made Xamarin studio a
viable IDE for me.
On Tuesday, 16 September 2014 at 00:16:43 UTC, Brian Schott wrote:
Several of my co-workers use Sublime Text and wanted D-Scanner
to work with SublimeLinter, so here it is.
https://github.com/economicmodeling/SublimeLinter-dscanner
I heavily use SublimeLinter. I'm really glad to see a D plugi
Awesome! I can't wait to try it out. Some screenshots in the
README would be much appreciated, though
On Friday, 16 May 2014 at 13:42:30 UTC, Jacob Carlborg wrote:
On 16/05/14 09:58, Dylan Knutson wrote:
Ya know, it might be able to be made into a struct; I'll
fiddle with it
tomorrow. The main reason it was made a class was so .join had
to take a
Table type as its first parameter
Does this need to be a class, can it be a struct instead?
Ya know, it might be able to be made into a struct; I'll fiddle
with it tomorrow. The main reason it was made a class was so
.join had to take a Table type as its first parameter, and
internally Table implements a Joinable interface (w
Hi all,
I'd like to announce the initial version of Regal, an SQL
relational algebra builder for D. It's intended as a backbone for
a relational database ORM, in line with how Arel works with
Rails' ActiveRecord, but nearly any project that generates SQL
dynamically can benefit from it. The g
Suggestion: A search and replace of the comments, replacing
`d.puremagic.com/issues/show_bug.cgi?id=` with
`issues.dlang.org/show_bug.cgi?id=`
That way at least most of the links in comments between issues
will point to the right location.
On Friday, 11 April 2014 at 00:01:45 UTC, Jason King wrote:
One other nag (suggestion). Keep your base DBI and any object
relational wrapper separate. A lot of use-cases don't need
ORM, and separating the two parts means that adding a new db
driver is simply a matter of plugging in the dbi pa
On Wednesday, 26 February 2014 at 20:22:31 UTC, simendsjo wrote:
On 02/26/2014 08:52 PM, Jacob Carlborg wrote:
The video quality is good, isn't it? Or did you mean the
content quality (which is pretty poor)?
The audio quality is due to using a laptop microphone. I
haven't found a way to incr
On Friday, 3 January 2014 at 17:50:22 UTC, Nicolas Sicard wrote:
I wish Variant worked at compile time myself. Did you file a
bug/enhancement request? (I couldn't find one in bugzilla).
https://d.puremagic.com/issues/show_bug.cgi?id=11864
Doing some more tests, it seems like just about any tem
On Thursday, 2 January 2014 at 10:59:27 UTC, Jacob Carlborg wrote:
Nice. Do you have any concept of safe vs unsafe strings?
That's a really good idea...
[the day passes by]
Support implemented in v0.5.0:
https://github.com/dymk/temple#filter-policies
FilterPolicies allow the developer to in
On Thursday, 2 January 2014 at 10:59:27 UTC, Jacob Carlborg wrote:
On 2014-01-02 02:12, Dylan Knutson wrote:
It didn't before, because of how the semantics of eRuby syntax
works,
but now it does! It seemed like an important thing to
support...
Here's an example mimicking a subse
On Thursday, 2 January 2014 at 06:59:04 UTC, yazd wrote:
How much of this is done at compile-time?
Strictly speaking, just the generation of the code that writes
the template to the output buffer. E.g, the code above simulating
the Rails form helper would be lowered to code approximately
equ
I've made a post on Reddit, if anyone that found the library
nifty would like to upvote:
http://www.reddit.com/r/programming/comments/1u71sr/temple_compile_time_embedded_templating_engine/
On Wednesday, 1 January 2014 at 13:04:27 UTC, Jacob Carlborg
wrote:
On 2013-12-31 07:05, Dylan Knutson wrote:
Hello,
A few months ago I had posted a project of mine, templ-d. It
was an
experiment in writing a template engine for embedding D code in
arbitrary text files, a-la Vibe.d's
Added a goodie: Nestable capture blocks (like pseudo-templates
inside your templates)
This template:
```
<% auto outer = capture(() { %>
Outer, first
<% auto inner = capture(() { %>
Inner, first
On Tuesday, 31 December 2013 at 13:10:53 UTC, Jacob Carlborg
wrote:
On 2013-12-31 07:05, Dylan Knutson wrote:
Hello,
A few months ago I had posted a project of mine, templ-d. It
was an
experiment in writing a template engine for embedding D code in
arbitrary text files, a-la Vibe.d's
Hello,
A few months ago I had posted a project of mine, templ-d. It was
an experiment in writing a template engine for embedding D code
in arbitrary text files, a-la Vibe.d's Diet templates, but
without the requirement of generating HTML.
So, I've revamped templ-d, and written Temple in its
On Monday, 16 December 2013 at 07:34:07 UTC, Jacob Carlborg wrote:
We really need to get officially support for D in Travis. I've
been thinking about this for a while but haven't done anything
about it so far.
Agreed; this was just a stopgap for at least being able to use
Travis with my proje
On Monday, 16 December 2013 at 12:09:13 UTC, Leandro Lucarella
wrote:
Yeah, and this approach of compiling the compilers, even when
it might
be useful, seems overkill and a bit abusive for Travis. I would
contact
those guys, maybe they are willing to add D support, I guess it
shouldn't be that
On Sunday, 15 December 2013 at 23:31:48 UTC, Dylan Knutson wrote:
Hello,
I was hoping for Travis-CI to provide a set of D compilers for
building projects written in D, but alas, they do not.
So, here's a small skeleton project that I'm using for testing
my D projects with DMD 2
Hello,
I was hoping for Travis-CI to provide a set of D compilers for
building projects written in D, but alas, they do not.
So, here's a small skeleton project that I'm using for testing my
D projects with DMD 2.064.2 and LDC 0.12.1.
It should be straightforward to bring in the relevant pa
Hello everyone,
A few of you might have remembered me posting a proof-of-concept
embedded D template engine a week or two ago. I'd like to
announce that a few weeks of development later, I've extracted
the core idea of that into a Dub-compatible library, called
templ-d.
The syntax that templ
On Friday, 17 May 2013 at 07:21:22 UTC, Jonathan M Davis wrote:
Please post questions like this in D.Learn, not D.announce
- Jonathan M Davis
Apologies; I didn't notice where I posted this.
Hello, Please correct me if I'm not using a term right; I'm new
to the language, so I'm not all that familiar with what term
applies to what :-)
I'm in kind of a bind here: I've got to, at compile time, do some
conditional logic within a function literal based on the number
of arguments passe
30 matches
Mail list logo