Posts Tagged ‘literal’

Using literal character tokens when designing lexers and parsers.

May 11, 2014 Leave a comment

Sometimes while I exploring the source code of various free software Flex lexers and Bison parsers I see name declarations for single character tokens.

Read more…

Regular expressions for matching data values in compiler lexers.

May 10, 2014 Leave a comment

Below, there are some useful regular expressions for matching C-like primitive data values.

Read more…