@embedFile("words.txt") evaluates to the file’s contents as though they were copied into the source. Pass those contents to a compile-time parser to turn a wordlist into program data. section 4.1.3
Listing 4.6 Using our parser
const words = blk: { #1
@setEvalBranchQuota(1_000_000); #2
break :blk parseWordlist(@embedFile("words.txt")); #3
};
The listing embeds words.txt, raises the compile-time branch quota, and passes the contents to the wordlist parser. section 4.1.3
