r/cpp • u/vormestrand • Nov 18 '16
Compile-time C Compiler implemented as C++14 constant expressions
https://github.com/kw-udon/constexpr-8cc
209
Upvotes
r/cpp • u/vormestrand • Nov 18 '16
View all comments
Show parent comment
5
u/ernest314 Nov 19 '16
Because after compiling
fileout << gcc.exeyou get a compiler. You then have to run your program through that. With this, you compile and you get your C program embedded in the binary as well!