<div dir="ltr"><div><div>I may not be the best one to talk, but writing a compiler in something like Java/Haskell sounds like it would be incredibility slow if you wanted to get some real world usage out of it. If you already know some Java, why not take a dive into a real lower level language like C/C++ already? -- C/C++ have been used to write a lot of compilers/interpreters. Speaking of, check out Bisqwit's video on writing a compiler. <br><br><a href="https://www.youtube.com/watch?v=eF9qWbuQLuw&t=652s">https://www.youtube.com/watch?v=eF9qWbuQLuw&t=652s</a><br><br></div>If half way in that video already feels like it's a little too much to handle, perhaps you are not ready. -- No offense. I've tried to taken a nose dive attempting to write a MMO game from scratch and got burned from it pretty quickly after I realized how evolve you really must be. Just don't want you to waste your time, if it could be spent doing something more practical. Otherwise, if you can sit through the hole video and understand how to interpreter into xyz language, by all means go ahead and mess around, and do some Googling around on the Internet. There are 100s examples out there how to make interpreters/compilers.<br><br></div>I also had this book at one point, if the hole project still interests you: <a href="https://www.amazon.com/Compilers-Principles-Techniques-Tools-2nd/dp/0321486811/ref=sr_1_2?ie=UTF8&qid=1516817947&sr=8-2&keywords=compiler">https://www.amazon.com/Compilers-Principles-Techniques-Tools-2nd/dp/0321486811/ref=sr_1_2?ie=UTF8&qid=1516817947&sr=8-2&keywords=compiler</a><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><font size="4"><span style="color:rgb(255,153,0)">Andrew McRobb</span><br></font></div><font size="4"><font size="2">Full-time Software Developer</font><br></font></div><font size="4"><font size="2">Part-time Freelancer</font><br></font></div><div dir="ltr"><font size="4"><a href="http://mcrobb.info" target="_blank"><font size="2">mcrobb.info</font></a><br></font></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 23, 2018 at 6:39 PM, trent shipley <span dir="ltr"><<a href="mailto:trent.shipley@gmail.com" target="_blank">trent.shipley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Since my other thread degenerated into a "school bad, school good" flame war, I thought I would try again.<div><br></div><div>I have little academic OR practical background with programming.</div><div><br></div><div>I want to write a couple of compilers.</div><div><br></div><div>The compilers are for functional languages.</div><div><br></div><div>I would PREFER to write the compilers with functional languages (1, a Haskell to JVM compiler mostly in Haskell with with some Java, 2, Funcalc--a pedagogical spreadsheet in Kotlin.)</div><div><br></div><div>I'm pretty good at learning computer languages, and so far teaching myself Haskell has failed to produce insurmountable obstacles.</div><div><br></div><div>But programming compilers is supposed to be HARD, and very much indebted to theory (as in, things they DO teach in school).</div><div><br></div><div>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.)</div><div><br></div><div>Is it possible to teach yourself to write compilers in an imperative language? If so how?</div><div>Having learned to write compilers with imperative languages, how do you convert to writing compilers in functional languages (for example, given Haskell [thought by many to be hard], writing lexer-parser-compilers is considered easy)?</div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div><br></div><div>Trent.</div></div>
<br>------------------------------<wbr>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.<wbr>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/<wbr>mailman/listinfo/plug-discuss</a><br></blockquote></div><br></div>