On Mon, 05 Nov 2012 18:54:31 +0100, Namespace rswhi...@googlemail.com
wrote:
I am considering to rewrite Remus from the ground up.
Because I hope that Remus earn next time more interest, I would like to
vote or discuss the features.
Writing a D parser from the ground up, even if it's
On Mon, 15 Oct 2012 08:36:22 +0200, Gerry Weaver ger...@compvia.com
wrote:
Hi,
I removed the dmd package and downloaded the .zip. I checked for any
files that were left behind when the package was removed and they are
gone. I then ran dmd from the zip package, but I get the same result.
On Fri, 12 Oct 2012 21:43:07 +0200, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
You mean at compile-time? Try this: http://dpaste.dzfl.pl/06b95c3f
Copied below:
[SNIP]
That's pretty ingenious!
Hi,
I can give you three options to choose from.
There's the official grammar (don't know what the form is called):
http://dlang.org/declaration.html
A Parser Expression Grammar (PEG):
https://github.com/PhilippeSigaud/Pegged/blob/master/pegged/examples/dparser.d
The source code comments in
On Fri, 12 Oct 2012 08:16:54 +0200, Jacob Carlborg d...@me.com wrote:
Why is that? Tango is working just fine and Phobos is still missing some
stuff that Tango has. Actually, I'm using both and there's nothing wrong
with that. Tango is just yet another third party library.
Yeah, no
On Thu, 11 Oct 2012 21:30:11 +0200, Jacob Carlborg d...@me.com wrote:
I liked the style that the Tango docs are using much better.
What? You don't like my soft, green colours? Shame on you! :P
Ok, I'm not happy with the style myself, but I want to concentrate on
functionality more atm.
On Fri, 12 Oct 2012 19:51:02 +0200, Lubos Pintes lubos.pin...@gmail.com
wrote:
Hi,
I am still playing with DGUI library. Besides other things, I would like
to convert enum names from
THIS_STUPID_NAMING_CONVENTION_WHICH_I_ABSOLUTELY_HATE to thisGoodOne.
Obviously I could do this by hand but
int n1 = 10, n2 = 2;
float f = (n1+0.0f)/n2;
Casting n1 to float would also work, but I hope the compiler is smart
enough to optimize away the plus expression.
Hi,
You might also want to check out my solution to generating documentation
for D projects.
I've just run DIL on Phobos2 and uploaded the files to my Dropbox account:
http://dl.dropbox.com/u/17101773/doc/phobos2/index.html
Where else would you get a PDF of everything in Phobos2, but here
It's very easy to use DIL for doc generation (at least I try hard to make
it so.)
In your case you'd just have to run this command (use -I as well if
required):
dil ddoc path/to/output/ package1/*.d package2/*.d -v --kandil -hl
Check out http://code.google.com/p/dil/wiki/Kandil for more
I'll be happy to help you compile DIL yourself. That way I can see where
my assumptions are false and my instructions are lacking and make it work
for different platforms and needs. I've been considering just copying
Tango's files to my src folder, because it would make compiling much
On Thu, 11 Oct 2012 21:33:15 +0200, Jacob Carlborg d...@me.com wrote:
If you're using git you could add Tango as a submodule. I'm talking
about Tango-D2 here, I heard you're porting Dil to D2. It might be
possible for D1 as well using git svn.
Interesting, I didn't realize until now that
On Mon, 08 Oct 2012 23:01:42 +0200, Ellery Newcomer
ellery-newco...@utulsa.edu wrote:
Wasn't Paul D. Anderson working on a BigFloat?
Thanks for the hint. I found his project on github:
https://github.com/andersonpd/decimal
Seems fairly complete and usable. Hope he's going to continue to
On Sun, 07 Oct 2012 12:39:59 +0200, Walter Bright
newshou...@digitalmars.com wrote:
A list of relevant bugzilla entries would be illuminating.
There's a regression in 2.060 which affects my project. Was first reported
here:
http://d.puremagic.com/issues/show_bug.cgi?id=4192
The
On Mon, 08 Oct 2012 09:28:37 +0200, H. S. Teoh hst...@quickfur.ath.cx
wrote:
I'd like to chime in to state that I'd love to have Rational support
BigInt. If necessary, use an arbitrary-width floating point format for
floating point conversions (BigFloat?).
Incidentally, I would very much
On Fri, 28 Sep 2012 06:03:41 +0200, Bernard Helyer b.hel...@gmail.com
wrote:
By the time the compiler even has a concept of an 'if statement'
or a 'block' the whitespace is long gone. Not to say you
couldn't change the lexing model to detect such things,
but it's not a simple as you make it
On Mon, 01 Oct 2012 14:41:01 +0200, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
I'm realizing now it's not just blank spaces. There could be a comment
line instead. :)
Okay, but that doesn't really make it more difficult. :-)
--
My D Compiler: http://code.google.com/p/dil
Okay, so I tested the Windows binary and it actually works. My build
script used wine 1.5.13 to compile Tango and DIL. To me it's a pleasant
surprise that it doesn't crash (considering that wine displayed some weird
error message boxes when compiling Tango.)
Watch this link if you're
So I got informed that the 64bit Linux version doesn't work at all. Sorry
about that. Either I'm doing something wrong or cross-compilation isn't
possible on my 32bit machine. *sigh*
On Sun, 23 Sep 2012 23:35:23 +0200, Walter Bright
newshou...@digitalmars.com wrote:
Great!
Yep! Been there for years. Started with SVN, moved to hg (sharesource.org)
and then finally to git/github. ;-)
On Mon, 24 Sep 2012 17:43:50 +0200, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
This is very interesting. We could use some dogfooding of the compiler,
not to mention using a better language.
Oh lawdy, I couldn't bear writing tons of code in C++. It conjures up
images of
On Mon, 24 Sep 2012 19:28:10 +0200, Salih Dincer sali...@hotmail.com
wrote:
Aziz tebrikler (congrat.), that's great...
Teşekkürler! ;-)
Hi,
On Fri, 20 Apr 2012 09:54:48 +0200, Jacob Carlborg d...@me.com wrote:
I think Dil has been ported to D2 just recently.
That's right. ;-)
(One or two issues make it a bit unsuable atm, though.)
--
My D Compiler: http://code.google.com/p/dil
I would prefer it to work like this:
repeat(abc, 3) - abcabcabc
repeat([abc], 3) - [abc,abc,abc]
repeat([1,2,3], 3) - [1,2,3,1,2,3,1,2,3]
--
Dil D compiler: http://code.google.com/p/dil/
Okay, so your arrayOf() function could be written as:
auto arrayOf(T x, uint n){ return repeat([x], n); }
Only needs to wrap the argument inside another array literal.
Hi,
The specs are not always helpful when you need to know how to write a
compiler for D programs.
Is it okay to study the code of the front-end of DMD, and also contribute
to similar projects under a different license?
What are the restrictions in this regard?
--
Aziz
--
Dil:
Walter Bright wrote:
I use the compiler source in my Compiler Construction Seminar
(http://www.astoriseminar.com). So yes, you are free to study the code,
learn from it, apply the techniques in your own projects, and contribute
to other projects under a different license.
Great. Thanks
Hi,
Since we've got the attribute syntax (@identifier), wouldn't it be good to
convert certain keywords to use this syntax?
E.g.:
nothrow - @nothrow
pure - @pure
Bam! Two fewer keywords in the language. :-)
On a related note, I would like to suggest to get rid of the ugly enum
manifest
bearophile wrote:
@manifest int x = 2010; // we use this. :-) :D
I don't like that a lot :-) It's almost worse than enum. Try again.
The idea is to reduce the number of keywords, so the use of @ is a must.
But like I suggested, alternatively we could simply replace enum manifests
with
Don wrote:
That ship has long since sailed. Please don't waste any more thought on
it. (It's just a hack to get around OPTLINK limitations, actually).
I don't see what it has to do with OPTLINK. This is about syntax and the
parser in the front-end.
--
Dil: http://code.google.com/p/dil/
More correctly: DİL ;)
Yeah, but English users won't like that. :P
Turkish speakers can refer to it as DİL if they like.
Hi,
- Create a front-end in D almost from scratch.
I've been developing a D compiler, and I started completely from scratch.
;)
But the most difficult part still lies ahead of me: Semantic Analysis.
That's why DIL (looks good in caps I guess) still can't produce any
binaries.
At least it
Hi!
You're welcome. Please explain, what exactly would you like me to update?
I already plan to upload new documentation files for Tango, Phobos and
MiniD2.
Got anything else in mind?
33 matches
Mail list logo