embd 0.1.0 - embedded D

2013-03-06 Thread Nathan M. Swan
Announcing the release of embd, a low-level (i.e. small) API for embedding D code into text: https://github.com/carlor/embd It's a bit of an inconvenient API, but it's customizable and gives the client control in what gets passed to the template. I hope some of you find it useful! NMS

Re: embd 0.1.0 - embedded D

2013-03-06 Thread Nathan M. Swan
On Wednesday, 6 March 2013 at 11:29:51 UTC, Sönke Ludwig wrote: Am 06.03.2013 10:08, schrieb Nathan M. Swan: Announcing the release of embd, a low-level (i.e. small) API for embedding D code into text: https://github.com/carlor/embd It's a bit of an inconvenient API, but it's customizable

Re: vibe.d 0.7.12 released

2013-02-12 Thread Nathan M. Swan
On Monday, 11 February 2013 at 21:41:33 UTC, Jacob Carlborg wrote: On 2013-02-11 22:07, FG wrote: The problem I have with those is that they are designed for HTML. What if I wanted to make an email template instead? Erb is like a Ruby preprocessor that can be used for any format. It's used

Re: GC vs. Manual Memory Management Real World Comparison

2012-09-05 Thread Nathan M. Swan
On Wednesday, 5 September 2012 at 11:03:03 UTC, Benjamin Thaut wrote: I rewrote a 3d game I created during my studies with D 2.0 to manual memory mangement. If I'm not studying I'm working in the 3d Engine deparement of Havok. As I needed to pratice manual memory management and did want to get

Re: The best programming advice I ever got

2012-08-29 Thread Nathan M. Swan
On Wednesday, 29 August 2012 at 14:53:39 UTC, Andrei Alexandrescu wrote: Not directly related to D, but hopefully a hook :o). http://www.informit.com/articles/article.aspx?p=1945828 Andrei Great article. Learning to learn is really what distinguishes vocational training from true

Re: XSort - Sorting algorithms (including Timsort!)

2012-04-11 Thread Nathan M. Swan
On Thursday, 12 April 2012 at 03:04:49 UTC, Xinok wrote: I just wanted to share this. I started a project a few weeks ago on Github to implement several sorting algorithms in D. In total, there are 8 modules at the moment, each implementing a sorting algorithm or combination thereof.

Re: UFCS for D

2012-03-30 Thread Nathan M. Swan
On Thursday, 29 March 2012 at 00:21:38 UTC, Andrei Alexandrescu wrote: http://www.reddit.com/r/programming/comments/rif9x/uniform_function_call_syntax_for_the_d/ Andrei The primitives/utility distinction is an idea I've thought about a lot. UFCS is justifiable not only as a syntactic

Re: dcaflib

2012-03-26 Thread Nathan M. Swan
On Monday, 26 March 2012 at 13:56:46 UTC, Dejan Lekic wrote: Nathan, what terminals are supported? Only ANSI / VT* or some other types of terminals as well? I've only tested it on OSX Terminal, but I read about the features on a Linux website, and have used the ANSI escape code Wikipedia

dcaflib

2012-03-16 Thread Nathan M. Swan
In a post from a few weeks ago, someone mentioned terminal colors. Currently, I have one that works with bash (cmd pending) at https://github.com/carlor/dcaflib. Example code: import dcaflib.ui.terminal; import std.stdio; void main() { fgColor = TermColor.RED; writeln(this is red!);