.TH GASM-PARSE 1 "2026-09-19" "gasm" "User Commands" .SH NAME gasm-parse \- parse an assembly file and report syntax errors .SH SYNOPSIS .B gasm parse .SH DESCRIPTION Parse FILE and report syntax errors on stderr. The parser is error-tolerant and line-oriented: a malformed line becomes a diagnostic and parsing continues, so one run reports every syntax error in the file rather than the first. .PP On success, print how many declarations and TEXT functions the file contains. FILE may be .B \- to read standard input. .SH EXIT STATUS Exits 0 when the file parses without errors and 1 otherwise. .SH SEE ALSO .BR gasm (1), .BR gasm\-tokens (1)