Skip to content

Feat/wasm syntax checker#48

Open
ugurcancaykara wants to merge 2 commits intoTinyCC:mobfrom
ugurcancaykara:feat/wasm-syntax-checker
Open

Feat/wasm syntax checker#48
ugurcancaykara wants to merge 2 commits intoTinyCC:mobfrom
ugurcancaykara:feat/wasm-syntax-checker

Conversation

@ugurcancaykara
Copy link

No description provided.

Modify TCC core to support WASM syntax checking use case:
- Arena-based memory allocator for predictable WASM memory usage
- Structured error reporting via TCCErrorInfo instead of string
- JSON type information export via BufWriter API
- BPF helper call detection and debug macro tracking
- Syntax-only compilation mode (-fsyntax-only)
- __builtin_classify_type support
- __int128/__uint128_t token support (mapped to VT_QLONG)
- Enhanced error messages for missing macro/function arguments
- Update test files for new tcc_new() and TCCErrorFunc signatures
Add WASM-based syntax checking infrastructure for browser-side
C code validation. Includes Emscripten build script, syntax check
API, stub functions, and test files for static assertions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant