Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
courses:cs331-201701:lexer [2019/01/23 11:05]
sellis [CMPU-331 Compilers (Fall 2018)]
courses:cs331-201701:lexer [2019/01/23 11:26]
sellis [Requirements]
Line 12: Line 12:
 ==== Requirements ==== ==== Requirements ====
  
-  - Your lexical analyser must be written from scratch: you may not use any external libraries.+  - Your lexical analyser must be written from scratch.
   - You may not use a regular expression analyser of any kind.   - You may not use a regular expression analyser of any kind.
-  - The lexical analyser **must** have a function which returns a token, i.e. some form of type-value pair; this function **must** be publicly callable.+  ​- You may not use any external libraries. 
 +  ​- The lexical analyser **must** have a function, ''​GetNextToken()'', ​which returns a single ​token, i.e. some form of type-value pair; this function **must** be publicly callable.
   - You must implement some form of error handling.   - You must implement some form of error handling.