1module Language.JSON.String.Parser
3import Language.JSON.String.Tokens
10stringChar : Grammar JSONStringToken True Char
11stringChar = match JSTChar
12 <|> match JSTSimpleEscape
13 <|> match JSTUnicodeEscape
15quotedString : Grammar JSONStringToken True String
16quotedString = let q = match JSTQuote in
17 do chars <- between q q (many stringChar)
22parseString : List JSONStringToken -> Maybe String
23parseString toks = case parse quotedString toks of
24 Right (str, []) => Just str
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list