Here's some sample output from the firmware compiler due to a syntax error. It would be helpful if anasymod raised an exception in this case, because the compiler produces a lot of output text and it can be easy to miss the error message. I believe the next step (upload firmware) does raise an exception due to a missing ELF file, but in then the user has to scroll back through the compiler output to figure out what went wrong.
../src/main.c: In function 'main':
../src/main.c:288:32: error: expected ';' before '}' token
288 | nargs++
| ^
| ;
289 | }
| ~
src/subdir.mk:24: recipe for target 'src/main.o' failed
makefile:33: recipe for target 'all' failed
make[1]: *** [src/main.o] Error 1
make: *** [all] Error 2
Here's some sample output from the firmware compiler due to a syntax error. It would be helpful if anasymod raised an exception in this case, because the compiler produces a lot of output text and it can be easy to miss the error message. I believe the next step (upload firmware) does raise an exception due to a missing ELF file, but in then the user has to scroll back through the compiler output to figure out what went wrong.