You have to add some write statements. It's just an example of ragel definitions. On 2019-02-22 04:47, Peng Yu wrote: > When I use the following command to compile examples/uri.rl, > > $ ragel -o uri.rl.c uri.rl > > I got an empty file. Does anybody know what is wrong? Thanks. > > $ cat uri.rl.c > > #line 1 "uri.rl" > > #line 31 "uri.rl"