(or if you care only for one file) zig ast-check =)
For compile errors I think zig build is the only way