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
This is the Ray Gaming
2 hours agoCould you be? Would you be? Won't you be my RAYBOR? | Rumble Premium Creator
46 watching -
1:46:52
JahBlessGames
3 hours ago🎉Come een' and come tru' - VIBES | MUSIC | GAMES
15.1K -
38:47
MattMorseTV
5 hours ago $1.10 earned🔴Tulsi just CLEANED HOUSE.🔴
33.9K72 -
LIVE
Reolock
5 hours agoWoW Classic Hardcore | WE'RE BACK!!
161 watching -
3:46:13
SynthTrax & DJ Cheezus Livestreams
7 hours agoShell Shock Live - The Scorched Earth Remake/Upgrade - 4pm PST / 7pm EST - RUMBLE GAMING
25.6K -
2:56:57
Illyes Jr Gaming
4 hours agoBack to Black .....Ops 6 w/ ILLYESJRGAMING
21.3K1 -
1:07:59
BonginoReport
7 hours agoBoston Mayor Defies Trump, Protects Illegals - Nightly Scroll w/ Hayley Caronia (Ep.115)
121K83 -
40:45
Donald Trump Jr.
7 hours agoPeace by Peace: Solving One Problem After Another | Triggered Ep.268
63.7K60 -
LIVE
FrizzleMcDizzle
4 hours ago $1.31 earnedRemnant 2 - Dark Souls-like Shooter?!
160 watching -
DVR
FoeDubb
3 hours ago🏰KINGDOM MENU: 🎮DELTA FORCE PEW PEWS WITH THE BROS 👑CRGOODWiN & 👑BSPARKSGAMING DILLY DILLY!!
13K