This repository has been archived on 2026-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
el-retired/el-compiler
Will Anderson f9b1d44d38 fix(codegen): add c_safe_name and fix http_serve handler cast
- c_safe_name(): mangle all C reserved keywords (short, int, long, etc.)
  to <keyword>_el so El variable names never collide with C syntax
- Apply c_safe_name in Ident expression codegen and let-binding emission
- http_serve special case: cast handler via (el_val_t)(uintptr_t) so
  function pointers are stored correctly as el_val_t integers
- Handle both 1-arg (auto-inject handle_request) and 2-arg explicit form
2026-05-04 18:40:42 -05:00
..