LISP (¸®½À) Ãʺ¸ÀÚ¸¦ À§ÇØ °£´ÜÈ÷ ¾Ë·Áµå¸®°Ú½À´Ï´Ù.
1. Áغñ¹° 1) Cµå¶óÀ̺꿡 MYLISP Æú´õ¸¦ ¸¸µå¼¼¿ä. 2) ÀÚ·á½Ç¿¡¼ ³ëÆ®Æеå++ ÇÁ·Î±×·¥À» ´Ù¿î¹Þ¾Æ ¼³Ä¡Çϼ¼¿ä.
2. Notepad++ ¸¦ ½ÇÇà
(DEFUN C:HELLO () (PRINC "\n HELLO EVERYONE") ;;¸í·Éâ¿¡ Ãâ·Â ) (DEFUN C:LOVE () (PRINC "\n I LOVE YOU !") )
À§6ÁÙÀ» C:/MYLISP ¿¡ TEST1.LSP ·Î ÀúÀåÇϼ¼¿ä.
3. ijµå¸í·Éâ¿¡¼ TEST1.LSP ·Îµå ¸í·É: (LOAD "C:/MYLISP/TEST1.LSP")
4. ¸í·É½ÇÇà ¸í·É: HELLO ¸í·É: LOVE
ÀÌ·¸°Ô Çغ¸¼¼¿ä.
Âü°í·Î ; (¼¼¹ÌÄÝ·Ð)ÀÌ ¾Õ¿¡ ºÙÀ¸¸é ±× µÚ´Â ½ÇÇàÇÏÁö ¸»¶ó´Â ÀǹÌÀÔ´Ï´Ù. Åë»ó ÁÖ¼®¹®À̶óÇÏ°í ÇÁ·Î±×·¡¸Ó ÀڽŸ¸ÀÇ ¼³¸í¹®À¸·Î ÁÖ·Î »ç¿ëÇÕ´Ï´Ù.
\n (¹®ÀÚÁ¦¾îÄÚµå) NEW LINEÀ» ÀǹÌÇÕ´Ï´Ù. ÁÙÀ» ¹Ù²Ù¾î¼ Ãâ·ÂÇضó ÀÌ·± ÀǹÌÀÔ´Ï´Ù.
|