Creating a C++ compiler | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Creating a C++ compiler

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

16th Jul 2017, 6:47 PM
Manual
Manual - avatar
12 Answers
+ 5
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...
17th Jul 2017, 3:36 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
16th Jul 2017, 6:49 PM
Manual
Manual - avatar
+ 6
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👍
16th Jul 2017, 11:12 PM
Arnoud Loschnig
Arnoud Loschnig - avatar
+ 6
@Skayo no I do not have time for that. '~'
17th Jul 2017, 4:59 PM
Manual
Manual - avatar
+ 6
@Denis Felipe Where can I find GNU G++ v7+ ? I checked www.mingw.org and the last version there was 5.9.2...
29th Aug 2017, 10:41 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
@Kinshuk Not sure I have not made one yet.
17th Jul 2017, 5:00 PM
Manual
Manual - avatar
+ 4
@Kinshuk Thank you, for sharing the link!
29th Aug 2017, 2:03 PM
Manual
Manual - avatar
+ 3
I will use the Visual Studio (VS) IDE https://www.sololearn.com/discuss/410578/?ref=app
16th Jul 2017, 6:53 PM
Manual
Manual - avatar
+ 3
Why not start a blog? Create a website in Code Playground and then update it from time to time!
16th Jul 2017, 8:04 PM
Skayo
Skayo - avatar
+ 1
I remember I wrote a compiler of C++ with Aspects in a graduation project. It was fun.
29th Aug 2017, 3:29 AM
Denis Felipe
Denis Felipe - avatar
+ 1
Kinshuk, just add the tag -std=c++17 when compiling with gcc 7+.
29th Aug 2017, 10:39 AM
Denis Felipe
Denis Felipe - avatar
+ 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.
29th Aug 2017, 10:46 AM
Denis Felipe
Denis Felipe - avatar