September 22 General » SAOC 2024 "Learning about AST Nodes and Semantic Analysis in Compiler Design" Weekly update #1 | |||
|---|---|---|---|
| |||
...https://github.com/dchidindu5/test_demo/blob/main/README.md **Semantic Analysis:** It is a... | |||
September 22 Learn » Re: Gtkd questions | |||
|---|---|---|---|
| |||
For many years this has been the main place to ask GtkD-related questions: https... | |||
September 22 Learn » Re: How to escape control characters? | |||
|---|---|---|---|
| |||
...you think?
```d
import std.stdio;
void main()
{
enum str = r"\tHello\xfeD\r\nProgramming... | |||
September 22 DIP Development » Re: Third and Hopefully Last Draft: Primary Type Syntax | |||
|---|---|---|---|
| |||
...d
alias exit = Object;
Object x1;
void main()
{
scope (exit) x1 = new Object(); // Still a... | |||
September 21 Learn » Poor Carlos does not manage to find where to eat | |||
|---|---|---|---|
| |||
...enum wantsFries = true;
enum wantsShrimps = true;
}
void main()
{
TouristType1 Juan;
Juan.findPlaceToEat(); // OK Juan will... | |||
September 21 General » Primary Type Syntax ― The implementation is almost done! | |||
|---|---|---|---|
| |||
...the new compiler: `dmd -m64 -i dmd/main.d -of=../../dmd.exe -Jdmd/res -J... | |||
September 20 Issues » [Issue 24775] New: Input range -> take -> filter -> chain: Take gets applied *after* filter | |||
|---|---|---|---|
| |||
...gen(){
return i++;
}
return generate!gen();
}
void main(){
// [10, 11, 12, 13, 14, 15, 16... | |||
September 20 Issues » [Issue 24774] New: Input range + filter + chain => First element vanishes | |||
|---|---|---|---|
| |||
...import std.algorithm;
import std.range;
void main(){
int i = 0;
int gen(){
return i... | |||
September 20 Issues » [Issue 24773] New: Stable sort() invokes the destructor on uninitialized elements | |||
|---|---|---|---|
| |||
...i = 42;
~this() { assert(i == 42); }
}
void main()
{
auto array = new S[](400);
array.sort... | |||
September 19 Issues » [Issue 24772] Casting class references to void* should be @safe | |||
|---|---|---|---|
| |||
...I.e.
```d
import std.stdio;
void main() {
writeln(cast(size_t)cast(void*)new... | |||
Copyright © 1999-2021 by the D Language Foundation