Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 556 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 556 Bytes

Lexycal Analyzer

A simple lexycal analyzer for the Pep9 Assembler project using Finite State Machines;

FSM Design

FSM_model

Components:

InBuffer

- the input string handler;
- has the ability to advance and backup the input;

Tokenizer

- gets a line of characters, given by the InBuffer, loops through each line (with the getToken() function) detecting and returning each token until the end of the input string;