Skip to content
0:00 / 0:00

#tokenizer#labeledswitch#finitestatemachine

A Tiny Tokenizer in Zig to try out Labeled Switch

Code With Cypert

9.9K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Intermediate. Assumes working knowledge.

4.7K views1 year ago1 recommendation

Programming languagesComputer scienceZigCompilers and interpreters

How to build a simple tokenizer and finite state machine in Zig to evaluate the language's labeled switch feature.

I've had a lot of feedback on my video about Labeled Switch, and I figured we'd best create a tokenizer or FSM to help see if the labeled switch truly does shine. So... here's that video :)

Why it's here

1 person recommends this

u/CaptainSketchyin r/Zig • Recommends

A Tiny Tokenizer in Zig to try out Labeled Switch