Accept less dont advance input pointer uw cse 401

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: scanners •  Cons –  “Magic” –  Code is unreadable –  Generates lots of code (but can be fairly fast) Winter 2013 UW CSE 401 (Michael Ringenburg) 22 11 1/14/13 The Real World C CSE341: Programming Languages Languages •  In commercial sSE341: (and most gcc front ends) enngs Programming hand wriwen scanners used more oqen than not. Lecture 1 Lecture 1 Course Course Mechanics Mechanics –  Especially for larger languages, e.g., C++/Java. ML C/C++ front end (used by ML Variable DG Variable Bindings –  Can purchase, e.g., EBindings Cray, Intel, others). Dan Grossman •  Why? Dan Grossman Fall 2011 Fall 2011 –  Fastest –  Can handle language corner cases – C++ especially bad. –  Readable/debuggable code. Winter 2013 UW CSE 401 (Michael Ringenburg) 23 Example: A hand- wriwen DFA and scanner CSE341: Programming CSE341: Programming Languages Languages •  To demonstrate, w...
View Full Document

Ask a homework question - tutors are online