{"id":15207388,"url":"https://github.com/devcat-studio/kailua","last_synced_at":"2025-10-03T01:30:45.877Z","repository":{"id":20271019,"uuid":"47252134","full_name":"devcat-studio/kailua","owner":"devcat-studio","description":"🌴 Type Checker and IDE Support for Lua","archived":true,"fork":false,"pushed_at":"2022-06-07T00:35:06.000Z","size":2327,"stargazers_count":167,"open_issues_count":11,"forks_count":5,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-01-15T23:16:31.355Z","etag":null,"topics":["kailua","lua","type-checker","vscode-extension"],"latest_commit_sha":null,"homepage":"https://devcat-studio.github.io/kailua/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devcat-studio.png","metadata":{"files":{"readme":"README.ko.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-02T09:52:37.000Z","updated_at":"2024-05-19T22:28:54.000Z","dependencies_parsed_at":"2022-09-12T15:30:37.996Z","dependency_job_id":null,"html_url":"https://github.com/devcat-studio/kailua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcat-studio%2Fkailua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcat-studio%2Fkailua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcat-studio%2Fkailua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcat-studio%2Fkailua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devcat-studio","download_url":"https://codeload.github.com/devcat-studio/kailua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235059234,"owners_count":18929279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kailua","lua","type-checker","vscode-extension"],"created_at":"2024-09-28T06:42:32.241Z","updated_at":"2025-10-03T01:30:45.479Z","avatar_url":"https://github.com/devcat-studio.png","language":"Rust","readme":"# 🌴 [카일루아][docs] [![(crates.io)][cratesio-image]][cratesio]\n\n[docs]: https://devcat-studio.github.io/kailua/ko-KR/\n[cratesio-image]: https://img.shields.io/crates/v/kailua.svg\n[cratesio]: https://crates.io/crates/kailua\n\n[English](README.md)\n\n**카일루아**는 [루아][Lua] 프로그래밍 언어를 위한 실험적 타입 검사기 및 통합 개발 환경(IDE)입니다. (현재는 루아 5.1만 지원됩니다.)\n\n**자세한 문서는 [여기][docs]에서 볼 수 있습니다.**\n\n## 설치와 사용\n\n카일루아는 독립 검사기로도 쓸 수 있고 IDE 플러그인으로도 쓸 수 있습니다.\n\n### 독립 검사기\n\n독립 검사기를 설치하려면 먼저 [러스트를 설치][install Rust]한 뒤(1.15 이상이 필요합니다), 다음을 입력합니다.\n\n```\ncargo install -f kailua\n```\n\n(`-f`는 이미 설치된 검사기도 함께 업그레이드 해 줍니다.)\n\n`kailua check \u003c검사를 시작할 파일 경로\u003e`로 실행할 수 있습니다.\n\n![](doc/ko-KR/src/res/kailua-check.png)\n\n또한 `kailua.json`이나 `.vscode/kailua.json`이 해당 디렉토리에 있다면 `kailua check \u003c검사할 디렉토리 경로\u003e`로 실행할 수도 있습니다. 설정 파일의 포맷은 이 문서의 뒷부분을 참고하세요.\n\n### Visual Studio Code\n\n카일루아는 [Visual Studio Code][VSCode]에서 IDE로 사용할 수 있습니다. 빠른 실행(`Ctrl-P`)에서 `ext install kailua`를 입력해서 설치합니다. **윈도 이외의 환경에서는 앞에서 설명된 대로 독립 검사기를 먼저 설치해야 합니다.**\n\n루아 코드를 포함하는 폴더를 열면 설정 파일을 찾을 수 없다는 오류가 나옵니다. 이 설정 파일은 실시간으로 검사를 수행하는 데 필요합니다.\n\n![](doc/ko-KR/src/res/kailua-vsc-missing-config.png)\n\n`.vscode/kailua.json`을 직접 만들어도 되고, 명령 팔레트(`Ctrl-Shift-P`)에서 \"Kailua\"로 찾아 설정 파일을 수정할 수도 있습니다.\n\n![](doc/ko-KR/src/res/kailua-vsc-edit-config.png)\n\n수동으로 편집할 경우 `.vscode/kailua.json`에 다음 내용이 필요합니다.\n\n\u003c!-- what Kailua really supports is not exactly JSON5, but probably it's closer than JSON. --\u003e\n\n```json5\n{\n    \"start_path\": \"\u003c검사를 시작할 파일 경로\u003e\",\n\n    \"preload\": {\n        // 아래는 우리가 루아 5.1와 모든 기본 라이브러리를 사용함을 나타냅니다.\n        \"open\": [\"lua51\"],\n    },\n}\n```\n\n설정 파일을 적용하려면 `Ctrl-R`로 현재 창을 새로 로드해야 합니다.\n\n### 첫 카일루아 코드\n\n시작점을 지정했으면 첫 카일루아 코드를 작성해 보죠.\n\n```lua\n--# open lua51\nprint('Hello, world!')\n```\n\n설정 파일을 사용하고 있다면 좀 더 간단한 코드도 가능합니다.\n\n```lua\nprint('Hello, world!')\n```\n\n이 코드를 잠시 가지고 건드려 보면서 카일루아가 어떤 오류를 잡아 낼 수 있는지 확인해 보세요.\n\n## 라이선스\n\n카일루아는 [MIT 라이선스][license-mit]와 [아파치 라이선스 2.0][license-apl]으로 라이선스되어 있으며 둘 중 하나를 선택할 수 있습니다. 카일루아에 기여하면 기여된 내용이 이 두 라이선스로 라이선스된다는 데 동의하게 됩니다.\n\n\u003c!-- --\u003e\n\n[Lua]: https://www.lua.org/\n[Rust]: https://www.rust-lang.org/\n[install Rust]: https://www.rust-lang.org/install.html\n[VSCode]: https://code.visualstudio.com/\n[internals-doc]: ./INTERNALS.md\n[license-mit]: ./LICENSE-MIT\n[license-apl]: ./LICENSE-APACHE\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevcat-studio%2Fkailua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevcat-studio%2Fkailua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevcat-studio%2Fkailua/lists"}