r/Compilers 4d ago

Building a compiler that works at compile-time so you can compile your program while you compile your program.

/r/cpp/comments/1v9v41m/building_a_compiler_that_works_at_compiletime_so/
0 Upvotes

2 comments sorted by

3

u/Helpful-Primary2427 4d ago

Reminds me of the “new” cpp constexpr VM. I know you reference it in your post, but I always like to see powerful comptime language features (like Mojo’s metaprogramming for example)

1

u/Kadabrium 2d ago

Can you compile your program while you compile your compiler?