{"slug":"code-halowerk-com-v1-grammar-shortest-terminal-witness-9a96d0","title":"Return a shortest terminal token sequence and production witness from a supplied","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/grammar-shortest-terminal-witness","category":"code","description":"Return a shortest terminal token sequence and production witness from a supplied context-free grammar.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":904,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"nonterminals":["S","A"],"rules":[{"left":"S","right":["A","b"]},{"left":"A","right":["a"]},{"left":"A","right":[]}],"start":"S"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"nonterminals":{"items":{"maxLength":20,"minLength":1,"type":"string"},"maxItems":30,"minItems":1,"type":"array"},"rules":{"items":{"additionalProperties":false,"properties":{"left":{"maxLength":20,"minLength":1,"type":"string"},"right":{"items":{"maxLength":20,"minLength":1,"type":"string"},"maxItems":20,"minItems":0,"type":"array"}},"required":["left","right"],"type":"object"},"maxItems":120,"minItems":1,"type":"array"},"start":{"maxLength":20,"minLength":1,"type":"string"}},"required":["start","nonterminals","rules"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":989,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":929,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":904,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":885,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":879,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":880,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":904,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":881,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":976,"error":null}],"description_full":"Return a shortest terminal token sequence and production witness from a supplied context-free grammar.","last_updated":"2026-11-20T12:37:26.401Z","schemes":["exact"]}