llama.cpp/tests/peg-parser
Aldehir Rojas 451ef08432
common : gracefully handle incomplete output (#20191)
* common : handle incomplete UTF-8 at end of input in PEG parser

* cont : if reached end prematurely, emit needs_more_input to propagate partial output

* cont: refactor peg parse context to add lenient flag

* cont : remove partial flag, keep lenient flag
2026-03-08 17:17:02 +01:00
..
simple-tokenize.cpp common : introduce composable PEG parser combinators for chat parsing (#17136) 2025-12-03 12:45:32 +02:00
simple-tokenize.h common : introduce composable PEG parser combinators for chat parsing (#17136) 2025-12-03 12:45:32 +02:00
test-basic.cpp common : gracefully handle incomplete output (#20191) 2026-03-08 17:17:02 +01:00
test-gbnf-generation.cpp common : introduce composable PEG parser combinators for chat parsing (#17136) 2025-12-03 12:45:32 +02:00
test-json-parser.cpp common : gracefully handle incomplete output (#20191) 2026-03-08 17:17:02 +01:00
test-json-serialization.cpp common : introduce composable PEG parser combinators for chat parsing (#17136) 2025-12-03 12:45:32 +02:00
test-python-dict-parser.cpp common : gracefully handle incomplete output (#20191) 2026-03-08 17:17:02 +01:00
test-unicode.cpp common : gracefully handle incomplete output (#20191) 2026-03-08 17:17:02 +01:00
tests.h Autoparser - complete refactoring of parser architecture (#18675) 2026-03-06 21:01:00 +01:00