Re: [OT?] C compiler written form scratch in D

2014-12-29 Thread John via Digitalmars-d-announce
On Monday, 15 December 2014 at 12:37:18 UTC, Stefan Koch wrote: New videos are online :) part 1: https://www.youtube.com/watch?v=_YAUfd41URA part 2: https://www.youtube.com/watch?v=RGLgiPhwskM please give me feedback in this thread I have watched the videos in speed 2 (double speed) and they

Re: [OT?] C compiler written form scratch in D

2014-12-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/7/14 11:13 AM, Stefan Koch wrote: Hello, I'd like to announce that I am going to be writing a C-compiler in D. Without flex or bison or anything like that. Just pure handwritten D. I will shoot videos of my progress, and I will explain how a compiler really works. If you think that is lik

Re: [OT?] C compiler written form scratch in D

2014-12-21 Thread Stefan Koch via Digitalmars-d-announce
New videos are comeing soon :) Topics : Intro to compilers Parseing and the AsT Identifier-resolution and scope

Re: [OT?] C compiler written form scratch in D

2014-12-17 Thread TiberiuGal via Digitalmars-d-announce
On Tuesday, 16 December 2014 at 10:01:58 UTC, Stefan Koch wrote: please tell me what concepts you would like to have explained. perhaps I should do a live-stream for Q&A maybe ? I don't know. Maybe Q&A could be helpful - not sure if a live stream is necessary ...

Re: [OT?] C compiler written form scratch in D

2014-12-16 Thread Stefan Koch via Digitalmars-d-announce
please tell me what concepts you would like to have explained. perhaps I should do a live-stream for Q&A maybe ?

Re: [OT?] C compiler written form scratch in D

2014-12-16 Thread TiberiuGal via Digitalmars-d-announce
On Monday, 15 December 2014 at 12:37:18 UTC, Stefan Koch wrote: New videos are online :) part 1: https://www.youtube.com/watch?v=_YAUfd41URA part 2: https://www.youtube.com/watch?v=RGLgiPhwskM please give me feedback in this thread Hi. I'm an intermediate level programmer and I'm interested i

Re: [OT?] C compiler written form scratch in D

2014-12-15 Thread Stefan Koch via Digitalmars-d-announce
New videos are online :) part 1: https://www.youtube.com/watch?v=_YAUfd41URA part 2: https://www.youtube.com/watch?v=RGLgiPhwskM please give me feedback in this thread

Re: [OT?] C compiler written form scratch in D

2014-12-11 Thread Stefan Koch via Digitalmars-d-announce
I will start uploading official videos at Monday. If you are interested in qcc please join me in irc. server : irc.freenode.net channel : #qcc

Re: [OT?] C compiler written form scratch in D

2014-12-11 Thread Stefan Koch via Digitalmars-d-announce
On Thursday, 11 December 2014 at 15:02:02 UTC, Tobias Pankrath wrote: I didn't want to suggest to use std.lexer, but to showcase the nice compile time tricks it employs, e.g. the generation of a Trie at compile time. std.lexer is awesome, no doubt about it! But it is not in the scope of buil

Re: [OT?] C compiler written form scratch in D

2014-12-11 Thread Robert M. Münch via Digitalmars-d-announce
On 2014-12-09 11:15:19 +, eles said: On Tuesday, 9 December 2014 at 10:54:22 UTC, Robert M. Münch wrote: On 2014-12-09 00:45:41 +, deadalnix said: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: Any link? I tried to google it but it's such a generic word etc. no luck

Re: [OT?] C compiler written form scratch in D

2014-12-11 Thread Tobias Pankrath via Digitalmars-d-announce
On Wednesday, 10 December 2014 at 17:19:28 UTC, Stefan Koch wrote: On Wednesday, 10 December 2014 at 13:02:43 UTC, Tobias Pankrath wrote: I will use a handwritten recursive decent parser. Since that is what I deem the easiest thing to do. Take a look at the std.lexer proposal first. Thanks

Re: [OT?] C compiler written form scratch in D

2014-12-11 Thread Shachar Shemesh via Digitalmars-d-announce
On 09/12/14 02:45, deadalnix wrote: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: I want to do a C backend first. Building an LLVM Backand out of that is a small step. There is already a very popular C to C compiler out there. It is called cat, and come out of the box with any

Re: [OT?] C compiler written form scratch in D

2014-12-10 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 10 December 2014 at 13:02:43 UTC, Tobias Pankrath wrote: I will use a handwritten recursive decent parser. Since that is what I deem the easiest thing to do. Take a look at the std.lexer proposal first. Thanks for your suggestion. In fact, I know and like std.lexer. But this i

Re: [OT?] C compiler written form scratch in D

