So far, my lexer is pure exercise.
But my goal is actually to filter variables and functions, to see
if they are ever used in the code.
So you got rid of array creation. About time ;)
Yes, that was the only way to get closer to your measured time. :D
On Thursday, 14 March 2013 at 14:51:42 UTC, monarch_dodra wrote:
On Thursday, 14 March 2013 at 14:29:59 UTC, Andrea Fontana
wrote:
On Thursday, 14 March 2013 at 13:58:56 UTC, monarch_dodra
wrote:
On Thursday, 14 March 2013 at 13:20:51 UTC, Andrea Fontana
wrote:
On Thursday, 14 March 2013 at 12:
On Friday, 15 March 2013 at 03:44:51 UTC, Ali Çehreli wrote:
On 03/14/2013 04:58 PM, Jesse Phillips wrote:
On Thursday, 14 March 2013 at 21:40:34 UTC, Ali Çehreli wrote:
I had toyed with the idea of making a ForwardRange from an
InputRange
by caching the elements. Without any guarantees, :) her
It's having possibilities,I mean polymorphism for struct,and
without a enum declaring thus it can be more scalable if you
should use virtual call in a delegate class,cause it's just what
virtual call is designed for.Since you record the Type all the
time,you get rid of virtual call but lose scalab
On Friday, 15 March 2013 at 02:20:01 UTC, estew wrote:
Ok, I did a bit more reading of TDPL and decided to go with the
following pattern:
synchronized class A{
private string[] _values;
void setValue(size_t i, string val) {_values[i] = val;}
string getValue(size_t i) const {ret
On Friday, 15 March 2013 at 14:31:43 UTC, bioinfornatics wrote:
Dear,
By using CTFE I try to get a generic range to read array or a
file as a phobos range. code hosted here:
http://dpaste.dzfl.pl/1f2bcf39
that works fine for array but for a File instance .eof seem to
not return true a right
On Friday, 15 March 2013 at 14:40:17 UTC, Andrea Fontana wrote:
On Friday, 15 March 2013 at 14:31:43 UTC, bioinfornatics wrote:
Dear,
By using CTFE I try to get a generic range to read array or a
file as a phobos range. code hosted here:
http://dpaste.dzfl.pl/1f2bcf39
that works fine for ar
But it works already for templates.
So if it's confusing, then, why was it introduced?
On Fri, 15 Mar 2013 12:32:35 -0400, Namespace
wrote:
But it works already for templates.
So if it's confusing, then, why was it introduced?
The way it works for templates is to generate two separate functions, one
which takes ref and one which takes by value.
The proposed auto ref would
On Friday, 15 March 2013 at 16:11:38 UTC, bioinfornatics wrote:
On Friday, 15 March 2013 at 14:40:17 UTC, Andrea Fontana wrote:
On Friday, 15 March 2013 at 14:31:43 UTC, bioinfornatics wrote:
Dear,
By using CTFE I try to get a generic range to read array or a
file as a phobos range. code host
And it is planned to change the functionality of 'auto ref' to
the proposed variant of Jonathan? Or was his proposal rejected?
On Fri, 15 Mar 2013 13:15:21 -0400, Namespace
wrote:
And it is planned to change the functionality of 'auto ref' to the
proposed variant of Jonathan? Or was his proposal rejected?
I have no idea. All I know is that Jonathan's proposal is really what
Andrei wanted originally.
I think w
On Friday, March 15, 2013 18:15:21 Namespace wrote:
> And it is planned to change the functionality of 'auto ref' to
> the proposed variant of Jonathan? Or was his proposal rejected?
I don't think that there was any official decision of any kind. IIRC, Kenji was
looking into at one point and didn
So first of all we have to find a new syntax/name?
AFAIK Kenji made a pull request for a new implementation of
'auto ref' a few months ago. If that was already in the proposed
manner of Jonathan, we need not to discuss with Walter, because
the pull is open for months.
15 matches
Mail list logo