+8

Creating a C++ compiler

A thread where I record resources and references on my compiler project.

7/16/2017 6:47:38 PM

Manual

12 Answers

New Answer

+4

Good Luck! Will your compiler have C++17 support ? I am unable to find the gnu version for that... See this too: http://index-of.es/OS/Create%20Your%20Own%20Programming%20Language.pdf It describes a way to create a new programming language...

+7

This is tutorial I plan to follow https://visualstudiomagazine.com/articles/2014/05/01/how-to-write-your-own-compiler-part-1.aspx

+7

@Skayo no I do not have time for that. '~'

+6

@Kinshuk Not sure I have not made one yet.

+5

@Denis Felipe Where can I find GNU G++ v7+ ? I checked www.mingw.org and the last version there was 5.9.2...

+5

@Kinshuk Thank you, for sharing the link!

+4

I will use the Visual Studio (VS) IDE https://www.sololearn.com/discuss/410578/?ref=app

+4

Comming from programming PICs....i feel the same need to bridge the gap between these next generation programming languages and the hard core assembler and machine code i was into .... by diving into this as well ... how to build your own compiler seems to be the way to close this gap. ...Way to go👍

+3

Why not start a blog? Create a website in Code Playground and then update it from time to time!

+1

I remember I wrote a compiler of C++ with Aspects in a graduation project. It was fun.

+1

Kinshuk, just add the tag -std=c++17 when compiling with gcc 7+.

+1

It was released this month, so I am not surprised the version for Windows is not ready yet. I guess you will have to either wait or run a GNU/Linux system.