2014-12-10 Thread Tobias Pankrath via Digitalmars-d-announce
I will use a handwritten recursive decent parser. Since that is what I deem the easiest thing to do. Take a look at the std.lexer proposal first.

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread deadalnix via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 10:54:22 UTC, Robert M. Münch wrote: On 2014-12-09 00:45:41 +, deadalnix said: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: I want to do a C backend first. Building an LLVM Backand out of that is a small step. There is already a very popul

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 10:55:24 UTC, Robert M. Münch wrote: On 2014-12-07 19:13:41 +, Stefan Koch said: I'd like to announce that I am going to be writing a C-compiler in D. Without flex or bison or anything like that. Just pure handwritten D. Hi, how about using PEG for parsing

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread eles via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 10:54:22 UTC, Robert M. Münch wrote: On 2014-12-09 00:45:41 +, deadalnix said: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: Any link? I tried to google it but it's such a generic word etc. no luck. http://linux.die.net/man/1/cat It was

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Robert M. Münch via Digitalmars-d-announce
On 2014-12-07 19:13:41 +, Stefan Koch said: I'd like to announce that I am going to be writing a C-compiler in D. Without flex or bison or anything like that. Just pure handwritten D. Hi, how about using PEG for parsing etc.? IMO that would be a very good showcase for the power of PEG And

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Robert M. Münch via Digitalmars-d-announce
On 2014-12-09 00:45:41 +, deadalnix said: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: I want to do a C backend first. Building an LLVM Backand out of that is a small step. There is already a very popular C to C compiler out there. It is called cat, and come out of the b

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 08:10:14 UTC, Iain Buclaw via Digitalmars-d-announce wrote: On 9 Dec 2014 00:50, "deadalnix via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: I want to do a C backend first.

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 07:58:51 UTC, Iain Buclaw via Digitalmars-d-announce wrote: On 9 Dec 2014 07:00, "Stefan Koch via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: On Monday, 8 December 2014 at 21:04:17 UTC, John wrote: On Monday, 8 December 2014 at 19:35:5

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Iain Buclaw via Digitalmars-d-announce
On 9 Dec 2014 00:50, "deadalnix via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: >> >> I want to do a C backend first. >> Building an LLVM Backand out of that is a small step. > > > There is already a very

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Iain Buclaw via Digitalmars-d-announce
On 9 Dec 2014 07:00, "Stefan Koch via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On Monday, 8 December 2014 at 21:04:17 UTC, John wrote: >> >> On Monday, 8 December 2014 at 19:35:54 UTC, Stefan Koch wrote: > > >>> think of them as beta quality! > > >> You may have to

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 8 December 2014 at 21:04:17 UTC, John wrote: On Monday, 8 December 2014 at 19:35:54 UTC, Stefan Koch wrote: think of them as beta quality! You may have to either pause when you need to cough and sneeze or just edit that out. I am interested in this topic but the horrible quality

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread deadalnix via Digitalmars-d-announce
On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: I want to do a C backend first. Building an LLVM Backand out of that is a small step. There is already a very popular C to C compiler out there. It is called cat, and come out of the box with any UNIX like system.

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Iain Buclaw via Digitalmars-d-announce
On 8 December 2014 at 19:35, Stefan Koch via Digitalmars-d-announce wrote: > On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote: >> >> On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote: >>> >>> First two videos are up >>> >>> think of them as beta quality! >>> >>> https://ww

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread John via Digitalmars-d-announce
On Monday, 8 December 2014 at 19:35:54 UTC, Stefan Koch wrote: On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote: On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote: First two videos are up think of them as beta quality! https://www.youtube.com/watch?v=aeBSsuCCRFo and h

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote: On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote: First two videos are up think of them as beta quality! https://www.youtube.com/watch?v=aeBSsuCCRFo and https://www.youtube.com/watch?v=crQk929crCE The quality is comp

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread MattCoder via Digitalmars-d-announce
On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote: ...The text is very fuzzy even in 720p and the audio has been subject to some extreme lossy compression. I don't know... in 720p I can't complain about the text but on the otherwise in 480 is really a bit fuzzy. Well as a suggest

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread John Colvin via Digitalmars-d-announce
On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote: First two videos are up think of them as beta quality! https://www.youtube.com/watch?v=aeBSsuCCRFo and https://www.youtube.com/watch?v=crQk929crCE The quality is completely shot for both audio and video. The text is very fuzzy ev

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
First two videos are up think of them as beta quality! https://www.youtube.com/watch?v=aeBSsuCCRFo and https://www.youtube.com/watch?v=crQk929crCE

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Stefan Koch via Digitalmars-d-announce
On Monday, 8 December 2014 at 11:08:36 UTC, Shriramana Sharma via Digitalmars-d-announce wrote: Please do post updates here. I think it would be a great show-casing of D's capabilities. Just a suggestion and I may be totally off mark here, but will you have it directly output machine code? Or

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Shriramana Sharma via Digitalmars-d-announce
On Monday, December 8, 2014, Stefan Koch via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > > Please tell me what you think if that announcement, and feel free to ask > anything you > Please do post updates here. I think it would be a great show-casing of D's capabilities

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Dan Cirnat via Digitalmars-d-announce
On Sunday, 7 December 2014 at 19:13:42 UTC, Stefan Koch wrote: I'd like to announce that I am going to be writing a C-compiler in D. I will shoot videos of my progress, and I will explain how a compiler really works. I would be very interested in the videos, can't wait. :)

Re: [OT?] C compiler written form scratch in D

2014-12-07 Thread Stefan Koch via Digitalmars-d-announce
On Sunday, 7 December 2014 at 20:17:30 UTC, MattCoder wrote: On Sunday, 7 December 2014 at 19:13:42 UTC, Stefan Koch wrote: Please tell me what you think if that announcement, and feel free to ask anything you like. Nice and some useful links: https://www.reddit.com/r/programming/comments/2la

Re: [OT?] C compiler written form scratch in D

2014-12-07 Thread MattCoder via Digitalmars-d-announce
On Sunday, 7 December 2014 at 19:13:42 UTC, Stefan Koch wrote: Please tell me what you think if that announcement, and feel free to ask anything you like. Nice and some useful links: https://www.reddit.com/r/programming/comments/2latu2/c4_c_in_4_functions/ http://homepage.ntlworld.com/edmund.g

[OT?] C compiler written form scratch in D

2014-12-07 Thread Stefan Koch via Digitalmars-d-announce
Hello, I'd like to announce that I am going to be writing a C-compiler in D. Without flex or bison or anything like that. Just pure handwritten D. I will shoot videos of my progress, and I will explain how a compiler really works. If you think that is like HandmadeHero you are right! Caseys