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:06:20
BonginoReport
3 hours agoTrump, Vance “SNUBBED” by Never-Trumper Cheneys - Nightly Scroll w/ Hayley Caronia (Ep.182)
40.7K19 -
3:35:57
SlantRock
4 hours agoBATTLEFIELD REDSEC/ MAYBE ARC RAIDERS AFTER
600 -
LIVE
Astral Doge Plays!
1 hour agoHyrule Warriors: Age of Imprisonment ~LIVE!~ Ganondorf Is a Jerk
50 watching -
1:25:13
Kim Iversen
3 hours agoMKUltra Victims Are SUING — The CIA's Darkest Secret EXPOSED
88.9K48 -
LIVE
GritsGG
6 hours ago#1 Most Warzone Wins 4015+!
69 watching -
16:30
Stephen Gardner
3 hours ago🚨OVAL OFFICE EXPOSES TRUMP TAKEOVER – FILIBUSTER NUKED!
17.5K26 -
LIVE
The Rabble Wrangler
16 hours agoThe Best in the West Dominates Battlefield
24 watching -
LIVE
cosmicvandenim
4 hours agoCOSMIC VAN DENIM
51 watching -
1:34:03
Redacted News
4 hours agoBREAKING! CIA FURIOUS & EMERGENCY WHITE HOUSE MEETING - ISRAELI SPY CAUGHT MEETING WITH AMB HUCKABEE
128K116 -
1:22:06
vivafrei
5 hours agoCFIA Goes After a REFUGE? Charlie Kirk Missing Evidence "Uncovered"? Democrats are Epostein Simps!
130K72