r/Compilers • u/fschmidt • Aug 25 '19
Parsing for programmers who hate modern software
/r/GoodSoftware/comments/cv4swe/parsing/3
u/FUZxxl Aug 25 '19
Note that LR(1) parser generators date back to 1965, so that's not exactly modern.
1
u/fschmidt Aug 25 '19
Being modern (from modern culture) is a sufficient condition for software to suck, but not a necessary condition.
3
u/stannash Sep 11 '19
Parsing is not hard or complicated though. Recursive descent parser is very easy and Shunting Yard is even easier for expressions.
Even if you're not into parsing, there are many Parser Generators.
0
Aug 25 '19
[deleted]
7
u/RRethy Aug 25 '19
The guys whole post history is pretty bizarre.
-4
Aug 25 '19
[removed] — view removed comment
3
u/VernorVinge93 Sep 05 '19
Rude
0
u/Sans_Logique Sep 06 '19
"There are definitely transmen who have given birth."
Found in your latest post. This is who we're dealing with, gents.
1
u/VernorVinge93 Sep 06 '19
Is it factually incorrect, or do you not like that I'm accepting of the trans community?
0
u/Sans_Logique Sep 06 '19
It is factually incorrect. Nonsense like that is actually quite harmful to the trans community, since it makes it seem they're accepted by nutty people like you.
2
u/VernorVinge93 Sep 06 '19
So, this is an example of what I was referring to.
Do you believe the father figure in the piece isn't a transman?
0
u/Sans_Logique Sep 06 '19
One can choose to give this person lip service by calling them a "man" and I'd usually choose to do so just not to offend but that is not really a man and anybody who claims it is is either lying or insane. Men can't give birth.
2
u/VernorVinge93 Sep 06 '19
Personally I see that as an overly dogmatic view.
Hell maybe I'm insane, but I think having a distinction between gender and sex (man and male) is helpful.
→ More replies (0)1
2
4
u/FelbrHostu Aug 25 '19
This isn’t a parser. This is a very basic set of scanning routines, not appreciably different than those presented in “Crafting Interpreters”.