new languages aet
David Malcolm
dmalcolm@redhat.com
Tue Jan 27 17:41:24 GMT 2026
On Tue, 2026-01-27 at 12:55 +0800, onlineaet via Gcc wrote:
> Hello gcc@gcc.gnu.org
>
Hi!
> I am developing a new language, AET, based on gcc 15.2.
When you say "based on gcc 15.2", do you mean your implementation is a
patched version of gcc 15.2?
There are three ways to implement a new language with GCC:
(a) write it as a new frontend, within a patched version of GCC's
source tree
(b) write it as a separate program, link with libgccjit and call into
libbgccjit to use GCC's code generation capabilities
(c) write it as a separate program that emits C, and use a C compiler
(perhaps GCC)
> Here's a brief introduction to AET:
>
>
> AET is a programming language.
>
[...snip list of features...]
BTW, is there a website?
>
> What do I need to do to integrate it into GCC?
There's a maintenance cost to adding a new frontend, so I think it's
something we're only likely to add to trunk once the language has a
significant community of users [1]. So if you're doing approach (a),
you'd have to develop it as an out-of-tree branch until you (hopefully)
get to that point.
Hope this is helpful; good luck with AET.
Dave
[1] I know I'm being vague about what "significant" means here
More information about the Gcc
mailing list