Modules

I want to split the big messy file into smaller ones, each with its own responsibilities.

Right now, I see at least these modules:

  1. main
  2. variables
  3. tokenizer
  4. keywords

Let me begin with moving the variable-things!

Variables

The variables module contains this:

The typedef variable

The array of variables - and the counter variables_used

The functions:

I’ll put the typedef in the variables.h file with all the function prototypes.

Now I need to compile with