Files
gasm-sdk/docs/man/gasm-parse.1
T
petrbalvin 93c47a312a
Test / test (push) Successful in 2m4s
feat(docs): man pages for gasm and every command, guarded against CLI drift
Assisted-by: GLM 5.3 Flash
2026-09-19 21:18:43 +02:00

21 lines
661 B
Groff

.TH GASM-PARSE 1 "2026-09-19" "gasm 0.33.0" "User Commands"
.SH NAME
gasm-parse \- parse an assembly file and report syntax errors
.SH SYNOPSIS
.B gasm parse <file>
.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)