Andi and i wrote a fairly comprehensive front-end guide a few years ago but it was never merged in probably hard to review since its subjective but yeah gcc really needs this. I think the main problem is the boiler plate needed. So when writing a tutorial or documentation there is a lot of boiler plate to go over and project structure to setup and then from there learning GENERIC takes time. This is what we had but i really want to do it all again so much. http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00312/front-end-doc.patch On 12 May 2014 13:05, Paulo Matos <pmatos@xxxxxxxxxxxx> wrote: > Hello, > > I would like suggestions about on how to go about writing a frontend tutorial for GCC. > My first instinct is to grab the example language used in LLVM's tutorial (kaleidoscope) and write a frontend for it in GCC. However I am open to other suggestions. > > My idea is to write it using markup and continuously post it online (using markup [git] -> html) where people can comment on it as I write (comments would be done on the markup through github). However I am also happy to use some other system. > > Finally if generally people think this is not relevant and instead should spend my time doing something else, I would be happy to know about it ahead of time. > > Thanks, > > Paulo Matos > >