Commit 4f46fd02

4f46fd0210a0Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 7 months ago · 2 files · ~2 modified

Description

feat: spinel compiles to native binary by default

Usage: spinel app.rb → compile to ./app (binary) spinel app.rb -o myapp → compile to ./myapp spinel app.rb -c → generate C source only spinel app.rb -S → print C to stdout

Automatically uses compiled codegen binary (spinel_codegen) if available for ~30% faster compilation. Falls back to CRuby.

Options: -O level, --cc=cmd, --lonig (regexp), -c, -S, -o

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

Details

Commit
4f46fd0210a0
Parent
6ec3e3852845

.gitignoremodifiedView file

@@ -11,3 +11,4 @@
1111
1212 # Temp files
1313 /tmp/
14+/spinel_codegen