On Tuesday, 9 December 2014 at 18:23:26 UTC, deadalnix wrote:
Hijacking this thread. Captcha is still not working on https :(
Sorry, had to revert to an earlier version due to an unrelated
regression. It's back on reCaptcha now.
The new one should work on HTTPS once I'll find and fix the
I will use a handwritten recursive decent parser.
Since that is what I deem the easiest thing to do.
Take a look at the std.lexer proposal first.
On Wednesday, 10 December 2014 at 13:02:43 UTC, Tobias Pankrath
wrote:
I will use a handwritten recursive decent parser.
Since that is what I deem the easiest thing to do.
Take a look at the std.lexer proposal first.
Thanks for your suggestion.
In fact, I know and like std.lexer.
But this
On 12/02/2014 10:41 PM, Vladimir Panteleev wrote:
Although forum.dlang.org has had a spam check and used reCAPTCHA since
it was announced, it is only somewhat effective against fully-automated
bots - it is powerless against humans paid to post spamverts on forums
web-wide, which is what the
Embarassingly trivial, and I don't claim it is well-written. But
perhaps it will save somebody a few minutes.
Quandl is The largest, most usable collection of free open data
in the world.
They offer a bunch of predominantly financial and economic data
from different sources for free (with
Glad to announce that D support on Travis-CI was launched today.
http://blog.travis-ci.com/2014-12-10-community-driven-language-support-comes-to-travis-ci/
You can now get out-of-the-box continuous integration for your D
projects on github. If you are already using dub, using Travis-CI is as
This is excellent! Well done guys!
On Thu, Dec 11, 2014 at 10:20 AM, Martin Nowak via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Glad to announce that D support on Travis-CI was launched today.
http://blog.travis-ci.com/2014-12-10-community-driven-
It will plot the data and save the plot to a file (by default
plotcli.png).[url=http://www.pass4-sure.biz]pass4-sure.biz[/url]
Plotcli has a command line switch similar to tail
(-f) so that it will keep checking for new data until it is
killed with ctrl+c.
On 11 December 2014 at 14:50, Martin Nowak via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Glad to announce that D support on Travis-CI was launched today.
http://blog.travis-ci.com/2014-12-10-community-driven-language-support-comes-to-travis-ci/
You can now get
On Thursday, 11 December 2014 at 06:02:13 UTC, Manu via
Digitalmars-d-announce wrote:
So cool! I've been doing this manually for some time.
What about those of us who don't/can't use dub?
That's a good question. I have been using d-apt until now, but
that only works for DMD.
On 12/11/14, Martin Nowak via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
Glad to announce that D support on Travis-CI was launched today.
http://blog.travis-ci.com/2014-12-10-community-driven-language-support-comes-to-travis-ci/
Awesome!!
Btw, I've noticed this command
The form doesn't accept my input. Just provide your cool build
system so people could use it to build the library.
On Wed, 10 Dec 2014 08:02:22 +
Kagamin via Digitalmars-d digitalmars-d@puremagic.com wrote:
The form doesn't accept my input. Just provide your cool build
system so people could use it to build the library.
or even better: provide sh-script to build the thing. it can be
suboptimal, but if
On Tuesday, 9 December 2014 at 17:06:45 UTC, Dmitry Olshansky
wrote:
1. enums are hard to extend for std lib, and absolutely
impossible by 3rd party libraries.
What's the problem? When you add new functionality to std lib,
you add an enum entry in the same pull request. 3rd party
libraries
On Tuesday, 9 December 2014 at 18:07:16 UTC, H. S. Teoh via
Digitalmars-d wrote:
what is more interesting is was this failure caused by
permission error?.
And what if it does?
You would create thousands of types and their cartesian products
just to check for one of them?
Dne 10.12.2014 v 6:33 Anonymous via Digitalmars-d napsal(a):
Hello all,
If I could have a minute of your time for a short anonymous survey
regarding D libraries and tools, I'd really appreciate it.
http://goo.gl/forms/lMrHRr335C
This is explained further in the link above, but for
On Tuesday, 9 December 2014 at 20:55:51 UTC, Dicebot wrote:
Because you don't really create a template that way but
workaround broken function behavior. It is not the usage of
empty templates that is bad but the fact that plain functions
remain broken = not really a solution.
You can compile
On Wednesday, 10 December 2014 at 01:21:58 UTC, Mike Parker wrote:
So you should be importing core.stdc.stdint directly. Pretend
that std.stdint doesn't exist.
I am.
On Wednesday, 10 December 2014 at 08:43:49 UTC, Kagamin wrote:
On Tuesday, 9 December 2014 at 20:55:51 UTC, Dicebot wrote:
Because you don't really create a template that way but
workaround broken function behavior. It is not the usage of
empty templates that is bad but the fact that plain
On Wednesday, 10 December 2014 at 10:24:53 UTC, Paulo Pinto
wrote:
This cannot be the solution if D aspires to be used in contexts
where binary libraries are used.
For completely opaque libraries one can compile against interface
files.
On Wednesday, 10 December 2014 at 02:15:04 UTC, ketmar via
Digitalmars-d wrote:
On Tue, 09 Dec 2014 17:28:15 +
Ivan Kazmenko via Digitalmars-d digitalmars-d@puremagic.com
wrote:
A well-designed language allows to recover from errors with
good probability
if compiler can recover from
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to put
both attributes).
This could give a compilation error:
void foo(int[] a) @noruntime {
int[5] b = a[];
}
On 12/10/2014 2:24 AM, Paulo Pinto wrote:
This cannot be the solution if D aspires to be used in contexts where binary
libraries are used.
C++ is excused to have template code in headers given the primitive tooling, but
languages like Ada and Modula-3 support proper information hiding for
On Wed, 10 Dec 2014 10:36:22 +
Ivan Kazmenko via Digitalmars-d digitalmars-d@puremagic.com wrote:
On Wednesday, 10 December 2014 at 02:15:04 UTC, ketmar via
Digitalmars-d wrote:
On Tue, 09 Dec 2014 17:28:15 +
Ivan Kazmenko via Digitalmars-d digitalmars-d@puremagic.com
wrote:
Hello guys,
I want to work on optimisations in the semantic analysis stage.
Could you chime in with thoughts about what can only be there and
not in llvm-ir for example ?
Thanks Stefan
On Wednesday, 10 December 2014 at 10:46:58 UTC, bearophile wrote:
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to
put both attributes).
This could give a
bearophile wrote in message news:pibnlncyjzetohcnw...@forum.dlang.org...
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to put both
attributes).
Why would you
On Wednesday, 10 December 2014 at 10:48:12 UTC, Walter Bright
wrote:
On 12/10/2014 2:24 AM, Paulo Pinto wrote:
This cannot be the solution if D aspires to be used in
contexts where binary
libraries are used.
C++ is excused to have template code in headers given the
primitive tooling, but
On Wednesday, 10 December 2014 at 11:15:44 UTC, Stefan Koch wrote:
It would be very nice if we could subsitute individual
functions of the runtime library by other functions or
function pointers.
I believe this is already possible with DMD because all druntime
functions are compiled as
On Wednesday, 10 December 2014 at 10:24:53 UTC, Paulo Pinto
wrote:
On Wednesday, 10 December 2014 at 08:43:49 UTC, Kagamin wrote:
On Tuesday, 9 December 2014 at 20:55:51 UTC, Dicebot wrote:
Because you don't really create a template that way but
workaround broken function behavior. It is not
On Wednesday, 10 December 2014 at 12:18:47 UTC, Mike wrote:
On Wednesday, 10 December 2014 at 11:15:44 UTC, Stefan Koch
wrote:
It would be very nice if we could subsitute individual
functions of the runtime library by other functions or
function pointers.
I believe this is already
On Wednesday, 10 December 2014 at 10:46:58 UTC, bearophile wrote:
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to
put both attributes).
This could give a
On Wed, 10 Dec 2014 10:46:56 +
bearophile via Digitalmars-d digitalmars-d@puremagic.com wrote:
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to put
both
On Wednesday, 10 December 2014 at 12:04:13 UTC, Daniel Murphy
wrote:
bearophile wrote in message
news:pibnlncyjzetohcnw...@forum.dlang.org...
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also
On Wednesday, 10 December 2014 at 12:50:19 UTC, Mike wrote:
I just remembered I had an idea for this specific feature that
would require no special attribute. You simply take all the
hard-coded symbols out of the compiler and put them in a .di
header file. Then you can version out,
On Wednesday, 10 December 2014 at 10:46:58 UTC, bearophile wrote:
The #[no_std] attribute is used to avoid the runtime in Rust.
Do we have any use for a @noruntime attribute in D?
All @noruntime functions are also @nogc (so you don't need to
put both attributes).
This could give a
On Wednesday, 10 December 2014 at 11:07:34 UTC, Stefan Koch wrote:
Hello guys,
I want to work on optimisations in the semantic analysis stage.
Could you chime in with thoughts about what can only be there
and not in llvm-ir for example ?
Thanks Stefan
Well it really depends how descriptive
On Wednesday, 10 December 2014 at 00:58:59 UTC, Chris Williams
wrote:
On Monday, 8 December 2014 at 20:21:51 UTC, Andrej Mitrovic via
Digitalmars-d wrote:
On 12/8/14, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
It seems that D3 is already available:
Stefan Koch wrote in message news:furihdkmprozoruut...@forum.dlang.org...
Hello guys,
I want to work on optimisations in the semantic analysis stage.
Could you chime in with thoughts about what can only be there and not in
llvm-ir for example ?
DMD's inliner might be a good place to start.
On Wednesday, 10 December 2014 at 12:24:56 UTC, Tobias Pankrath
wrote:
On Wednesday, 10 December 2014 at 10:24:53 UTC, Paulo Pinto
wrote:
On Wednesday, 10 December 2014 at 08:43:49 UTC, Kagamin wrote:
On Tuesday, 9 December 2014 at 20:55:51 UTC, Dicebot wrote:
Because you don't really create
On Monday, 8 December 2014 at 20:21:51 UTC, Andrej Mitrovic via
Digitalmars-d wrote:
On 12/8/14, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
It seems that D3 is already available:
https://github.com/mbostock/d3
Guess we'll just have to skip a number and call the next D
On Wednesday, 10 December 2014 at 08:02:25 UTC, Kagamin wrote:
The form doesn't accept my input. Just provide your cool build
system so people could use it to build the library.
Yeah, you'll be able to build the library yourself (or download
builds other people make, even). The survey is so I
On Tuesday, 9 December 2014 at 21:58:48 UTC, deadalnix wrote:
That why i say they are linked. I don't think your way of
stating
it contradict what I said.
scope allow for manipulation of data without owning them.
Whatever the owner is (be it the stack frame or anything else)
doesn't really
On Wednesday, 10 December 2014 at 05:33:20 UTC, Anonymous wrote:
Hello all,
If I could have a minute of your time for a short anonymous
survey regarding D libraries and tools, I'd really appreciate
it.
http://goo.gl/forms/lMrHRr335C
This is explained further in the link above, but for
I am author of the paper A Study of Successive Over-relaxation
Method Parallelization Over Modern HPC Languages.
The code has been made available for academic use at
https://www.academia.edu/9709444/Source_code_of_Parallel_and_Serial_Red-Black_SOR_Implementation_in_Chapel_D_and_Go_Languages
On Wednesday, 10 December 2014 at 08:29:51 UTC, Martin Drašar via
Digitalmars-d wrote:
Dne 10.12.2014 v 6:33 Anonymous via Digitalmars-d napsal(a):
Hello all,
If I could have a minute of your time for a short anonymous
survey
regarding D libraries and tools, I'd really appreciate it.
On Wednesday, 10 December 2014 at 15:24:13 UTC, BBaz wrote:
On Wednesday, 10 December 2014 at 05:33:20 UTC, Anonymous wrote:
Hello all,
If I could have a minute of your time for a short anonymous
survey regarding D libraries and tools, I'd really appreciate
it.
On Wednesday, 10 December 2014 at 13:55:22 UTC, Wyatt wrote:
Cribbing from the dubious wisdom of Mozilla and ISO, we can
catch up in the version numbering race and call the next one
D11. Followed, naturally, by D100. ;)
Som alternatives:
- Unary notation: D1, D11, D111, D…
- Roman: DI,
On Wed, Dec 10, 2014 at 03:35:36PM +, via Digitalmars-d wrote:
On Wednesday, 10 December 2014 at 13:55:22 UTC, Wyatt wrote:
Cribbing from the dubious wisdom of Mozilla and ISO, we can catch up
in the version numbering race and call the next one D11. Followed,
naturally, by D100. ;)
Som
On Wednesday, 10 December 2014 at 15:33:51 UTC, Anonymous wrote:
On Wednesday, 10 December 2014 at 15:24:13 UTC, BBaz wrote:
On Wednesday, 10 December 2014 at 05:33:20 UTC, Anonymous
wrote:
Hello all,
If I could have a minute of your time for a short anonymous
survey regarding D libraries
On 12/09/2014 05:22 PM, John Colvin wrote:
which of course Kenji already has a pull for, less than 3 hours later :)
It's right on time, it's right on time
On 12/10/2014 07:30 AM, Shammah Chancellor wrote:
I think meetups are a great way to evangelize.
And to colaborate
On Wednesday, 10 December 2014 at 15:15:59 UTC, Ola Fosheim
Grøstad wrote:
On Tuesday, 9 December 2014 at 21:58:48 UTC, deadalnix wrote:
D is already in that landscape and should try hard not to sink
deeper into the muddy waters.
Funny thing it is that it started exactly as a reaction to
On 10 December 2014 at 14:16, Paulo Pinto via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Wednesday, 10 December 2014 at 12:24:56 UTC, Tobias Pankrath wrote:
On Wednesday, 10 December 2014 at 10:24:53 UTC, Paulo Pinto wrote:
On Wednesday, 10 December 2014 at 08:43:49 UTC, Kagamin
On Tuesday, 9 December 2014 at 08:15:02 UTC, Puming wrote:
For Chinese it would be 帝 which pronounces the same as 'D'
and means Emperor.
An interesting coincidence is that Walter also created the game
Empire :-)
source: I'm Chinese
D2 = D二 = 第二
That was an attempt at a pun, but my Chinese
On Wednesday, 10 December 2014 at 15:53:40 UTC, Martin Nowak
wrote:
On 12/09/2014 05:22 PM, John Colvin wrote:
which of course Kenji already has a pull for, less than 3
hours later :)
It's right on time, it's right on time
Still doesn't work though:
On Wednesday, 10 December 2014 at 14:16:47 UTC, Paulo Pinto
wrote:
Lots of options are possible when the C compiler and linker
model aren't being used.
..
Paulo
I don't see how symbol table information and relocation meta data
is sufficient to produce the correct object code if the
Hello,
I'm doing some research with D concerning time zones and I need
to be able to handle a single time zone style on both Windows and
Linux. That pretty much leaves me with the IANA Time Zone
Database.
Has anyone around here dealt with compiling the data files for
the tz database on Windows?
On Wed, Dec 10, 2014 at 05:19:53PM +, Tobias Pankrath via Digitalmars-d
wrote:
On Wednesday, 10 December 2014 at 14:16:47 UTC, Paulo Pinto wrote:
Lots of options are possible when the C compiler and linker model
aren't being used.
..
Paulo
I don't see how symbol table
On Wednesday, 10 December 2014 at 15:53:59 UTC, H. S. Teoh via
Digitalmars-d wrote:
I find the obsession with small integers (aka version numbers)
rather
petty. We should start with some random number, like 49183029,
What about assigning a prime number to each semantic concept in
the
On Wednesday, 10 December 2014 at 16:56:24 UTC, Iain Buclaw via
Digitalmars-d wrote:
On 10 December 2014 at 14:16, Paulo Pinto via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Wednesday, 10 December 2014 at 12:24:56 UTC, Tobias
Pankrath wrote:
On Wednesday, 10 December 2014 at
On Wednesday, 10 December 2014 at 17:19:53 UTC, Tobias Pankrath
wrote:
On Wednesday, 10 December 2014 at 14:16:47 UTC, Paulo Pinto
wrote:
Lots of options are possible when the C compiler and linker
model aren't being used.
..
Paulo
I don't see how symbol table information and
On Wednesday, 10 December 2014 at 16:17:16 UTC, eles wrote:
I believe this is the Stroustrup curse:
Much of the relative simplicity of Java is - like for most new
languages - partly an illusion and partly a function of its
incompleteness. As time passes, Java will grow significantly in
On Wed, Dec 10, 2014 at 06:15:48PM +, Paulo Pinto via Digitalmars-d wrote:
On Wednesday, 10 December 2014 at 16:56:24 UTC, Iain Buclaw via
Digitalmars-d wrote:
[...]
In D, this should be akin to:
// Package header
module functions;
void Swap(T)(out T x, out T y);
// Package body
On Wednesday, 10 December 2014 at 14:02:43 UTC, Daniel Murphy
wrote:
DMD's inliner might be a good place to start. There is a lot
to be done there.
I am sure that would be interesting. But I gather PR's for DMD
are not merged too frequently.
On Wednesday, 10 December 2014 at 18:16:54 UTC, Paulo Pinto wrote:
On Wednesday, 10 December 2014 at 17:19:53 UTC, Tobias Pankrath
wrote:
On Wednesday, 10 December 2014 at 14:16:47 UTC, Paulo Pinto
wrote:
Lots of options are possible when the C compiler and linker
model aren't being used.
// my code
foo!(ArcaneType1, DubiousType2)(a, d);
That's why the current object file model doesn't work very well.
You'd have to extend the object file format to include compiler
IR for
templates, then the compiler can instantiate templates from
that IR
without needing access to the source.
On Wednesday, 10 December 2014 at 08:43:49 UTC, Kagamin wrote:
On Tuesday, 9 December 2014 at 20:55:51 UTC, Dicebot wrote:
Because you don't really create a template that way but
workaround broken function behavior. It is not the usage of
empty templates that is bad but the fact that plain
On Wednesday, 10 December 2014 at 14:16:47 UTC, Paulo Pinto
wrote:
The libraries contain the required metadata for symbol tables
and code locations that need to be extracted into the
executable/library.
Package definition files contain the minimum information the
compiler needs to know to
On 2014-12-10 18:43, H. S. Teoh via Digitalmars-d wrote:
That's why the current object file model doesn't work very well.
You'd have to extend the object file format to include compiler IR for
templates, then the compiler can instantiate templates from that IR
without needing access to the
On Wed, Dec 10, 2014 at 07:00:24PM +, Tobias Pankrath via Digitalmars-d
wrote:
// my code
foo!(ArcaneType1, DubiousType2)(a, d);
That's why the current object file model doesn't work very well.
You'd have to extend the object file format to include compiler IR
for templates, then the
On Wed, Dec 10, 2014 at 08:33:22PM +0100, Jacob Carlborg via Digitalmars-d
wrote:
On 2014-12-10 18:43, H. S. Teoh via Digitalmars-d wrote:
That's why the current object file model doesn't work very well.
You'd have to extend the object file format to include compiler IR
for templates,
10-Dec-2014 11:20, Kagamin пишет:
On Tuesday, 9 December 2014 at 18:07:16 UTC, H. S. Teoh via
Digitalmars-d wrote:
what is more interesting is was this failure caused by permission
error?.
And what if it does?
You would create thousands of types and their cartesian products just to
check for
On Wed, Dec 10, 2014 at 10:47:46PM +0300, Dmitry Olshansky via Digitalmars-d
wrote:
10-Dec-2014 11:20, Kagamin пишет:
On Tuesday, 9 December 2014 at 18:07:16 UTC, H. S. Teoh via
Digitalmars-d wrote:
what is more interesting is was this failure caused by permission
error?.
And what if it
10-Dec-2014 11:24, Kagamin пишет:
On Tuesday, 9 December 2014 at 17:06:45 UTC, Dmitry Olshansky wrote:
1. enums are hard to extend for std lib, and absolutely impossible by
3rd party libraries.
What's the problem?
That you miss the point of standard exception hierarchy - that is client
On Wednesday, 10 December 2014 at 19:24:17 UTC, Dicebot wrote:
On Wednesday, 10 December 2014 at 14:16:47 UTC, Paulo Pinto
wrote:
The libraries contain the required metadata for symbol tables
and code locations that need to be extracted into the
executable/library.
Package definition files
On Wednesday, 10 December 2014 at 18:16:54 UTC, Paulo Pinto wrote:
Simple, by dropping C based linker model as I state on my
comment.
Ho please, that is a salesman answer, not an engineer one.
struct S {
union {
T1 t1;
T2 t2;
}
T3 t3;
}
T1 a1;
T3 a3;
S(a1, a3);
This is erroring because t1 is set twice. It turns out that the
second parameter of the struct map to t2 rather than t3.
This behavior do not make any sense, ever. Why is that the
default ?
On Wednesday, 10 December 2014 at 15:15:59 UTC, Ola Fosheim
Grøstad wrote:
On Tuesday, 9 December 2014 at 21:58:48 UTC, deadalnix wrote:
That why i say they are linked. I don't think your way of
stating
it contradict what I said.
scope allow for manipulation of data without owning them.
On Wednesday, 10 December 2014 at 22:05:10 UTC, deadalnix wrote:
That is completely off topic. this is a function parameter, you
can return scope, and you don't need to know who own the
container for that to work.
You have many scopes, if two different scopes pass in horses to
a function in a
On Wednesday, 10 December 2014 at 21:59:57 UTC, deadalnix wrote:
On Wednesday, 10 December 2014 at 18:16:54 UTC, Paulo Pinto
wrote:
Simple, by dropping C based linker model as I state on my
comment.
Ho please, that is a salesman answer, not an engineer one.
I was talking how the
On Wednesday, 10 December 2014 at 21:39:42 UTC, Paulo Pinto wrote:
That was just an example, I could have written lots of other
stuff.
Then please show something that actually helps and is applicable
to D template system. There is not much value in vague references
with imagine rest yourself
On Wednesday, 10 December 2014 at 18:39:39 UTC, Stefan Koch wrote:
On Wednesday, 10 December 2014 at 14:02:43 UTC, Daniel Murphy
wrote:
DMD's inliner might be a good place to start. There is a lot
to be done there.
I am sure that would be interesting. But I gather PR's for DMD
are not
On Wed, Dec 10, 2014 at 10:47:45PM +, Brad Anderson via Digitalmars-d wrote:
On Wednesday, 10 December 2014 at 18:39:39 UTC, Stefan Koch wrote:
On Wednesday, 10 December 2014 at 14:02:43 UTC, Daniel Murphy wrote:
DMD's inliner might be a good place to start. There is a lot to be
done
On Wednesday, 10 December 2014 at 22:34:50 UTC, Dicebot wrote:
Then please show something that actually helps and is
applicable to D template system. There is not much value in
vague references with imagine rest yourself flavor.
To be specific I am interested how would it handle pattern like
Sparsh Mittal:
I am author of the paper A Study of Successive Over-relaxation
Method Parallelization Over Modern HPC Languages.
The code has been made available for academic use at
H. S. Teoh via Digitalmars-d wrote in message
news:mailman.3042.1418240846.9932.digitalmar...@puremagic.com...
Also, storing a full AST is probably overkill -- lexing and parsing the
source generally doesn't take up too much of the compiler's time, so we
might as well just use the source code
On 12/10/2014 4:15 AM, Paulo Pinto wrote:
I prefer the model used by the referred languages, where binary libraries and
metadata is used, instead of the C toolchain model.
For example, just shipping the .TPU/.DCU libraries in the Object Pascal world.
If the metadata had enough info in it to
Stefan Koch wrote in message news:smlizntnnsppmzsdc...@forum.dlang.org...
I am sure that would be interesting. But I gather PR's for DMD are not
merged too frequently.
DMD is where the frontend's development takes place, and the frontend is
shared with GDC and LDC. I don't think they
On 10 Dec 2014 18:30, H. S. Teoh via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Wed, Dec 10, 2014 at 06:15:48PM +, Paulo Pinto via Digitalmars-d wrote:
On Wednesday, 10 December 2014 at 16:56:24 UTC, Iain Buclaw via
Digitalmars-d wrote:
[...]
In D, this should be akin to:
On Thu, Dec 11, 2014 at 10:17:29AM +1100, Daniel Murphy via Digitalmars-d wrote:
H. S. Teoh via Digitalmars-d wrote in message
news:mailman.3042.1418240846.9932.digitalmar...@puremagic.com...
Also, storing a full AST is probably overkill -- lexing and parsing
the source generally doesn't
On Wednesday, 10 December 2014 at 22:20:37 UTC, Ola Fosheim
Grøstad wrote:
On Wednesday, 10 December 2014 at 22:05:10 UTC, deadalnix wrote:
That is completely off topic. this is a function parameter, you
can return scope, and you don't need to know who own the
container for that to work.
You
deadalnix:
That should cover most bases, and we can still extends later if
this is too limited (I suspect it is ok for most cases).
What syntax do you suggest to use if you want to extend it that
way later?
Bye,
bearophile
On 12/10/2014 10:28 AM, H. S. Teoh via Digitalmars-d wrote:
Yeah, the compiler cannot instantiate the template without access to the
full body. It *could*, though, if we were to store template body IR in
object files, perhaps under specially-dedicated object file sections. It
wouldn't prevent
On Thursday, 11 December 2014 at 00:48:32 UTC, bearophile wrote:
deadalnix:
That should cover most bases, and we can still extends later
if this is too limited (I suspect it is ok for most cases).
What syntax do you suggest to use if you want to extend it that
way later?
Bye,
bearophile
On 12/9/2014 10:43 PM, deadalnix wrote:
On Wednesday, 10 December 2014 at 05:23:29 UTC, Walter Bright wrote:
On 12/8/2014 3:21 PM, deadalnix wrote:
On Monday, 8 December 2014 at 21:16:36 UTC, Walter Bright wrote:
A 'scope ref' parameter may not be returned as a 'ref' or a 'scope ref'.
It
On 12/10/2014 1:57 PM, deadalnix wrote:
struct S {
union {
T1 t1;
T2 t2;
}
T3 t3;
}
T1 a1;
T3 a3;
S(a1, a3);
This is erroring because t1 is set twice. It turns out that the
second parameter of the struct map to t2 rather than t3.
This behavior do not
On 12/9/2014 8:34 PM, Dicebot wrote:
But as far as I understand the spec it will result it this code failing too:
auto r = [aaa, bbb, ccc].map!foo;
// should compile but will fail because foo returns scope ref:
string s = r.front;
What I mean is that in current proposal it is impossible to
On Thursday, 11 December 2014 at 03:33:01 UTC, Walter Bright
wrote:
Please file a bug report.
I did, kenji told me that this is as per design and expected. I
don't think this design make any sense, so u bring the thing here
:)
On Thursday, 11 December 2014 at 03:27:08 UTC, Walter Bright
wrote:
I disagree. It's critical for chaining one function to the next.
I one can't return, one can't chain.
1 - 100 of 178 matches
Mail list logo