Premium Only Content
Compiler From Scratch: Phase 1 - Tokenizer Generator 006A: Bug fix then getting NFA/DFA from config.
Streamed on 2024-08-23 (https://www.twitch.tv/thediscouragerofhesitancy)
Zero Dependencies Programming!
Interrupted stream today. My UPS started popping, so I terminated rather abruptly to troubleshoot that before everything went down. We were back online in minutes. There is a part B.
Starting off the day with a bug from the week before is a little rough. I didn't even remember what the bug was. That's a drawback to once-a-week programming projects. But we dug in, and with an excess of print statements we figured it out, no thanks to gdb. I just needed to initialize a pointer to null.
With that out of the way we quickly gathered the token names into a unique list so we would have a unique TokenID/TokenName mapping. Then it didn't take long to go through each rule, compute the NFA from the pattern, and mash all the small NFAs into a single NFA. With a single NFA in hand it was trivial to get the DFA for the whole thing.
This is where we had to break while I checked out my UPS.
-
1:06:09
Man in America
15 hours agoExposing HAARP's Diabolical Mind Control Tech w/ Leigh Dundas
63.9K49 -
1:47:16
Tundra Tactical
11 hours ago $105.36 earnedGlock Interview From Beyond The Grave//Whats the Future of Home Training??
48.7K8 -
2:16:35
BlackDiamondGunsandGear
9 hours agoEBT Apocalypse? / Snap Down SHTF / After Hours Armory
19.6K9 -
14:05
Sideserf Cake Studio
20 hours ago $15.62 earnedHYPERREALISTIC HAND CAKE GLOW-UP (Old vs. New) 💅
55.7K10 -
28:37
marcushouse
22 hours ago $8.93 earnedSpaceX Just Dropped the Biggest Starship Lander Update in Years! 🤯
26.8K9 -
14:54
The Kevin Trudeau Show Limitless
3 days agoThe Hidden Force Running Your Life
109K25 -
2:16:35
DLDAfterDark
9 hours ago $10.00 earnedIs The "SnapPocalypse" A Real Concern? Are You Prepared For SHTF? What Are Some Considerations?
28.1K11 -
19:58
TampaAerialMedia
21 hours ago $9.45 earnedKEY LARGO - Florida Keys Part 1 - Snorkeling, Restaurants,
44.1K19 -
1:23
Memology 101
2 days ago $8.80 earnedFar-left ghoul wants conservatives DEAD, warns Dems to get on board or THEY ARE NEXT
35K69 -
3:27:27
SavageJayGatsby
11 hours ago🔥🌶️ Spicy Saturday – BITE Edition! 🌶️🔥
60.2K7