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.
-
51:12
hickok45
5 hours agoSunday Shoot-a-Round # 320
5454 -
38:42
Mike Krabal
6 days ago $0.05 earnedBuilding an Awesome Rocketship Mini Camper!
1878 -
10:57
Full Ahead
16 days agoToronto: A Love Letter
-
16:00
Stammherz - Fine woodworking, end grain cutting boards & process-driven builds
5 days agoI used only 2 Woods to make this
482 -
24:58
Athlete & Artist Show
20 hours agoOlympics Week 1 Review, Can CANADA Win GOLD?!
329 -
2:16:05
Game On!
17 hours ago $8.13 earnedWiseguy Roundtable: Life AFTER Football! BEST BETS!
111K3 -
11:40
Adam Does Movies
1 day ago $1.37 earnedGood Luck, Have Fun, Don't Die - Movie Review
9.66K4 -
27:43
marcushouse
1 day ago $10.71 earnedSpaceX’s Starship Strategy Just Changed… Big Time!
23.8K20 -
29:35
Connor Tomlinson
23 hours agoRupert Lowe Rescues Britain's Crown From the Gutter
12.4K15 -
31:33
Squaring The Circle, A Randall Carlson Podcast
1 day ago#078 This Man Made "Grand Canyon" Is A Warning: Providence Canyon
21.8K6