Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2005-08-25 16:50:20
Size: 73
Editor: pcp065118pcs
Comment:
Revision 3 as of 2005-08-25 17:17:55
Size: 539
Editor: pcp065118pcs
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Used Slides 02-scanning.pdf attachment:H__Programs_eclipse_compiler-slides_02-scanning.4.pdf
Line 4: Line 5:

Basically this lecture is a high level over view of Regular languages in the context of scanning/lexing etc. We discussed DFAs, NFAs & RE and the RE --> NFA construction.

Subset construction algorithm: Translates NFA --> DFA.

The symbol table is to organize the variables so that when I recognize a variable you can return a location in the symbol table instead of the value. This abstracts the value from the token.

attachment:HPrograms_eclipse_compiler-slides_02-scanning.4.pdf

p18 " " space is concatenation operator.

Basically this lecture is a high level over view of Regular languages in the context of scanning/lexing etc. We discussed DFAs, NFAs & RE and the RE --> NFA construction.

Subset construction algorithm: Translates NFA --> DFA.

The symbol table is to organize the variables so that when I recognize a variable you can return a location in the symbol table instead of the value. This abstracts the value from the token.

Csce825Notes20050825 (last edited 2005-08-25 17:17:55 by pcp065118pcs)