Earlier quoted context omitted.
yes, that Eric Schmidt.
[flagged]
I Wrote a Compiler
71–78 of 78 posts
Re: I Wrote a Compiler
#72> It’s possible to write the lexer and parser entirely by hand I write mine all by hand. It's the easiest part of a compiler to write, by far. It's also the least troublesome. One advantage of doing them by hand is better, more targeted error messages are easier to fold in.
Re: I Wrote a Compiler
#73Writing a compiler without first learning how to write a parser is like learning to play an instrument without practicing scales.
Re: I Wrote a Compiler
#74Earlier quoted context omitted.
yes, that Eric Schmidt.
[flagged]
Re: I Wrote a Compiler
#75Re: I Wrote a Compiler
#76Earlier quoted context omitted.
[flagged]
@dang I feel like this is getting close to the lowest level of discourse and occurs somewhat often these days where people overly reference the output of some AI and then are challenging the results without googling. I feel a proper hacker ethos would spur someone to find a real answer. So in honor of the name of the site maybe disallow refutations or other dismissals of a submission based on the output of an AI or o…
Most probably the long-term solution is for the community to express this preference by flagging comments that do this. I think we see signs of that happening, which is good, because a community solution is better than a technical solution (and way better than an authority solution) any day.
Btw, tapirl is a good contributor and I don't think they did anything particularly wrong. It just takes time for us all to learn the optimal patterns together.
Re: I Wrote a Compiler
#77Earlier quoted context omitted.
Delphi for sure. And while you have to run it on Windows, it can create binaries for Windows, macOS, Linux, and mobile. https://www.embarcadero.com/products/delphi
FreePascal and Lazarus get you close on other platforms I think. It’s been ages since I’ve looked into it.
Re: I Wrote a Compiler
#78Earlier quoted context omitted.
FreePascal and Lazarus get you close on other platforms I think. It’s been ages since I’ve looked into it.
Yes, but I'd argue the price of Delphi is totally worth the issues you would then avoid by not using Lazarus.