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
FusedAegisTV
14 hours agoOFFICIAL Evo 2025 Day 3 Co-Stream - Las Vegas, NV ∥ Top 8 FINALS! SF6, Tekken 8 & MORE
2,668 watching -
LIVE
itsReel
1 hour agoHAPPY SUNDAY! Picture Perfect, Then Tigger Happy!
45 watching -
17:28
Degenerate Jay
3 days agoDoes Batman: Arkham Asylum Need A Remake?
1.88K -
LIVE
C03Games
26 minutes agoLiving The Mob Life Ain't Easy (Mafia II)
21 watching -
5:50
VSOGunChannel
1 day ago $0.08 earnedMcCloskey Finally Gets His Rifle Back
1.54K4 -
1:01:07
Professor Gerdes Explains 🇺🇦
22 hours agoWhat is Happening With Trump and Putin RIGHT NOW?
1.74K1 -
1:50
Memology 101
13 hours ago $0.18 earnedNah, we good...
2.01K23 -
58:42
X22 Report
1 day agoMr & Mrs X: America’s Back, Those Who Tried To Destroy American Will Face Justice - Ep 1
311K175 -
1:13:59
Athlete & Artist Show
3 hours ago $6.80 earnedAJ Galante: From Duffle Bags Of Cash In Danbury, to a Global BKFC Ice Wars Partnership
25.4K5 -
12:34
Actual Justice Warrior
2 days agoParoled New York KILLER Strikes Again
59.5K186