Darwin :: Lisp-like programming language
๐ŸŸ

Darwin :: Lisp-like programming language

Created
Nov 11, 2019 05:31 PM
Tags
; recurrence form

(recursive
  (i (
    (i print)
    (
      ((i 0 gt) (i-1 recursive))
      ((i 0 eq) 0)
    cond)
  ) lambda)
set)

(10 recursive) ; 10 9 8 7 6 5 4 3 2 1
ย 
ย 
S-Expression ์–ธ์–ด ๊ตฌ์กฐ ๊ธฐ๋ฐ˜์˜ Lisp ์–ธ์–ด๋ฅผ ํ•œ๊ตญ์–ด ์–ด์ˆœ๊ณผ ์œ ์‚ฌํ•˜๋‹ค ํŒ๋‹จ๋˜๋Š”
Postfix ์–ธ์–ด ๊ตฌ์กฐ๋ฅผ ๊ฐ–๋Š” Lisp-like ์–ธ์–ด Darwin ์˜ ์ธํ„ฐํ”„๋ฆฌํ„ฐ๋ฅผ ๊ตฌํ˜„ํ•ด๋ณด์•˜๋‹ค.
ย 
notion image
ย 
ย 
Web REPL๋„ ๊ตฌํ˜„ํ•ด๋ณด์•˜๊ณ , ๊ณผ์ œ ํ…€ ํ”„๋กœ์ ํŠธ์ผ ๋ฟ์ด์ง€๋งŒ ์—ฌ๋Ÿฌ๋ชจ๋กœ ์˜๋ฏธ๊ฐ€ ์žˆ์—ˆ๋˜ ๊ณผ์ œ๋ผ ์ƒ๊ฐ.
ย 

Loading Comments...