equal
deleted
inserted
replaced
3 \usepackage{../langs} |
3 \usepackage{../langs} |
4 |
4 |
5 |
5 |
6 \begin{document} |
6 \begin{document} |
7 |
7 |
8 \section*{Handout 6 (Grammars \& Parser)} |
8 \section*{Handout 5 (Grammars \& Parser)} |
9 |
9 |
10 While regular expressions are very useful for lexing and for |
10 While regular expressions are very useful for lexing and for |
11 recognising many patterns in strings (like email addresses), |
11 recognising many patterns in strings (like email addresses), |
12 they have their limitations. For example there is no regular |
12 they have their limitations. For example there is no regular |
13 expression that can recognise the language $a^nb^n$. Another |
13 expression that can recognise the language $a^nb^n$. Another |