Exercise 11:

Lexical ANTLR description for the string constants of the C programming language
Such sequences contain a string description delimited by double quotes ". The description is a sequence of character descriptions, where each of them is either just a character different from " and \, or is \ followed by either a, b, t, n, v, f, r, \, ", or one, two or three octal digits representing a natural number smaller than 256256 (in decimal, for example '\11' represents 99), or an x followed by one or two hexadecimal digits (uppercase or lowercase, for example '\xA1' represents 161161).
Authors: Guillem Godoy / Documentation:
To be able to submit you need to either log in, register, or become a guest.