Jump to page: 1 24  
Page
Thread overview
[OT?] C compiler written form scratch in D
Dec 07, 2014
Stefan Koch
Dec 07, 2014
MattCoder
Dec 07, 2014
Stefan Koch
Dec 08, 2014
Dan Cirnat
Dec 08, 2014
Shriramana Sharma
Dec 08, 2014
Stefan Koch
Dec 08, 2014
Stefan Koch
Dec 08, 2014
John Colvin
Dec 08, 2014
MattCoder
Dec 08, 2014
Stefan Koch
Dec 08, 2014
John
Dec 09, 2014
Stefan Koch
Dec 09, 2014
Iain Buclaw
Dec 09, 2014
Stefan Koch
Dec 08, 2014
Iain Buclaw
Dec 09, 2014
deadalnix
Dec 09, 2014
Iain Buclaw
Dec 09, 2014
Stefan Koch
Dec 09, 2014
Robert M. Münch
Dec 09, 2014
eles
Dec 11, 2014
Robert M. Münch
Dec 09, 2014
deadalnix
Dec 11, 2014
Shachar Shemesh
Dec 09, 2014
Robert M. Münch
Dec 09, 2014
Stefan Koch
Dec 10, 2014
Tobias Pankrath
Dec 10, 2014
Stefan Koch
Dec 11, 2014
Tobias Pankrath
Dec 11, 2014
Stefan Koch
Dec 11, 2014
Stefan Koch
Dec 15, 2014
Stefan Koch
Dec 16, 2014
TiberiuGal
Dec 16, 2014
Stefan Koch
Dec 17, 2014
TiberiuGal
Dec 21, 2014
Stefan Koch
Dec 29, 2014
John
December 07, 2014
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 videos inspired my to do this.

I hope that some of you will be watching this.

Please tell me what you think if that announcement, and feel free to ask anything you like.

Regards Stefan (Uplink_Coder).


December 07, 2014
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.grimley-evans/cc500/
https://github.com/alexfru/SmallerC

good luck,

Matheus.
December 07, 2014
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/2latu2/c4_c_in_4_functions/
> http://homepage.ntlworld.com/edmund.grimley-evans/cc500/
> https://github.com/alexfru/SmallerC
>
> good luck,
>
> Matheus.

Thanks for thoose links!
Intresting stuff.
December 08, 2014
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. :)
December 08, 2014
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.

Just a suggestion and I may be totally off mark here, but will you have it directly output machine code? Or just the front end? I keep hearing praises of LLVM back-end so if your compiler outputs the LLVM IR code then maybe you can have the rest of the benefit from LLVM.

But of course, if this is a PoC that D Caen be used to write a full compiler to output machine code then LLVM's off...


-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा


December 08, 2014
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 just the front end? I keep hearing praises
> of LLVM back-end so if your compiler outputs the LLVM IR code then maybe
> you can have the rest of the benefit from LLVM.
>
> But of course, if this is a PoC that D Caen be used to write a full
> compiler to output machine code then LLVM's off...

I want to do a C backend first.
Building an LLVM Backand out of that is a small step.
December 08, 2014
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
December 08, 2014
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 even in 720p and the audio has been subject to some extreme lossy compression.
December 08, 2014
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 suggestion I think you could expand the window where you are writing the code. Or even focus entire on it.

I'm waiting for more videos. :)

Matheus.
December 08, 2014
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 completely shot for both audio and video. The text is very fuzzy even in 720p and the audio has been subject to some extreme lossy compression.

The audio-input is very bad!
what you are hearing are not compression artifacts it's the noise filter hard at work.
« First   ‹ Prev
1 2 3 4