Á¤º¸°úÇÐȸ³í¹®Áö (Journal of KIISE)
Current Result Document :
ÇѱÛÁ¦¸ñ(Korean Title) |
ÆÄÀ̽ãÀ» ÀÌ¿ëÇÑ ±¸Á¶Àû ½ÇÇà Àṉ̀¸Á¶ ±¸Çö |
¿µ¹®Á¦¸ñ(English Title) |
Implementing Structural Operational Semantics in Python |
ÀúÀÚ(Author) |
Áö¼öȯ
ÀÓÇö½Â
Suhwan Ji
Hyeonseung Im
|
¿ø¹®¼ö·Ïó(Citation) |
VOL 45 NO. 11 PP. 1176 ~ 1184 (2018. 11) |
Çѱ۳»¿ë (Korean Abstract) |
½ÇÇà Àṉ̀¸Á¶´Â ÇÁ·Î±×·¡¹Ö ¾ð¾îÀÇ Àṉ̀¸Á¶¸¦ Çü½ÄÀûÀ¸·Î ¾ö¹ÐÇÏ°Ô Á¤ÀÇÇÒ ¶§ °¡Àå ¸¹ÀÌ »ç¿ëÇÏ´Â ±â¹ýÀ¸·Î, ÇÁ·Î±×·¥ÀÌ ½ÇÇàµÇ´Â °úÁ¤ ¶Ç´Â Çؼ®µÇ´Â °úÁ¤À» ÇÁ·Î±×·¥ÀÇ Àǹ̷ΠÁ¤ÀÇÇÏ´Â ±â¹ýÀÌ´Ù. º» ³í¹®¿¡¼´Â ML ½ºÅ¸ÀÏÀÇ °£´ÜÇÑ ÇÔ¼öÇü ¾ð¾î¿¡ ´ëÇØ ÆÄÀ̽㿡¼ ¹æ¹®ÀÚ ÆÐÅÏ°ú ¿¹¿Ü 󸮸¦ ÀÌ¿ëÇÏ¿© ÀÛÀº º¸ÆøÀ¸·Î Á¤ÀÇµÈ ±¸Á¶Àû ½ÇÇà Àṉ̀¸Á¶¸¦ ±¸ÇöÇÏ´Â ±â¹ýÀ» ¼Ò°³ÇÑ´Ù. º» ³í¹®ÀÇ ÀÌÂ÷ÀûÀÎ ¸ñÀûÀº ÇнÀ ³À̵µ°¡ ³ô°í ºñ±³Àû ´ú ¾Ë·ÁÁø ML, Haskell, Scheme µî°ú °°Àº ÀüÅëÀûÀÎ ÇÔ¼öÇü ¾ð¾î ´ë½Å¿¡, dzºÎÇÑ ¶óÀ̺귯¸®¿Í À¯¿¬ÇÑ ÇÁ·Î±×·¡¹ÖÀ» Áö¿øÇÏ¿© »ç¿ëÀÚÃþÀÌ Æø³Ð°í µÎÅÍ¿î ÆÄÀ̽ãÀ» È°¿ëÇÏ¿© ÇÁ·Î±×·¡¹Ö ¾ð¾î ÀÌ·ÐÀÇ ÇÙ½É °³³ä°ú °ü·Ã ±¸Çö ±â¹ýÀ» ¼³¸íÇÏ´Â µ¥¿¡ ÀÖ´Ù.
|
¿µ¹®³»¿ë (English Abstract) |
Operational semantics is the most commonly used technique to formally define the semantics of a programming language. It defines the meaning of a program in terms of how it is executed or interpreted as a sequence of computational steps. This paper introduces an implementation technique for small-step structural operational semantics for a simple ML-style functional language using visitor patterns and exception handling in Python. The secondary objective of this paper is to explain the core concepts of programming language theory and the techniques for implementing these concepts using Python, instead of traditional functional languages such as ML, Haskell, and Scheme. Since Python has a wide abundant user base due to its rich library and flexibility, it is more suitable to explain operational semantics for common users than functional languages, which are relatively less known and have a high learning curve.
|
Å°¿öµå(Keyword) |
½ÇÇà Àṉ̀¸Á¶
ÀÛÀº º¸Æø Àṉ̀¸Á¶
¹æ¹®ÀÚ ÆÐÅÏ
¿¹¿Ü ó¸®
ÆÄÀ̽ã
operational semantics
small-step semantics
visitor pattern
exception handling
Python
|
ÆÄÀÏ÷ºÎ |
PDF ´Ù¿î·Îµå
|