Hacker News new | ask | show | jobs
by TomatoCo 147 days ago
You can't do it as part of whatever's calling it because this changes the sampler. The grammar constraints what tokens the sampler is allowed to consider, only passing tokens that are valid by the grammar.