Parse integer literal optionally preceded by '-' from the start of string s.
.value = the integer literal as a string, .rest = the string following the integer literal
Otherwise: .value = null, .rest = s
See Implementation
Parse integer literal optionally preceded by '-' from the start of string s.