Learning to compile

Stephen Partington cryptworks at gmail.com
Wed Jan 24 08:43:27 MST 2018


Some things to look for are online. For example, MIT has a ton of work
online for free, https://ocw.mit.edu/index.htm

On Wed, Jan 24, 2018 at 8:24 AM, Carruth, Rusty <Rusty.Carruth at smartm.com>
wrote:

> Something they may or may not teach in school – take a good look at YACC
> and LEX (Flex/Bison in the open source world, IIRC).  They can help a lot
> in parsing the tokens.
>
>
>
> (At one point, after having written YACLP (Yet Another Command Language
> Parser), I realized that it would probably make more sense to use LEX/YACC
> (Flex/Bison) than to keep writing tokenizers and such…  Especially since
> the intention had been that you could enter the commands either on the
> command line and also run them like a pre-written program.  Never got the
> whole system finished, so don’t know if it DOES make more sense or not
> (from a practical point of view after having tried it out)…)
>
>
>
> There may also be some good books.  I know I have a couple of books from
> my school days which cover various aspects of ‘language translation’.  I’ll
> try to remember to look for them tonight.  Don’t remember if they were any
> good, though.
>
>
>
> *From:* PLUG-discuss [mailto:plug-discuss-bounces at lists.phxlinux.org] *On
> Behalf Of *trent shipley
> *Sent:* Tuesday, January 23, 2018 6:39 PM
> *To:* Main PLUG discussion list
> *Subject:* Learning to compile
>
>>
>
>
> I have no money for school, (and whether school produces better coders or
> not, I LIKE school, but that's irrelevant due to the money problem.)
>
>
>
> Is it possible to teach yourself to write compilers in an imperative
> language? If so how?
>
>>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20180124/0315c6e9/attachment.html>


More information about the PLUG-discuss mailing list