equal
deleted
inserted
replaced
452 |
452 |
453 The same problem with\medskip |
453 The same problem with\medskip |
454 |
454 |
455 \[ |
455 \[ |
456 \bl{(ab + a) \cdot (c + bc)} |
456 \bl{(ab + a) \cdot (c + bc)} |
457 \]\bigskip |
457 \]\medskip |
458 |
458 |
459 and the string $\bl{abc}$ |
459 and the string $\bl{abc}$.\pause\pause\bigskip |
|
460 |
|
461 Or, keywords are \pcode{if} and identifiers are |
|
462 letters followed by ``letters + numbers + \_''$^*$ |
|
463 |
|
464 \[ |
|
465 \bl{iffoo} |
|
466 \] |
460 |
467 |
461 \end{frame} |
468 \end{frame} |
462 |
469 |
463 |
470 |
464 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
471 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
476 \end{itemize}\bigskip\bigskip\pause |
483 \end{itemize}\bigskip\bigskip\pause |
477 |
484 |
478 \small |
485 \small |
479 \hfill most posix matchers are buggy\\ |
486 \hfill most posix matchers are buggy\\ |
480 \footnotesize |
487 \footnotesize |
481 \hfill \url{http://www.haskell.org/haskellwiki/Regex_Posix} |
488 \hfill |
|
489 \url{http://www.haskell.org/haskellwiki/Regex_Posix} |
|
490 \smallskip\pause |
|
491 |
|
492 \hfill \small traditional lexers are fast, but hairy |
482 |
493 |
483 %\url{http://www.technologyreview.com/tr10/?year=2011} |
494 %\url{http://www.technologyreview.com/tr10/?year=2011} |
484 %finite deterministic automata/ nondeterministic automaton |
495 %finite deterministic automata/ nondeterministic automaton |
485 %\item problem with infix operations, for example i-12 |
496 %\item problem with infix operations, for example i-12 |
486 |
497 |