Premium Only Content

Compiler From Scratch: Phase 1 - Tokenizer Generator 006B: Starting code generation
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 A.
With a complete path from ConfigFile to DFA, it is time to start generating code. I wrote a helper class to handle the file and structured output in a nice way, then went to town. Our structure will be a single hpp/cpp pair of files outputted. They are namespaced. There will be some things in the cpp file that are not in the hpp file, as the hpp file is the "publicly facing" portions of the code. Today I made it through adding TextBuffer (to load/hold text for our tokenizer) to the cpp file. This is not a "publicly facing" thing, but we can hack around it to get it tested.
In the end we had a few minutes so I added different logging levels to our command line options. There wasn't really a task the right size to start, so I am off to grill some steak.
-
2:06:05
"What Is Money?" Show
2 days agoTrump Family Bitcoin Bet Will Trigger Nation-State FOMO w/ Matt Prusak (CEO American Bitcoin)
129 -
1:04:36
Dialogue works
2 days ago $0.21 earnedMohammad Marandi: Iran Just Gave Israel a FINAL Warning…
2.45K4 -
9:20
daniellesmithab
1 day ago3 Bad Laws
11.2K5 -
9:22
MattMorseTV
16 hours ago $9.09 earnedINDIA just made a BIG MISTAKE.
53.1K51 -
12:11
Nikko Ortiz
14 hours agoCrashout 6 Rumble
8.61K2 -
22:35
GritsGG
14 hours agoThe KILO is BACK! The Best AR on Warzone FRIES!
16.2K1 -
2:16:36
Side Scrollers Podcast
18 hours agoStreamer KICKED OUT of Renaissance Fair for Misgendering + Spiderman MELTDOWN | Side Scrollers Live
39.8K7 -
12:29
The Pascal Show
1 day ago $1.14 earnedLOCKED IN A DUNGEON?! Parents Arrested After 5 Children Found In 'Dungeon' At Home
9.96K3 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
231 watching -
3:07:24
FreshandFit
9 hours agoPrivileged Nigerian Thinks Women Created Everything: HEATED DEBATE
146K80