{"by":"xodn348","descendants":116,"id":47381382,"kids":[47383386,47382219,47382747,47386312,47382246,47382765,47384290,47381772,47382790,47387378,47387950,47383450,47382348,47383946,47382272,47391988,47385021,47382656,47383111,47395234,47382635,47382365,47383261,47384366,47382806,47383189,47390269,47383383,47389946,47385261,47385832,47385048,47382930,47411429,47383080,47383509,47386617,47389831,47382899,47382832,47384017,47382451,47387017,47382498,47381630,47385153,47396177,47386266,47396146,47390005,47386152,47381993],"score":208,"text":"A few weeks ago I saw a post about someone converting an entire C++ codebase to Rust using AI in under two weeks.<p>That inspired me — if AI can rewrite a whole language stack that fast, I wanted to try building a programming language from scratch with AI assistance.<p>I&#x27;ve also been noticing growing global interest in Korean language and culture, and I wondered: what would a programming language look like if every keyword was in Hangul (the Korean writing system)?<p>Han is the result. It&#x27;s a statically-typed language written in Rust with a full compiler pipeline (lexer → parser → AST → interpreter + LLVM IR codegen).<p>It supports arrays, structs with impl blocks, closures, pattern matching, try&#x2F;catch, file I&#x2F;O, module imports, a REPL, and a basic LSP server.<p>This is a side project, not a &quot;you should use this instead of Python&quot; pitch. \nFeedback on language design, compiler architecture, or the Korean keyword choices is very welcome.<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;xodn348&#x2F;han\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;xodn348&#x2F;han</a>","time":1773523653,"title":"Show HN: Han – A Korean programming language written in Rust","type":"story","url":"https://github.com/xodn348/han"}