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.
-
DVR
TheNateVibez
4 hours agoOmni-🤖 - First Rumble Stream.🫡 - VETERAN
23.1K -
2:59:26
Tundra Gaming Live
8 hours ago $2.11 earnedThe Worlds Okayest War Thunder Stream//FORMER F-16 MAINTAINER//77th FS//#rumblefam
17K -
2:32:19
DemolitionDx
4 hours agoSunday night COD with friends.
45.2K1 -
2:10:14
vivafrei
14 hours agoEp. 237: More Trump Cabinet Picks! MAHA or Slap in the Face? Canada on Fire! Go Woke Go Broke & MORE
185K238 -
2:23:21
SOLTEKGG
4 hours ago $3.20 earned🟢 First Day on RUMBLE!
37.3K3 -
LIVE
Vigilant News Network
8 hours agoCOVID-Vaccinated Hit With Grave New Reality | Media Blackout
1,994 watching -
1:26:31
Josh Pate's College Football Show
8 hours ago $2.52 earnedSEC Disaster Saturday | Major CFP Earthquake Coming | Officiating Is A Disaster | New Studio Debut
25.8K1 -
1:43:05
Adam Does Movies
11 hours ago $4.24 earnedGladiator II Spoiler Conversation With Hack The Movies
27.4K1 -
24:10
Bwian
11 hours agoI Don't Know What I'm Doing in Fortnite, But I Still Won...
21.5K1 -
19:30
DeVory Darkins
13 hours ago $41.46 earnedJoe Rogan MOCKS The View as Bill Maher HUMILIATES Woke Scientist
96.9K134