zzril / aula

Audio programming language and interpreter
MIT License
0 stars 0 forks source link

Add lexing / parsing tests #7

Open zzril opened 4 days ago

zzril commented 4 days ago

Once we have a proper language specification (#3 ), we should also add tests to verify that the interpreter correctly accepts/rejects well-formed/ill-formed input files.

This mostly concerns the lexer, and the parsing part of the interpreter. (I.e. with the language specifying which sequences of tokens are allowed, we want to ensure that these are indeed all that the interpreter accepts, and that incorrect sequences of tokens result in the expected error state.)