Commit Graph

3 Commits

Author SHA1 Message Date
DrFrugal a0ff3fde4d improving performance by refactoring:
-> declaration lookup (it's own loop at the start)
-> indent check (starting at index 2, jumpting by 2 steps, since block levels increase by 2 spaces each time)
-> removed function start and end bracket from src vector
2024-01-30 08:37:42 +01:00
DrFrugal 45dd86e289 refactor to use std::optional instead of ParseResult or EvalResult
big refactor for evaluating local variables etc
tracking branches and loops
FunctionInfo struct has a constructor for parsing from vector of strings
2024-01-28 21:38:40 +01:00
DrFrugal 82f367f068 lots of refactoring...
new FunctionInfo files - most functions ware now a member of FunctionInfo
stable version before refactoring for loop parsing
2024-01-24 03:46:26 +01:00