Thank you all for the positive comments!
Hi,
Pegged is a parser generator based on Parsing Expression Grammars
(PEG) written in D, that aims to be both simple to use and work
at compile-time.
See: https://github.com/PhilippeSigaud/Pegged
To use Pegged, just call the grammar function with a PEG and mix
it in your module. For
Nice!
I have a few questions/remarks, mainly to simplify the API somewhat.
Please bear with me :-)
// First you need to describe your daemon via template
alias daemon = Daemon!(
DaemonizeExample1, // unique name
Does the user sees/uses this name in any way afterwards? Because I
think you
Does the user sees/uses this name in any way afterwards? Because I
think you could also produce a unique string at compile-time (by using
__FILE__ and __LINE__, unless someone has a better idea), if the user
does not provide one. Maybe he just wants an anonymous daemon, or
doesn't care,
On Sun, Aug 31, 2014 at 11:36 PM, Meta via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
I didn't know you could have an enum and extend it with a cast like this.
This is not a good thing. Enums are supposed to denote a *closed*,
enumerated set of items.
I agree.
It's
I can (not must) have the form, the delegate params are tested independently
from signal composition.
OK, good.
Is that the standard behavior for daemons in OSes?
Most signals are simply ignored (except termination ones).
I see.
Some signals could be sent without any reason: sighup or
Drat, I need a livejournal account to post comments? Well, I can at
least create a reddit account, I guess...
In the Ruby version, I was able to add the methods directly to the
Integer class, using what's known as monkey patching, allowing me to
make calls like3.pentagonal. In D, the methods are
On Thu, Jun 12, 2014 at 10:35 PM, Rounin via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Hey there!
Oh cool, thanks for answering!
Yeah, to expect people to register on LiveJournal in this age of Facebook...
Sorry about that; It must have been to deter the spammers.
On Tue, Jun 3, 2014 at 10:54 PM, Jonathan Crapuchettes
Here is a link to the slides from the presentation.
http://slides.com/jonathancrapuchettes/dconf
On the 'issues with D' slide, you cite 'Can't get member names from Tuples'.
Do you mean:
alias Entry = Tuple!(int, index, string, value);
On Tue, Jun 3, 2014 at 10:54 PM, Jonathan Crapuchettes via
Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote:
Here is a link to the slides from the presentation.
http://slides.com/jonathancrapuchettes/dconf
Very nice talk! And quite an interesting piece of software you built
On Thu, May 29, 2014 at 12:28 PM, Chris via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
On Wednesday, 28 May 2014 at 18:14:28 UTC, Walter Bright wrote:
http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book
On Thu, May 29, 2014 at 2:31 PM, Jacob Carlborg wrote:
Amazon has a version for their Kindle [1]. I have not seen any mentioning of
other formats.
[1]
http://www.amazon.com/D-Cookbook-Adam-D-Ruppe-ebook/dp/B00KLAJ62M/ref=sr_1_1_title_1_kin?s=booksie=UTF8qid=1401366690sr=1-1
But the paper
I did a translation of most of the code in the slides.
http://dpaste.dzfl.pl/72b5cfcb72e4
I'm planning to transform it into blog post (or series). Right now it just
has some scratch notes. Feel free to let me know everything I got wrong.
That's a good idea. I think most of us did that while
13 matches
Mail list logo