On Saturday, 5 September 2015 at 22:22:03 UTC, deadalnix wrote:
Can we have strcu with destructor have postblit disabled if
none is provided ?
I also feel like post-blit should be opt-in.
On 2015-09-06 01:43, motaito wrote:
Bummer... However, I appreciate that you are giving it a shot!
But you see my point. An out of the box solution like QT would be worth
gold. That's the one thing Microsoft got right. They have awesome
developer tools. Or in the words of Steve Ballmer: "Develo
On 2015-09-06 02:54, Walter Bright wrote:
It probably is a rampant problem. I notice it with you because
Thunderbird gives a line count for a message, and yours are usually in
the hundreds of lines while others are like 10 to 20.
Usually Thunderbird highlights the quoted part in blue and makes
On Sunday, 6 September 2015 at 04:48:56 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 03:42:20 UTC, BBasile wrote:
[...]
auto rng = StreamRange!(MemoryStream,long)(instance);
auto rng = StreamRange!(FileStream,float)(instance);
---
Actually I have nothing against your helper functions (exc
On Friday, 4 September 2015 at 22:14:02 UTC, Adam D. Ruppe wrote:
On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:
1. The setup is a much compared to most modern day compilers
and software.
The most inappropriately kept secret of installing dmd is that
you don't have to. Just un
On Friday, 4 September 2015 at 15:45:35 UTC, Luís Marques wrote:
On Friday, 4 September 2015 at 14:59:12 UTC, Ola Fosheim
Grøstad wrote:
Actually, browsers are deprecating NPAPI plugins. Flash is so
dead…
Could, in principle, Flash be supported through an extension,
instead of a media / NPAPI
On Saturday, 5 September 2015 at 14:57:58 UTC, Ola Fosheim
Grøstad wrote:
On Friday, 4 September 2015 at 14:44:46 UTC, Jacob Carlborg
wrote:
I heard the TypeScript support for Visual Studio Code is
really good.
I'm crossing my fingers for an OS-X or Linux version of VS. ;)
You mean Visual St
On Sunday, 6 September 2015 at 12:31:27 UTC, Kagamin wrote:
On Saturday, 5 September 2015 at 14:57:58 UTC, Ola Fosheim
Grøstad wrote:
On Friday, 4 September 2015 at 14:44:46 UTC, Jacob Carlborg
wrote:
I heard the TypeScript support for Visual Studio Code is
really good.
I'm crossing my finger
On Sunday, 6 September 2015 at 02:27:42 UTC, Rikki Cattermole
wrote:
I would very much appreciate people helping out.
E.g. Contributing manipulation functions, image loader /
exporter.
Most importantly unittests. Fix bugs.
I'll most likely do the PNG test case infrastructure, but it
would mak
On Sunday, 6 September 2015 at 10:12:39 UTC, BBasile wrote:
On Sunday, 6 September 2015 at 04:48:56 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 03:42:20 UTC, BBasile wrote:
[...]
auto rng = StreamRange!(MemoryStream,long)(instance);
auto rng = StreamRange!(FileStream,float)(instance);
--
template X(Y)
{
string X = Y.stringof;
}
auto s = X({int 3;})
Of course, doesn't work!!
But having the ability to pass code that isn't contained in a
string is very useful!!
1. A new code keyword, similar to alias. Can only be used as
template parameters. If you are worried about b
On Sunday, 6 September 2015 at 18:52:34 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 10:12:39 UTC, BBasile wrote:
On Sunday, 6 September 2015 at 04:48:56 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 03:42:20 UTC, BBasile wrote:
[...]
auto rng = StreamRange!(MemoryStream,long)(insta
On Sunday, 6 September 2015 at 20:05:20 UTC, BBasile wrote:
On Sunday, 6 September 2015 at 18:52:34 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 10:12:39 UTC, BBasile wrote:
On Sunday, 6 September 2015 at 04:48:56 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 03:42:20 UTC, BBasile w
On Sunday, 6 September 2015 at 19:32:58 UTC, Prudence wrote:
template X(Y)
{
string X = Y.stringof;
}
[...]
as you'd have to write a parser for other languages why not just
use strings? you can already do this:
template X(string Y)
{
enum X = Y;
}
auto s = X!q{int 3;};
ob
On Sunday, 6 September 2015 at 20:22:23 UTC, Zoadian wrote:
obviously X has to be a compiletime js->d compiler.
Just a fun fact: my script.d's interpreter is itself CTFEable in
modern dmd!
import arsd.script;
void main() {
// script.d is similar to but not identical to javascript
On Sunday, 6 September 2015 at 20:22:23 UTC, Zoadian wrote:
On Sunday, 6 September 2015 at 19:32:58 UTC, Prudence wrote:
template X(Y)
{
string X = Y.stringof;
}
[...]
as you'd have to write a parser for other languages why not
just use strings? you can already do this:
template X
On Sunday, 6 September 2015 at 20:38:44 UTC, Adam D. Ruppe wrote:
On Sunday, 6 September 2015 at 20:22:23 UTC, Zoadian wrote:
obviously X has to be a compiletime js->d compiler.
Just a fun fact: my script.d's interpreter is itself CTFEable
in modern dmd!
import arsd.script;
void main() {
On Sunday, 6 September 2015 at 20:17:32 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 20:05:20 UTC, BBasile wrote:
On Sunday, 6 September 2015 at 18:52:34 UTC, bitwise wrote:
[...]
You should have got that's even not what i was talking about.
Basic summary of the conversation:
- you: he
On Sunday, 6 September 2015 at 21:33:36 UTC, BBasile wrote:
I don't care about your problem
Then I suggest another thread.
On Saturday, 5 September 2015 at 00:21:42 UTC, Timon Gehr wrote:
On 09/05/2015 01:15 AM, Andrei Alexandrescu wrote:
My thinking is that significant work in this(this) is poor D
style.
Eager copying for containers doesn't seem like the best way to
go. --
Andrei
@disable this(this) for ephemer
On Sunday, 6 September 2015 at 21:16:18 UTC, Prudence wrote:
Or, maybe better yet, have the concept of "code strings". which
are strings that are suppose to be interpreted as code. This
then means the compiler just has to do a syntax check for
errors before it does anything else with them(seman
On Sunday, 6 September 2015 at 22:37:16 UTC, cym13 wrote:
On Sunday, 6 September 2015 at 21:16:18 UTC, Prudence wrote:
[...]
There already is a kind of "code string":
interpret(q{
var a = 2;
var b += a;
});
It doesn't do any kind of syntax check, but there again how
On 9/6/2015 1:38 PM, Adam D. Ruppe wrote:
jsvar.d and script.d can be found here:
https://github.com/adamdruppe/arsd
I'd always thought Javascript was an ideal extension language for a text editor.
On 6 September 2015 at 18:57, Jacob Carlborg via Digitalmars-d
wrote:
> On 2015-09-06 02:54, Walter Bright wrote:
>
>> It probably is a rampant problem. I notice it with you because
>> Thunderbird gives a line count for a message, and yours are usually in
>> the hundreds of lines while others are
On Sunday, 6 September 2015 at 23:00:21 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 22:37:16 UTC, cym13 wrote:
On Sunday, 6 September 2015 at 21:16:18 UTC, Prudence wrote:
[...]
There already is a kind of "code string":
interpret(q{
var a = 2;
var b += a;
});
On Monday 07 September 2015 00:37, cym13 wrote:
> There already is a kind of "code string":
>
> interpret(q{
> var a = 2;
> var b += a;
> });
>
> It doesn't do any kind of syntax check, but there again how do
> you want to have syntax check for any language? The D
On Sunday, 6 September 2015 at 23:40:58 UTC, anonymous wrote:
On Monday 07 September 2015 00:37, cym13 wrote:
There already is a kind of "code string":
interpret(q{
var a = 2;
var b += a;
});
It doesn't do any kind of syntax check, but there again how do
you wan
On Sunday, 6 September 2015 at 23:48:30 UTC, cym13 wrote:
On Sunday, 6 September 2015 at 23:40:58 UTC, anonymous wrote:
On Monday 07 September 2015 00:37, cym13 wrote:
There already is a kind of "code string":
interpret(q{
var a = 2;
var b += a;
});
It doesn't d
On Sunday, 6 September 2015 at 23:40:58 UTC, anonymous wrote:
On Monday 07 September 2015 00:37, cym13 wrote:
There already is a kind of "code string":
interpret(q{
var a = 2;
var b += a;
});
It doesn't do any kind of syntax check, but there again how do
you wan
On Sunday, 6 September 2015 at 23:38:51 UTC, cym13 wrote:
On Sunday, 6 September 2015 at 23:00:21 UTC, bitwise wrote:
On Sunday, 6 September 2015 at 22:37:16 UTC, cym13 wrote:
On Sunday, 6 September 2015 at 21:16:18 UTC, Prudence wrote:
[...]
There already is a kind of "code string":
in
On Monday, 7 September 2015 at 00:34:20 UTC, Idan Arye wrote:
Compare it to Ruby's heredoc, where the chosen terminator
string can be used as an
hint(https://github.com/joker1007/vim-ruby-heredoc-syntax).
Or D's heredoc strings, yes, we have them too:
http://dlang.org/lex.html (search for "he
On Sunday, 6 September 2015 at 21:16:18 UTC, Prudence wrote:
Yeah, but wouldn't it be so much nicer? (and probably
debuggable inline)
interpret({
var a = 5;
a += 2;
a;
}
Not really because that already more-or-less works today (add a q
before that { and it will compile).
The i
On Sunday, 6 September 2015 at 23:33:17 UTC, Walter Bright wrote:
I'd always thought Javascript was an ideal extension language
for a text editor.
Well, I don't think *ideal*, but indeed, it wouldn't be bad. And
my little thing isn't quite JS, I borrow some ideas from D too.
So it has string
On Monday 07 September 2015 02:24, Idan Arye wrote:
> That's not considered as syntax check - that's an earlier stage
> of the compilation process called "lexical
> analysis"(https://en.wikipedia.org/wiki/Lexical_analysis)
>From the Wikipedia article: "a lexer is generally combined with a parse
On 9/6/2015 4:39 PM, Manu via Digitalmars-d wrote:
It didn't happen for me because I changed my gmail settings after
Walter requested some time back to only include plain text. My NG
experience is much less enjoyable as a result of the change; I prefer
the blue quote line, but now I just have a s
35 matches
Mail list logo