[snip]
This is very interesting, thanks for sharing! Alas I had to stop at the
first line due to it being GPL licensed. Any chance you can use a more
liberal license like QuickJS's own MIT?
Why would it be useful? It's part of GCC, and not part of the compiled
programs,
so it doesn't affect licensing of compiled programs. Also, I can't relicense
it,
as some of the code was taken from GCC and modified. If anything, I should add
FSF's copyright notice there, too. I've updated the license header.
Also it looks like to me that GCC's authors' wishes are for plugins to be
released under GPL.
Also, does this also work on Clang?
No. It's a plugin for GCC.