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.
-
1:47:05
Drew Hernandez
9 hours agoISRAEL PLANNING POSSIBLE DRAFT IN USA & TRUMP'S VIEW ON ETERNAL LIFE ANALYZED
26.4K55 -
29:55
Afshin Rattansi's Going Underground
3 days agoProf. Omer Bartov: The REAL REASON the US, UK, and EU Have Not Recognised Israel’s Genocide in Gaza
23.6K24 -
LIVE
SpartakusLIVE
6 hours agoWednesday WZ with the Challenge MASTER || Duos w/ GloryJean
408 watching -
2:36:12
Barry Cunningham
6 hours agoREACTING TO STEPHEN MILLER | KASH PATEL | TULSI GABBARD INTERVIEWS AND MORE NEWS!
72.2K63 -
LIVE
Alex Zedra
3 hours agoLIVE! Solo Scary Game night
337 watching -
58:01
MattMorseTV
6 hours ago $10.39 earned🔴The Dems. just lost 4.5 MILLION voters.🔴
66.3K59 -
1:04:10
BonginoReport
8 hours agoCornhusker Clink & A Sizzling Border Wall Deter Illegals - Nightly Scroll w/ Hayley Caronia (Ep.116)
128K86 -
10:22:43
ZWOGs
12 hours ago🔴LIVE IN 1440p! - SoT w/ Pudge & SBL, The Finals w/ The Brrrap Pack, Kingdome Come - Come Hang Out!
13K1 -
3:17:53
VapinGamers
3 hours ago $0.90 earnedOff The Grid - Yes I Have a Problem but Winning Aint One! #1 Controller Scrub NA - !rumbot !music
11.1K1 -
3:02:09
XxXAztecwarrior
4 hours agoThe Finals W/ The Tribe
7.22K