Files
gasm-sdk/docs/man/gasm-tokens.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

20 lines
635 B
Groff

.TH GASM-TOKENS 1 "2026-09-19" "gasm 0.33.0" "User Commands"
.SH NAME
gasm-tokens \- print the lexical token stream of an assembly file
.SH SYNOPSIS
.B gasm tokens <file>
.SH DESCRIPTION
Print the lexical token stream of FILE: position, token kind and text,
one token per line. FILE may be
.B \-
to read standard input.
.PP
This is the front end's raw view, for when the assembler's own
diagnostic is not enough: a mis-scanned operand or a swallowed comment
shows up here as the tokens the parser actually received.
.SH EXIT STATUS
Exits 0 on success and 1 when the file cannot be read.
.SH SEE ALSO
.BR gasm (1),
.BR gasm\-parse (1)