Repository navigation
Han v0.1.1 — Language Upgrade
What's New
Compiler (codegen)
- Range/ForIn/TryCatch — real LLVM IR generation
- Lambda — function pointer indirect call
- Method calls —
.길이()for strings and arrays - Enum/pattern matching — tag comparison IR
- Import — compile imported modules into binary
- Korean→ASCII identifier sanitization
Type Checker
- Function argument count/type validation (warning mode)
- Struct field and array element type checking
Keywords
맞춰→맞춤(match)실패→처리(catch)가져오기→포함(import)
Playground
- WASM web playground: https://xodn348.github.io/han/playground/
- CodeMirror syntax highlighting
- Examples: Golden, 한국 나이, BMI, 유클리드, 이진탐색, 퀀텀
VS Code Extension
Install: code --install-extension han-language-0.1.0.vsix
Tests
46 → 62 tests