Re: problem with multiwayMerge and chunkBy

2017-11-04 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 4 November 2017 at 18:57:17 UTC, Matthew Gamble wrote: Dear most helpful and appreciated D community, I'm a non-pro academic biologist trying to code a modeler of transcription in D. I've run into a small roadblock. Any help would be greatly appreciated. I'm hoping someone can tel

Re: Any book recommendation for writing a compiler?

2017-11-04 Thread Eugene Wissner via Digitalmars-d-learn
On Wednesday, 1 November 2017 at 20:53:44 UTC, Dr. Assembly wrote: Hey guys, if I were to get into dmd's source code to play a little bit (just for fun, no commercial use at all), which books/resources do you recommend to start out? A few more resources on writing a frontend (lexer, syntactic

Debug info for druntime.

2017-11-04 Thread ciechowoj via Digitalmars-d-learn
What is the fastest way to have the detailed debug info for druntime? I have a program that fails in Fiber constructor after I create and delete at least 68_209 Fibers one after another. For 68_208 works fine, one more and it aborts. I'm trying to use gdb to debug, but most likely don't have sy

Re: Any book recommendation for writing a compiler?

2017-11-04 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Saturday, 4 November 2017 at 15:51:30 UTC, Basile B. wrote: People who say that after reading the dragon book, you will program your own programming language are lying. Well, you most certainly can write your own programming language after reading about 30% of the dragon book, but I think y

problem with multiwayMerge and chunkBy

2017-11-04 Thread Matthew Gamble via Digitalmars-d-learn
Dear most helpful and appreciated D community, I'm a non-pro academic biologist trying to code a modeler of transcription in D. I've run into a small roadblock. Any help would be greatly appreciated. I'm hoping someone can tell me why I get the following run-time error from this code. I've red

Re: Any book recommendation for writing a compiler?

2017-11-04 Thread Basile B. via Digitalmars-d-learn
On Thursday, 2 November 2017 at 14:24:01 UTC, Basile B. wrote: On Wednesday, 1 November 2017 at 20:53:44 UTC, Dr. Assembly wrote: Hey guys, if I were to get into dmd's source code to play a little bit (just for fun, no commercial use at all), which books/resources do you recommend to start out?

Re: private keyword dont appear to do anything

2017-11-04 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, November 04, 2017 11:03:52 Paolo Invernizzi via Digitalmars-d- learn wrote: > On Friday, 3 November 2017 at 23:32:52 UTC, H. S. Teoh wrote: > > [...] > > What's wrong with the introduction of another visibility > attribute that behave like the C++ private? > > Just curious... Well, if

Re: private keyword dont appear to do anything

2017-11-04 Thread Basile B. via Digitalmars-d-learn
On Friday, 3 November 2017 at 12:43:15 UTC, rikki cattermole wrote: Visibility modifiers like private, and public are to the module not the scope. "Symbols with private visibility can only be accessed from within the same module." This is how module based languages work, Pascal has "strict

Re: private keyword dont appear to do anything

2017-11-04 Thread Paolo Invernizzi via Digitalmars-d-learn
On Friday, 3 November 2017 at 23:32:52 UTC, H. S. Teoh wrote: [...] What's wrong with the introduction of another visibility attribute that behave like the C++ private? Just curious... --- Paolo