This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: about the interfaces of a front end
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: daizisheng <daizi at ustc dot edu>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 28 Jan 2004 07:09:50 +0000
- Subject: Re: about the interfaces of a front end
- References: <0061dfbc4e5b388e551d5a71a3788101@magicmail>
daizisheng wrote:-
> i have finished my demo front end.
> i found that a front end has to offer other things besides the
> lang_hooks.
> E.g:
> convert(),
> builtin_function(),
> tree_code_type[],
> tree_code_length[],
> tree_code_name[].
>
> but why not put these datas in the lang_hooks structure?
> then the interface will be much more simply.
I intended to put convert() in there, but it was extremely
invasive so I left it out in the end. It should be in.
Neil.