tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Can a biggener (and idiot) like me read and understan


From: Sean Conner
Subject: Re: [Tinycc-devel] Can a biggener (and idiot) like me read and understand TCC's backend so I can create my own frontend with it?
Date: Fri, 28 Jan 2022 20:20:18 -0500
User-agent: Mutt/1.4.1i

It was thus said that the Great rempas via Tinycc-devel once stated:
> > I would advice you to start with this 
> > https://craftinginterpreters.com/contents.html first.
> >
> > The rest will follow before you know it.
>
> Thanks! However, I don't understand how this will help me. I mean, I don't
> even want to create an intepreter to begin with. So this has nothing to do
> with what I want to make. Unless you are referring to the frontend so in
> this case, It will probably be a good idea to read this book. Or maybe I
> should make an intepreter in the end? Hmmmmm....

  It's interpreters all the way down (what do you think CPUs do with machine
code?  They interpret it).  Also, if you have parsed code into a form you
can interpret, you have enough information to generate machine code.

  -spc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]