@article{ART002934476},
author={Sugwoo Byun},
title={Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter},
journal={Journal of The Korea Society of Computer and Information},
issn={1598-849X},
year={2023},
volume={28},
number={2},
pages={111-119},
doi={10.9708/jksci.2023.28.02.111}
TY - JOUR
AU - Sugwoo Byun
TI - Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter
JO - Journal of The Korea Society of Computer and Information
PY - 2023
VL - 28
IS - 2
PB - The Korean Society Of Computer And Information
SP - 111
EP - 119
SN - 1598-849X
AB - In this paper, we investigate the feasibility of functional programming in the Scala language. The main issue is to what extent Scala is able to handle major properties of functional programming such as lambda expression, high-order functions, generic types, algebraic data types, and monads. For this purpose, we implement an interpreter of an imperative language. In this implementation, the same functional programming techniques are applied to both Haskell and Scala languages, and then these two versions of implementations are compared and analyzed. The abstract syntax tree of an imperative language is expressed as algebraic data types with generics and enum classes in Scala, and the state transition of imperative languages is implemented by using state monad. Extension and given, new features of Scala, are used as well.
KW - Scala 3;Haskell;State Monad;Interpreter;Algebraic Data Type
DO - 10.9708/jksci.2023.28.02.111
ER -
Sugwoo Byun. (2023). Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter. Journal of The Korea Society of Computer and Information, 28(2), 111-119.
Sugwoo Byun. 2023, "Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter", Journal of The Korea Society of Computer and Information, vol.28, no.2 pp.111-119. Available from: doi:10.9708/jksci.2023.28.02.111
Sugwoo Byun "Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter" Journal of The Korea Society of Computer and Information 28.2 pp.111-119 (2023) : 111.
Sugwoo Byun. Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter. 2023; 28(2), 111-119. Available from: doi:10.9708/jksci.2023.28.02.111
Sugwoo Byun. "Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter" Journal of The Korea Society of Computer and Information 28, no.2 (2023) : 111-119.doi: 10.9708/jksci.2023.28.02.111
Sugwoo Byun. Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter. Journal of The Korea Society of Computer and Information, 28(2), 111-119. doi: 10.9708/jksci.2023.28.02.111
Sugwoo Byun. Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter. Journal of The Korea Society of Computer and Information. 2023; 28(2) 111-119. doi: 10.9708/jksci.2023.28.02.111
Sugwoo Byun. Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter. 2023; 28(2), 111-119. Available from: doi:10.9708/jksci.2023.28.02.111
Sugwoo Byun. "Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter" Journal of The Korea Society of Computer and Information 28, no.2 (2023) : 111-119.doi: 10.9708/jksci.2023.28.02.111