PCG icon indicating copy to clipboard operation
PCG copied to clipboard

Assert that input chracters are in the alphabet when reading in a TCM file

Open recursion-ninja opened this issue 6 years ago • 0 comments

When we read in data files and associate them with a TCM, they inherit the alphabet defined in the TCM file.

We need to assert that every symbol found in the input files are symbols defined in the alphabet of the TCM file.

If we don't do this at "unification time," we can get very, very cryptic errors with empty dynamic character elements when decorating the tree.

recursion-ninja avatar Oct 25 '19 14:10 recursion-ninja