mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-03 12:37:42 -04:00

* Redefine ICountable.matches, getDeprecationAnnotation is not part of the "engine" character of that interface * Add a way to mark not-yet-finished Countables * Add an empty framework for @AutumnPizazz's Expression engine * Make "which does not fit parameter type" constant for pattern match robustness * New expression evaluator engine * Fix countable tests: correct expected failures * All syntax errors MUST indicate position. Otherwise, modders can't actually debug. * Better positions + documentation * Get rid of functions that modders *should not* be using * Fix tests given the new changes * Add modder-visible expression parsing errors * Revert Countables to current state * Fix the rest of the damn owl - compilation, not tests * Fix all tests as well * Detect countables at parse; Don't crash * Add error detection for all types of expression errors * Better documentation * Countables catches first matching, to avoid parsing known countables as Expressions --------- Co-authored-by: yairm210 <yairm210@hotmail.com>