Premium Only Content

Compiler From Scratch: Phase 1 - Tokenizer Generator 019: Adding gotos for batch processing
Streamed on 2024-11-22 (https://www.twitch.tv/thediscouragerofhesitancy)
Zero Dependencies Programming!
With newfound confidence because of the new testing capabilities I started in on the goto version of batch processing. A lot of the existing code we have was reusable so it wasn't too long before we got something working. After that it was a matter of testing all the various build combinations, seeing where it broke and fixing it. Eventually it worked and was in the autmatic tests.
There were some more test cases I needed to add, so that's what I did. I added tests for empty strings, strings that only contain whitespace and comments, then some file reading (instead of passing the text directly in) and missing files. Several of the new tests revealed small fixes that needed to be made here and there.
By the end of the day I had 44 test suites were passing for all three encodings and 11 cases each for 1452 texts being tokenized each time we run the whole thing. Not too shabby.
-
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
186 watching -
1:47:20
Badlands Media
16 hours agoBaseless Conspiracies Ep. 154: The Death of Kurt Cobain – Murder, Media, and the Cover-Up
47.7K43 -
2:04:08
Inverted World Live
10 hours agoRex Jones Calls In From The Gray Area | Ep. 122
48K6 -
5:56:17
Rallied
13 hours ago $9.71 earnedBF6 with THE BOYS
51.4K5 -
1:05:18
Flyover Conservatives
1 day agoThe SEAL-Turned-CEO Paying Off Millions in Veteran Medical Debt: JOIN THE MISSION! - Bear Handlon, Born Primitive | FOC Show
63.8K8 -
5:02:21
Drew Hernandez
14 hours agoTRUMP'S GAZA PEACE PLAN PHASE 1 & TRUMP THREATENS PUTIN WITH TOMAHAWKS
40.1K24 -
1:18:38
Glenn Greenwald
13 hours agoProf. John Mearsheimer on Trump's Knesset Speech, the Israel/Hamas Ceasefire, Russia and Ukraine, and More | SYSTEM UPDATE #530
131K86 -
2:21:37
Tucker Carlson
11 hours agoAlex Jones Warns of the Globalist Death Cult Fueling the Next Civil War and Rise of the Antichrist
108K466 -
12:35
Clownfish TV
19 hours agoJimmy Kimmel Return NOT Helping Disney AT ALL! DIS Stock Keeps Falling! | Clownfish TV
55.6K9 -
6:54:31
Eternal_Spartan
13 hours ago🟢 Eternal Spartan Plays Final Fantasy 7 Rebirth Ep. 10 | USMC Vet
41.7K2