|
codewitch honey crisis wrote:
i'm awake. i woke up just before 4. not unusual for me
Me.too. I always try to wake up before supper at 5 PM.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
OK, I thought you've been at it the whole night.
|
|
|
|
|
I haven't figured out the google-foo needed to get my PhD Thesis back, but you can easily find it in Google-Scholar.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Quote: When you search "how do I ..." and you get an actual PhD thesis back You're probably a chiropodist.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I just revived an old parser project and got it retooled using my new codebase.
LALR(1) parsing here we go.
Test harness, check.
Code generation in 3.. 2.. 1..
Pass me the damn coffee, I got this.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Message Closed
modified 29-Jul-19 7:45am.
|
|
|
|
|
I smell pink meat ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I agree. Something is definitely not kosher here...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
It could be kosher. There is no reason to believe that there is any actual pork in that keyed can!
Socialism is the Axe Body Spray of political ideologies: It never does what it claims to do, but people too young to know better keep buying it anyway. (Glenn Reynolds)
|
|
|
|
|
|
I'm with him.
If it's raining outside, all is fine.
If it's raining inside, I gotta go and get wet fixing the roof.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Dancing terribly can be a revelation (9)
|
|
|
|
|
Dancing DISCO
terribly VERY
can be a revelation
DISCOVERY
Nice one!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Ta
|
|
|
|
|
Seriously. What planet are you from? Or did they just place a warped alien brain in a human body?!?!
Socialism is the Axe Body Spray of political ideologies: It never does what it claims to do, but people too young to know better keep buying it anyway. (Glenn Reynolds)
|
|
|
|
|
No, it's a perfectly normal alien brain in a warped human body.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
going back through some code for LALR(1) table generation. The math is stupid. Like, ridiculous. If you say you understand it, you don't understand it.
Comments? They don't help here. Comments don't cover this math.
LALR(1) Parsing[^]
barely covers it (not touching the math at all, but the concepts)
and going back through this code to retool it (code rusts) is a nightmare on wheels.
i'm trying to figure out how to document it better, and honestly, I got nothing. it needs a book
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I may be in the minority here, but I must admit I loved the Dragon book when I used it in Compiler Theory I (I didn't take the optional Compiler Theory II course) at university. For those who're keeping track, the year was 1984. Those were good times. When we watched our RAM usage and clutched reams of 14" fan-fold hard copy close to our heart lest the Bernoullis suffered a head crash. When we smoked cigarettes and drank endless pots of coffee into the night, warmed by the soft glow of the CRTs at the otherwise dark computer center.
God, it felt good to be invincible...
/ravi
|
|
|
|
|
Those were the days...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
heady days!
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
What you need is A Tutorial Explaining The Tutorial Explaining LALR(1) Parsing
To understand the tutorial you must first understand the tutorial... Or was that the tutorial on another topic?
|
|
|
|
|
I got it running. A few minutes ago actually, all ported into my newer parser generator codebase.
woot.
what a monster that algorithm is. Utter gibberish.
"Here, take this and build a state machine with it"
"Use the state machine to construct this temporary grammar, which we will throw away"
"Now take the state machine, run it a few times, then throw it away too"
"Now take this dead chicken and wave it over the result"
Seriously, that's LALR(1) computation.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I've never even heard of LALR and I suck at math
Everything you're doing is literally witchcraft to me!
Now where did I leave my torch and pitchfork...?
|
|
|
|
|
The worst part is I'm horrible at math too.
I mean, I'm good at concepts, but I was a homeless teen which wasn't conducive to a great high school education, and i wound up at microsoft at 18 instead of going to uni. All of that impacted my math. A lot.
So i am effing winging it on an algebra education and sheer grit.
I haven't blown myself up yet at least.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
codewitch honey crisis wrote: I was a homeless teen which wasn't conducive to a great high school education, and i wound up at microsoft at 18 instead of going to uni Now there's an interesting story
What function did you have at Microsoft? I heard it's pretty hard to get in even for University graduates.
codewitch honey crisis wrote: I haven't blown myself up yet at least. Just watch out when you're going to practice fire spells
In fact, be this kind of witch[^] not this kind of witch[^].
Although it seems you've already lost your soul to the black arts of math and parsers (and not using brackets around single line if-statements and multiple return statements)
|
|
|
|