ChoiKangRok Esolang Interpreter (CKR-Lang)
프로젝트 소개
CKR-Lang은 '최강록' 셰프의 독특한 화법과 조리법을 프로그래밍 언어로 재해석한 난해한 프로그래밍 언어(Esolang) 인터프리터입니다.
엄격한 명세 준수, 모듈화된 아키텍처, 그리고 강력한 디버깅 기능을 제공하며, 이제 pip를 통해 간편하게 설치할 수 있습니다.
설치 방법 (Installation)
Python 3.8 이상 환경에서 다음 명령어로 패키지를 설치하십시오.
pip install ckr-lang
사용법 (Usage)
설치가 완료되면 터미널 어디서든 ckr 명령어를 사용할 수 있습니다.
1. 코드 실행
ckr hello_world.ckr
2. 대화형 모드 (REPL)
파일 인자 없이 실행하면 한 줄씩 코드를 입력하고 실행 결과를 확인할 수 있습니다.
ckr
3. 디버그 모드
실행 과정을 상세히 추적(Trace)하고 싶다면 -d 옵션을 사용하세요.
ckr hello_world.ckr -d
4. 자체 테스트
인터프리터의 정상 동작 여부를 검증하려면 다음 명령어를 실행하세요.
ckr --test
조리법 (Syntax)
이 언어는 셰프의 주방을 시뮬레이션합니다. 모든 데이터는 '재료'이며, 조리 과정을 통해 맛(값)이 변합니다.
-
개점/폐점 (Program Scope)
- 시작:
흑백요리사2 히든백수저 최강록 - 끝:
백수저 최강록 우승
- 시작:
-
재료 손질 (Ingredients)
- 선언:
나야 <재료명>(재료를 0으로 초기화) - 추천 재료: 장어, 두부, 대파, 꽃게, 새우, 전복, 아귀 등
- 선언:
-
조리 (Cooking Operations)
조려(ADD): 더하기조린다(SUB): 빼기조리고(MUL): 곱하기앙(INVERSE): 부호 반전
-
플레이팅 (Plating)
을(Print): 현재 재료의 맛(Value)을 문자로 변환하여 접시에 냅니다 (ASCII Output).
-
주방 동선 (Control Flow)
연쇄조림마<점>(Label): 이동할 지점을 점(.)으로 표시합니다. (예:연쇄조림마.,연쇄조림마..)조림핑<점>(GOTO): 해당 지점으로 이동합니다. 점을 붙여서 바로 이동할 수 있습니다. (예:조림핑.,조림핑..,조림핑...)- 조건부 이동:
조림인간(IF ==): 재료들의 맛이 동일하면 이동합니다.욕망의조림인간(IF >): 첫 번째 재료의 맛이 나머지보다 강하면 이동합니다.
예제 코드 (Examples)
examples/hello_world.ckr: 기본적인 Hello World 출력examples/hello_fun_world.ckr: 좀더 난해하게 작성된 Hello Worldexamples/gugu_dan.ckr: 2단부터 9단까지 구구단을 출력하는 프로그램
Metadata
Release files for ckr-lang 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ckr_lang-0.1.7.tar.gz | 12.8 kB | Without provenance | Details for ckr_lang-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ckr_lang-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for ckr_lang-0.1.7-py3-none-any.whl |
Total release size: 23.0 kB
Release files / ckr_lang-0.1.7.tar.gz
| Download URL | ckr_lang-0.1.7.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40c59eaf3788f41ccdd602d9db755deddce39ec935bdbb6d8b3db8c93112c119
|
|
BLAKE2b-256 checksum How to use checksums |
c2cb9d2380ab881b4e25ee457885783dfeb0bb860114da4304680d6ec5aa798a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / ckr_lang-0.1.7-py3-none-any.whl
| Download URL | ckr_lang-0.1.7-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c02c1bde72e7cfe43d6293091c6c2ea0a058a2d27bddf701e9ae3e875c1475ce
|
|
BLAKE2b-256 checksum How to use checksums |
091f6da69e400f01cb1cb40bee58a975604735c44e61fc61e19ad47a539afbcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for ckr-lang 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.