vampirc / vampirc-uci

A Universal Chess Interface (UCI) protocol parser and message generator.
https://vampirc.kejzar.si
Apache License 2.0
19 stars 7 forks source link

parsing setoption predocudes a parser error #26

Closed urisinger closed 4 months ago

urisinger commented 4 months ago

fn main() {
    _ = vampirc_uci::parse_strict("setoption Name 1").map_err(|e| println!("{}", e));
}```

gives you the output of :
``` --> 1:1
  |
1 | setoption Hash 13
  | ^---
  |
  = expected uci, debug, isready, setoption, register, ucinewgame, stop, quit, ponderhit, position, go, id, uciok, readyok, b
estmove, copyprotection, registration, option, or info```, and it looks like it just doesnt recognize it?