Commit 125ca9be

125ca9bed5b6Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 3 files · ~2 modified · -1 deleted

Description

chore: drop spinel_parse.rb in favor of C-only parse

spinel_parse.rb was a Ruby fallback used by the spinel shell script when the compiled spinel_parse binary was missing. Parse is not part of the self-hosting target (only codegen is), so maintaining a second copy of the prism-driven AST serializer is duplication for no benefit.

  • Delete spinel_parse.rb (749 lines).
  • spinel script: drop the ruby fallback. PARSE_BIN must exist; otherwise exit with a clear message asking to run make parse.
  • Makefile: stop installing spinel_parse.rb.

Bootstrap fixed-point clean; 117 tests + 56 benchmarks pass.

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

Details

Commit
125ca9bed5b6
Parent
9fe34be8ee2f

MakefilemodifiedView file

@@ -219,7 +219,6 @@
219219 install -m 755 spinel $(SPNLDIR)/
220220 install -m 755 spinel_parse$(EXE) $(SPNLDIR)/
221221 install -m 755 spinel_codegen$(EXE) $(SPNLDIR)/
222- install -m 644 spinel_parse.rb $(SPNLDIR)/
223222 install -m 644 spinel_codegen.rb $(SPNLDIR)/
224223 install -m 644 lib/libspinel_rt.a $(SPNLDIR)/lib/
225224 install -m 644 lib/sp_runtime.h $(SPNLDIR)/lib/