Parens

두 번째 언어 Common Lisp로 2D·3D·물리 시뮬레이션을 직접 만들어 봅니다. 레슨과 자동 채점 문제로 언어를 익히고, 실행 중에 함수를 고치면 다음 프레임부터 바뀝니다. 다른 언어를 아는 개발자를 위해 만들었습니다. Learn Common Lisp as your second language and build 2D, 3D, and physics simulations with it. Lessons and auto-graded problems teach the language, and redefining a function while it runs changes the next frame. Made for developers who already know another language.

App Store에서 받기Get it on the App Store

iPhone · iPad · Mac · Apple Vision Pro · 1~3단원 무료iPhone · iPad · Mac · Apple Vision Pro · Units 1–3 free

> (defun twice (f x) (funcall f (funcall f x)))
TWICE
> (twice (lambda (n) (* n 3)) 7)
63
> (mapcar #'evenp '(1 2 3 4))
(NIL T NIL T)

앱 안의 Lisp 엔진이 기기에서 바로 실행합니다. 인터넷이 없어도 됩니다. The Lisp engine inside the app runs it right on the device, no internet needed.

이렇게 배웁니다How you learn

카드마다 실행되는 예제Runnable examples on every card

레슨은 짧은 카드로 나뉘고, 카드마다 있는 예제를 그 자리에서 실행하고 고쳐 볼 수 있습니다.

Lessons are split into short cards, and every card has examples you can run and edit in place.

아는 언어와 나란히Side by side with a language you know

같은 개념을 Python · JavaScript · Swift로 쓴 비교 코드를 함께 보여 줍니다.

See the same idea written in Python, JavaScript, or Swift next to the Lisp.

자동 채점 문제Auto-graded problems

숨긴 테스트 케이스로 채점하고, 틀리면 입력·기대값·실제값을 보여 줍니다. 3단계 힌트와, 통과한 뒤 다른 풀이도 있습니다.

Solutions are graded against hidden test cases; when one fails you see the input, the expected value, and what you got. Three-step hints, and other solutions once you pass.

진짜 Lisp답게 다루는 REPLA REPL that feels like Lisp

오류가 나면 재시작(restart)을 골라 이어 갈 수 있고, 괄호 단위로 옮기고 감싸는 구조 편집과 자동완성을 지원합니다.

When an error happens you can pick a restart and carry on, with structural editing that moves and wraps by parentheses, plus completion.

단원 지도Unit map

단원을 마치면 다음 단원이 열립니다.

Finishing a unit opens the next one.

이미 안다면 배치 테스트Already know some? Take the placement test

10문항으로 1·2단원 내용을 아는지 확인해, 아는 단원은 건너뜁니다.

Ten questions check whether you know units 1 and 2, and skip the ones you do.

시뮬레이션 랩Simulation Lab

Lisp 코드가 돌려준 장면 데이터를 앱이 그립니다. 갤러리의 모든 예제는 무료로 실행하고(파티클·생명 게임·프랙탈 트리·거북 나선은 코드도 보입니다), 트랙 D가 있으면 모든 예제의 코드를 보고 고치고 새 시뮬레이션을 직접 써서 저장하며, 실행 화면을 사진이나 짧은 영상으로 남겨 공유합니다. 거북 그래픽, 3D 장면과 3D 물리도 씁니다. Apple Vision Pro에서는 3D 장면을 방 안에 띄우고 손으로 눌러 움직입니다.

The app draws the scene data your Lisp code returns. Run every example in the gallery for free (the particles, Game of Life, fractal tree, and turtle spiral examples show their code too); with Track D, read and edit every example, write and save your own simulations, and keep a run as a picture or a short video to share. Turtle graphics, 3D scenes, and 3D physics work too. On Apple Vision Pro, place 3D scenes in your room and press them with your hand.

무엇을 배우나요What's inside

구성Part단원Units
무료Free 1 시작하기 · 2 리스트와 데이터 · 3 함수와 제어 흐름1 Getting Started · 2 Lists and Data · 3 Functions and Control Flow
트랙 A: 함수와 데이터Track A: Functions and Data 4 고차 함수와 클로저 · 5 자료구조와 출력 · 6 반복4 Higher-Order Functions and Closures · 5 Data Structures and Output · 6 Iteration
트랙 B: 매크로·객체·컨디션Track B: Macros, Objects, Conditions 7 매크로 · 8 CLOS · 9 컨디션7 Macros · 8 CLOS · 9 Conditions
트랙 C: 패키지와 작은 Lisp 만들기Track C: Packages and Building a Small Lisp 10 패키지 · 11 캡스톤: 작은 Lisp 만들기10 Packages · 11 Capstone: Building a Small Lisp
트랙 D: 그래픽과 시뮬레이션Track D: Graphics and Simulation 12 그래픽과 시뮬레이션 · 13 캡스톤: 작은 게임 만들기 (시뮬레이션 랩 전체 포함)12 Graphics and Simulation · 13 Capstone: Building a Small Game (includes the full Simulation Lab)

모두 13단원, 레슨 145개, 문제 388개. 트랙은 구독이 아니라 한 번 사면 계속 쓰며, 순서와 상관없이 살 수 있습니다. 가격은 App Store에 표시됩니다. 13 units, 145 lessons, and 388 problems in all. Tracks are one-time purchases, not subscriptions, and can be bought in any order. Prices are shown in the App Store.