haskell-idea-plugin icon indicating copy to clipboard operation
haskell-idea-plugin copied to clipboard

Support escape from standard

Open atsky opened this issue 11 years ago • 2 comments

https://www.haskell.org/onlinereport/haskell2010/haskellch2.html

atsky avatar Jun 05 '14 22:06 atsky

2.6 Character and String Literals

char → ' (graphic⟨' | \⟩ | space | escape⟨&⟩) ' string → " {graphic⟨" | \⟩ | space | escape | gap} " escape → \ ( charesc | ascii | decimal | o octal | x hexadecimal ) charesc → a | b | f | n | r | t | v | \ | " | ' | & ascii → ^cntrl | NUL | SOH | STX | ETX | EOT | ENQ | ACK | BEL | BS | HT | LF | VT | FF | CR | SO | SI | DLE | DC1 | DC2 | DC3 | DC4 | NAK | SYN | ETB | CAN | EM | SUB | ESC | FS | GS | RS | US | SP | DEL cntrl → ascLarge | @ | [ | \ | ] | ^ | _ gap → \ whitechar {whitechar} \

atsky avatar Jun 05 '14 22:06 atsky

Hightlight escape like in java

atsky avatar Jun 06 '14 14:06 atsky