Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: December 7, 2025, 4:27 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiler Theory
#5
RE: Compiler Theory
(October 26, 2020 at 11:18 am)HappySkeptic Wrote:
(October 24, 2020 at 4:20 am)FlatAssembler Wrote: So, what do you think, is making compilers for your programming language (like I did) likely to make you a better programmer? Or is it likely to make you worse?

I think it should make you better, if it helps you understand how the syntax is formed.  Just try not to focus too much on HOW the parser does its work

Maybe that's the problem. I've written the parser for my programming language by hand. And somehow I usually assume that's how it's done. But usually it isn't. Usually, the parsers are written using tools such as YACC or BISON, which, as far as I understand it, make it easy to write complicated grammar rules which are not at all obvious how to implement in a hand-written parser.
Reply



Messages In This Thread
Compiler Theory - by FlatAssembler - October 23, 2020 at 6:38 am
RE: Compiler Theory - by HappySkeptic - October 23, 2020 at 4:36 pm
RE: Compiler Theory - by FlatAssembler - October 24, 2020 at 4:20 am
RE: Compiler Theory - by HappySkeptic - October 26, 2020 at 11:18 am
RE: Compiler Theory - by FlatAssembler - October 26, 2020 at 3:40 pm
RE: Compiler Theory - by Angrboda - October 27, 2020 at 10:48 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  Simulation Theory Paraselene 12 2363 October 3, 2021 at 1:58 pm
Last Post: Spongebob
  Arithmetic Expression Compiler FlatAssembler 69 16910 July 17, 2021 at 12:36 pm
Last Post: awty



Users browsing this thread: 1 Guest(s)