petrbalvin
bbe14dd1ab
fix(parser): diagnose GLOBL and DATA without a symbol name
...
A bare GLOBL or DATA parsed without a single diagnostic while leaving a
nil Name in the tree, a pointer every downstream tool dereferences; TEXT
keeps a placeholder beside its error for exactly that reason, and GLOBL
and DATA now do the same. The crashing input enters the corpus.
Assisted-by: GLM 5.3
2026-10-07 13:54:42 +02:00
petrbalvin
6218023a63
style(parser): range over the include chain depth
...
Assisted-by: GLM 5.3
2026-10-07 13:54:42 +02:00
petrbalvin
21b6348dbe
test(parser): cover self-includes, deep chains and diamonds
...
The include guard's scope is now pinned from three sides: a file
including itself is a cycle diagnostic, a chain of two thousand distinct
headers completes with the deepest content spliced, and a header reached
again through a separate branch splices a second time and is refused as
a redefinition.
Assisted-by: GLM 5.3
2026-10-07 13:54:42 +02:00
petrbalvin
a829b8f321
fix(parser): read the segment-absolute rendering FS:0
...
The toolchain's disassembler prints the segment-prefixed disp32
absolute as FS:0, but the bare-name branch read the segment register
alone and dropped the offset, so MOVQ FS:0, DX silently encoded a
register move. The colon-offset form now lowers to the same
segment-absolute operand the 0(FS) spelling takes.
Assisted-by: GLM 5.3 Flash
2026-10-07 02:12:21 +02:00
petrbalvin
e02918c17b
fix(ci): keep the push suite inside the runner's memory and time budget
...
Test / test (push) Successful in 2m55s
Assisted-by: GLM 5.3 Flash
2026-10-02 17:20:31 +02:00
petrbalvin
ca887d3927
fix(parser): bound folding depth and macro expansion work
...
Assisted-by: GLM 5.3
2026-10-02 00:40:20 +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
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
f720381d43
feat(asm): the segment-absolute and crash-store forms GOROOT writes
...
Test / test (push) Failing after 2m28s
Assisted-by: GLM 5.3 Flash
2026-09-21 22:19:53 +02:00
petrbalvin
8cfd40aac8
feat(asm): the operand forms and defines GOROOT writes
...
Assisted-by: GLM 5.3 Flash
2026-09-21 21:17:34 +02:00
petrbalvin
e8b6ff5d7c
fix(parser): fold a signed parenthesised displacement expression
...
Test / test (push) Failing after 2m21s
Assisted-by: GLM 5.3 Flash
2026-09-21 00:45:33 +02:00
petrbalvin
a7744c24bd
fix(parser): substitute macro parameters behind element selectors
...
Assisted-by: GLM 5.3 Flash
2026-09-20 22:02:19 +02:00
petrbalvin
522e6f2ae8
feat(parser): bracket register ranges, index-only VSIB and bare trailing immediates
...
Assisted-by: GLM 5.3 Flash
2026-09-20 22:02:19 +02:00
petrbalvin
75e9fd771b
feat(parser): split plain statements on semicolons in the raw parse
...
Test / test (push) Failing after 2m30s
Assisted-by: GLM 5.3 Flash
2026-09-20 19:15:35 +02:00
petrbalvin
6556b85abf
feat(asm): symbol-valued DATA, division slash in symbols and plain semicolons
...
Assisted-by: GLM 5.3 Flash
2026-09-20 19:15:05 +02:00
petrbalvin
ad82aac663
feat(parser): macro expansion, conditionals and include splicing with -I
...
Assisted-by: GLM 5.3 Flash
2026-09-20 14:25:47 +02:00
petrbalvin
7aefe6a42d
fix(parser): parse ABI markers and keep TEXT decls usable on errors
...
Assisted-by: GLM 5.3
2026-09-19 23:48:47 +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
f37f183577
feat(riscv64): GOROOT instruction shapes, DATA order and offset expressions
...
Assisted-by: GLM 5.3 Flash
2026-09-19 19:58: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
f5fc22d390
fix(parser): reject malformed TEXT frames and parse signed frame sizes
2026-09-14 18:22:00 +02:00
petrbalvin
eacf33d0f7
fix: staticcheck and deadcode findings repo-wide, modernize counting loops
2026-08-29 15:25:15 +02:00
petrbalvin
9a34733615
style(parser): cutprefix, default case, comma and tokens rename
2026-08-29 15:14:49 +02:00
petrbalvin
31ee8e7941
feat(asm): add LoongArch encoder with ELF and GOOBJ emission
...
Assisted-by: DeepSeek V4 Pro
2026-08-13 11:24:44 +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
f41a86b660
feat(asm): add RISC-V ELF relocatable object emission and SB relocation
...
support
2026-08-03 08:51:00 +02:00
petrbalvin
0920edb092
feat(asm): emit GOOBJ objects that link directly with the Go toolchain
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-17 18:57:04 +02:00
petrbalvin
a82f575aee
feat(asm): byte-identical go-flac AVX2 assembly with scalar families and jump relaxation
...
Assisted-by: Qwen 3.8 Max Preview
2026-07-08 12:51:35 +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