On Saturday, 27 July 2013 at 18:24:11 UTC, Walter Bright wrote:
http://www.gamedev.net/page/resources/_/technical/general-programming/getting-started-with-the-d-programming-language-r3306
By Mike "Aldacron" Parker
One guy was holding it up, but the peer review process is finally
completed. As
Am 28.07.2013 00:27, schrieb Brian Schott:
DScanner is a tool for analyzing D source code. It has the
following features:
* Prints out a complete AST of a source file in XML format.
* Syntax checks code and prints warning/error messages
* Prints a listing of modules imported by a source file
* S
Am 28.07.2013 18:39, schrieb Kagamin:
> On Sunday, 21 July 2013 at 11:24:42 UTC, David wrote:
>> "window.single_key_down[JUMP].strongConnect({ physics.jump(); });"
>> physics is a class variable, this will blow up once the class holding it
>> is gone
>
> You ask for the weak ref semantics, but as
On Sunday, 21 July 2013 at 11:24:42 UTC, David wrote:
"window.single_key_down[JUMP].strongConnect({ physics.jump();
});"
physics is a class variable, this will blow up once the class
holding it
is gone
You ask for the weak ref semantics, but as the name suggests,
strongConnect has the strong
On Sunday, 28 July 2013 at 13:44:03 UTC, Jacob Carlborg wrote:
I don't think it's necessary for semantic analysis to be
included in Phobos. It's enough to start with a lexer, then
later add a parser and semantic analysis.
Those were 2 separate not related questions ;)
Well, knowing the lean and mean way dmd is written, alias
initializer can be a semantical error rather than syntactical.
Like typedef alias supports multiple declarators.
aliasDeclaration:
'alias' (aliasInitializer (',' aliasInitializer)* | type
declarator (',' declarator)*) ';'
Also declarator supports initializer, but alias doesn't.
declarator:
Identifier ('=' initializer)?
;
alias int a=1;
Error: alia
The same for arrayInitializer:
'[' (arrayMemberInitialization (',' arrayMemberInitialization)*
','?)? ']'
And arrayLiteral should be
'[' (assignExpression (',' assignExpression)* ','?)? ']'
Also looks like enumBody supports multiple commas with nothing
between them, but dmd doesn't support it. Sould be
'{' enumMember (',' enumMember)* ','? '}'
On Saturday, 27 July 2013 at 22:27:35 UTC, Brian Schott wrote:
Aside: the D grammar that I reverse-engineered can be located
here:
https://rawgithub.com/Hackerpilot/DGrammar/master/grammar.html
Does arrayLiteral support stray comma?
On Saturday, 27 July 2013 at 11:14:06 UTC, Joseph Rushton
Wakeling wrote:
So, I'd propose that if possible the review process include a
way for reviewers to explicitly indicate, "This pull request is
provisionally approved subject to testing."
Github supports tags. I don't know if it's possi
On Sunday, 28 July 2013 at 12:49:34 UTC, Dicebot wrote:
Awesome! I hope it won't be forgotten by the time I need it :)
By the way, how far is that "std.d.*" stuff from ongoing Phobos
inclusion review?
I suppose currently it does not do any semantical analysis? How
hard it would be to implem
On Saturday, 27 July 2013 at 22:27:35 UTC, Brian Schott wrote:
DScanner is a tool for analyzing D source code. It has the
following features:
* Prints out a complete AST of a source file in XML format.
* Syntax checks code and prints warning/error messages
* Prints a listing of modules imported
I've not run across anyone who says "my program got
faster! It went from 0.05 Hz to 0.08 Hz!".
People do say "my program does 10 X per second", though.
On Saturday, 27 July 2013 at 22:27:35 UTC, Brian Schott wrote:
DScanner is a tool for analyzing D source code. It has the
following features:
* Prints out a complete AST of a source file in XML format.
* Syntax checks code and prints warning/error messages
* Prints a listing of modules imported
16 matches
Mail list logo