metthal/IFJ-Projekt

Lexical analysis (scanner)

Closed this issue · 2 comments

Based on finite state machine, scanner needs to be implemented.

Scanner has to contain:

  1. Structure respresenting token with all needed attributes about the token
  2. Finite state machine
  3. Interface to provide token for parser

Scanner should parse whole file and return Vector of Tokens to parser.

Scanner seems to work properly in 0ef07a1

If any problems appear, raise a new issue as a bug.