Implementation Roadmap

Cell Coding
Implementation Roadmap · 구현 로드맵

From language spec to platform — phased practical guide · Cell Coding v0.1
언어 스펙에서 플랫폼까지 — 단계별 실전 구현 가이드 · Cell Coding v0.1

Phase 1 · Language core · 언어 핵심 · 3–6mo Phase 2 · Runtime · 런타임 · 4–6mo Phase 3 · Dev tools · 개발도구 · 4–6mo Phase 4 · Platform · 플랫폼 · 6mo+

Phase 01
3 – 6 개월
Language Core · 언어 핵심 구현
Lexer · Parser · AST · Transpiler
🔤
Lexer
  • 24개 키워드 토큰화
  • cell / signal / membrane
  • on / emit / absorb
  • organism / organ / tissue
  • genome / nervous / immune
🌳
Parser + AST
  • CellNode 구조 정의
  • MembraneNode 파싱
  • SignalNode 파싱
  • HandlerNode (on 블록)
  • OrganismNode 계층
Type Checker + Transpiler
  • 막 계약 신호 타입 검증
  • role 필수 필드 체크
  • 직접 참조 금지 규칙
  • .cell → TypeScript 출력
  • .cell → Python 출력
Checkpoint · 체크포인트 cell Validator { role: "...", membrane { accepts: X, emits: Y }, on(X input) { emit Y } } 를 파싱해 TypeScript 클래스로 출력할 수 있으면 완료
Phase 02
4 – 6 개월
Runtime & Signal Bus · 런타임 & 신호 버스
Cell Runtime · Signal Bus · Immune System
🔄
Cell Runtime
  • 생존 주기 상태 머신
  • genesis → dormant
  • active → apoptosis
  • 격리 샌드박스
  • 세포 레지스트리 (로컬)
📡
Signal Bus
  • emit / absorb 구현
  • broadcast 라우팅
  • 우선순위 큐 (critical→low)
  • 인메모리 → Redis 어댑터
  • 신호 불변성 보장
🛡️
Immune System
  • 오류 세포 격리
  • retry / exponential backoff
  • circuit breaker 패턴
  • dead letter 보관소
  • escalation 정책
Checkpoint · 체크포인트 세포 A의 emit 신호를 세포 B, C 가 동시에 받아 각자 처리하고, 세포 D 가 오류를 격리하는 예제가 실행되면 완료. Phase 2 complete: runtime + signal bus (priority queue, Redis adapter) + immune (retry, circuit breaker, dead letter, escalate) + nervous (organ scope, when, transform) + Cell Lab E2E (sponge, spider, pet, motion-alarm) + cell CLI + bridge-python MotionDetected→AlarmPulse.
Phase 03
4 – 6 개월
Developer Tools · 개발자 도구
CLI · Cell Viewer · Cell Lab
⌨️
CLI Tool
  • cell init (프로젝트 생성)
  • cell build (트랜스파일)
  • cell run (실행)
  • cell inspect (세포 분석)
  • cell test (Cell Lab 실행)
🔬
Cell Viewer
  • VS Code 확장 플러그인
  • 실시간 신호 흐름 시각화
  • 세포 생존 상태 모니터
  • 막 계약 위반 경고
  • organism 계층 뷰
🧪
Cell Lab
  • 세포 격리 테스트 러너
  • 신호 주입 시뮬레이터
  • emit 결과 단언(assert)
  • 세포 TDD 지원
  • 신호 커버리지 리포트
Checkpoint · 체크포인트 cell test FilterTissue + VS Code Viewer(organism 계층·막 계약 경고·live run)가 동작하면 완료. Phase 3 complete: CLI 전체 + Cell Viewer + Cell Lab + inspect 연동.
Phase 04
6 개월 ~
Platform & Ecosystem · 플랫폼 & 생태계
Registry · Cloud Runtime · OSS Community
📦
Cell Registry
  • 세포 공개 허브 (npm 유사)
  • cell install auth-tissue
  • 버전 관리 & 의존성
  • 막 호환성 자동 검사
  • genome 라이브러리 마켓
☁️
Cloud Runtime
  • organ → Kubernetes Pod
  • cell divide 자동 스케일
  • 신호 버스 (Redis Streams)
  • OpenTelemetry 연동
  • 서비스 메시 통합
🌐
OSS & Community
  • 언어 스펙 오픈소스화
  • RFC 거버넌스 프로세스
  • 컨트리뷰터 가이드
  • 다중 언어 트랜스파일러
  • 공식 문서 사이트
Checkpoint · 체크포인트 cell install → Docker + POST /v1/signals + 분산 nervous (cell:nervous:Organ Streams). divide → HPA, ioredis, semver (--range ^0.1.0).
Start now · 지금 바로 시작할 수 있는 것

A minimal Phase 1 transpiler is already implemented in TypeScript.
Phase 1의 최소 트랜스파일러가 이미 TypeScript로 구현되어 있습니다.
Run cell-coding-transpiler.ts to parse your first cell.
cell-coding-transpiler.ts 를 실행해 첫 번째 세포를 파싱해보세요.

$ npx ts-node cell-coding-transpiler.ts
$ cell build ./src/validator.cell
$ cell test ./src/validator.cell