# Han (한) Programming Language

> A compiled programming language with Korean (Hangul) keywords, written in Rust

Han is a statically-typed language where every keyword is in Korean. It compiles to native binaries via LLVM IR and includes a tree-walking interpreter.

## Docs

- [Full Documentation](https://xodn348.github.io/han/)
- [Complete API Reference](https://xodn348.github.io/han/api/complete.html)
- [Keyword Reference](https://xodn348.github.io/han/api/keywords.html)
- [GitHub Repository](https://github.com/xodn348/han)

## Quick Reference

File extension: .hgl
Run: hgl interpret file.hgl
Compile: hgl build file.hgl
REPL: hgl repl

Keywords: 함수(fn) 반환(return) 변수(let) 상수(const) 만약(if) 아니면(else) 반복(for) 동안(while) 멈춰(break) 계속(continue) 구조(struct) 구현(impl) 열거(enum) 시도(try) 실패(catch) 맞춰(match) 가져오기(import) 안에서(in)

Types: 정수(i64) 실수(f64) 문자열(string) 불(bool) 없음(void)

Builtins: 출력(print) 입력(input) 제곱근(sqrt) 절댓값(abs) 거듭제곱(pow) 정수변환(int) 실수변환(float) 길이(len) 형식(format) 파일읽기(read_file) 파일쓰기(write_file) 파일추가(append_file) 파일존재(file_exists) 사전(dict) 제이슨_파싱(json_parse) 제이슨_생성(json_stringify) HTTP_가져오기(http_get) HTTP_보내기(http_post) 정규식_찾기(regex_find) 정규식_일치(regex_match) 정규식_바꾸기(regex_replace) 현재시간(now) 현재날짜(today) 타임스탬프(timestamp) 실행(exec) 환경변수(env) 명령인자(args) 잠자기(sleep) 타입(typeof)
