๋ฐฐ์œจ

์—ฌ๊ธฐ์„œ๋Š” LibreOffice์˜ ๋ฐฐ์œจ์— ๋Œ€ํ•œ ์ž์„ธํ•œ ์„ค๋ช…๊ณผ ๋ช‡ ๊ฐ€์ง€ ์˜ˆ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.(ํ…์ŠคํŠธ์—์„œ ์‚ฌ์šฉ๋œ ๋”ฐ์˜ดํ‘œ๋Š” ๊ฐ•์กฐ๋ฅผ ์™ธํ•œ ๊ฒƒ์ผ ๋ฟ, ์˜ˆ์˜ ๊ตฌ์„ฑ ์š”์†Œ๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค.)

"fact stack{a#b}"์™€ "fact {a over b}"์—์„œ์™€ ๊ฐ™์ด ๊ณ„์Šน ๊ธฐํ˜ธ์˜ ๊ฒฝ์šฐ์—๋Š” ๋ฐฐ์œจ์ด ์กฐ์ •๋˜์ง€ ์•Š์œผ๋ฉฐ ์ธ์ˆ˜์˜ ์ค‘์•™์ด๋‚˜ ๊ธฐ์ค€์„ ์— ๋งž์ถฐ์ง‘๋‹ˆ๋‹ค.

๊ด„ํ˜ธ์˜ ํฌ๊ธฐ๋„ ๊ธฐ๋ณธ์ ์œผ๋กœ ๊ณ ์ •๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ํฌ๊ธฐ๋Š” ๊ด„ํ˜ธ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ชจ๋“  ๊ธฐํ˜ธ์— ์ ์šฉ๋ฉ๋‹ˆ๋‹ค. "(((a)))", "( stack{a#b#c})", "(a over b)" ์ฐธ์กฐ.

"left" ๋ฐ "right"๋กœ ์‹œ์ž‘ํ•˜๋Š” ๊ด„ํ˜ธ๋Š” ํ•ญ์ƒ ์ธ์ˆ˜์— ๋งž์ถฐ์ง‘๋‹ˆ๋‹ค. "left(left(left(a right)right)right)", "left(stack{a#b#c}right)", "left(a over b right)" ์ฐธ์กฐ.

๋ช‡ ๊ฐ€์ง€ ์†์„ฑ์˜ ํฌ๊ธฐ๊ฐ€ ๊ณ ์ •๋˜์–ด ์žˆ์–ด ๊ธด ๊ธฐํ˜ธ ์œ„์—์„œ๋„ ๋ณ€ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

๊ฒฝ๊ณ  ์•„์ด์ฝ˜

์ด ์˜ˆ์—์„œ ๋ณด์ด๋Š” ๊ณต๋ฐฑ์€ ์˜ฌ๋ฐ”๋ฅธ ๊ตฌ์„ฑ์„ ์œ„ํ•ด ๋ฐ˜๋“œ์‹œ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ๋ช…๋ น์ฐฝ์— ์ž…๋ ฅํ•  ๋•Œ ์ด ๊ณต๋ฐฑ์„ ๋น ๋œจ๋ ค์„œ๋Š” ์•ˆ๋ฉ๋‹ˆ๋‹ค.


Please support us!