Closed yurivict closed 6 years ago
Behold! Our wildcard rule for Ragel.
src/%.cc: src/%.rl
@echo " RL " $@;
$(RAGEL) -G2 -o $@ $<
I'm proud to say I'm also a contributor to the Ragel project. Although I've sometimes wondered if it's leaky abstraction and we're better off just writing our state machines by hand using switch statements.
src/pixel_parse.cc