An (A)GPL text editor works, see for example Emacs, as the text created doesn't contain any part of the editor itself. But a compilers emits code which is based on your source and the compiler itself. Also, it usually links against a standard library which would be AGPL. So this makes your created executable AGPL unless there is an explicit excemption, as it is the case with GCC.
Impossible to use for proprietary software you distribute. So you can write internal software, and only need to share the source with yourself.
Re:A New R6RS Scheme Compiler
by mumblemumble on Wednesday October 02, 2019 @03:28PM
(#21139936)
Probably more poignantly, it's not usable for open source projects that want to distribute their stuff under a license that's more permissive than the AGPL.
Which I'm guessing is intentional.
If I use an AGPL text editor, does my written text also become APGL?