petrbalvin
59637d35b1
test(format): fuzz the expansion round-trip
...
A second formatter target holds the assembly path's contract: beyond the
token view, a file the expander reads cleanly must expand to the same
statement sequence after formatting, because the macro language draws
distinctions from layout (the adjacency of a #define name and its '(',
continuation bodies) that a token count cannot see.
Assisted-by: GLM 5.3
2026-10-07 13:54:42 +02:00
petrbalvin
e600fc00e7
fix(format): preserve macro adjacency and continuation bodies
...
The canonical spelling of a #define line glued a '(' to the macro name
whatever the input's spacing, turning an object macro whose body opens
with a parenthesis into a parameterised one, and it flattened the
backslash continuations of a multi-line body into one physical line,
fusing the statements the expansion splits at those boundaries. Both
change what a valid file assembles to, so renderPreproc now keeps the
name's adjacency (the same column check the preprocessor applies) and
restores the continuation boundaries from the token positions.
Assisted-by: GLM 5.3
2026-10-07 13:54:42 +02:00
petrbalvin
6570709226
fix(parser): peel stacked labels the way the formatter renders them
...
Assisted-by: GLM 5.3
2026-10-02 00:40:20 +02:00
petrbalvin
9a5217d9c1
fix(format): keep every token of a line in the canonical output
...
Assisted-by: GLM 5.3
2026-10-02 00:40:20 +02:00
petrbalvin
4d01bb3ecf
build: rename the module to sourcedock.dev/petrbalvin/gasm-sdk
Test / test (push) Successful in 4m18s
2026-09-26 11:08:43 +02:00
petrbalvin
ec1c521187
feat(cmd): GOOS-aware headers, audit battery shapes and semicolon spacing
...
Test / test (push) Failing after 2m21s
Assisted-by: GLM 5.3 Flash
2026-09-20 22:02:46 +02:00
petrbalvin
d6cf7cfa44
fix(format): keep statement separators and canonical macro bodies
...
Assisted-by: GLM 5.3 Flash
2026-09-20 19:14:43 +02:00
petrbalvin
ecb203dcf5
fix(lexer): treat trailing CR as line end so comment text is idempotent
...
Test / test (push) Successful in 2m13s
Assisted-by: GLM 5.3 Flash
2026-09-20 11:40:39 +02:00
petrbalvin
c66a47973a
fix(format): preserve square brackets in SIMD operands
...
Test / test (push) Successful in 2m15s
Assisted-by: GLM 5.3 Flash
2026-09-20 09:58:25 +02:00
petrbalvin
94e09e8070
fix(format): preserve flag separators and normalise CRLF input
...
Assisted-by: GLM 5.3
2026-09-19 23:48:47 +02:00
petrbalvin
3c8f7cb411
test(format): pin the fuzz-found crashers as regression seeds
...
Assisted-by: GLM 5.3 Flash
2026-09-19 20:48:51 +02:00
petrbalvin
bc3f448738
feat(format): fuzz targets for the parser and formatter
...
Assisted-by: GLM 5.3 Flash
2026-09-19 20:41:43 +02:00
petrbalvin
0078f7be5c
style: purge em dashes from the produced text
...
Assisted-by: GLM 5.3 Flash
2026-09-16 23:12:31 +02:00
petrbalvin
1691c81095
style: replace em and en dashes across sources
2026-09-14 18:22:18 +02:00
petrbalvin
56ad158772
fix: restore iota blocks, asm --format flag and prose after the syntax pass
Test / vet (push) Successful in 48s
Test / test (push) Successful in 2m35s
Test / build (push) Successful in 40s
2026-08-29 17:12:53 +02:00
petrbalvin
ebd8ab8a3c
test: gate go-libraries integration tests behind -tags=integration
...
Test / vet (push) Successful in 44s
Test / test (push) Successful in 2m8s
Test / build (push) Successful in 40s
Assisted-by: GLM 5.2
2026-08-07 21:28:24 +02:00
petrbalvin
e98680597d
feat(fmt): go-fmt-style recursive formatting and canonical blank-line layout
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-12 21:24:41 +02:00
petrbalvin
1a01870695
fix(lint): calibrate register-clobber to the Go ABI and add legacy SSE moves
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-11 17:36:52 +02:00
petrbalvin
d5a4a6de45
feat: gasm-devkit 0.1.0 — GAsm lexer, parser, linter, formatter, LSP and amd64 assembler
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-06 09:49:50 +02:00