A SIMPLE UNIVERSAL PARSER BASED ON FUNCTIONAL PROGRAMMING
Программирование / Programming and Computer Software · 2025 · (6) · 3
DOI: 10.7868/s3034584725060015 ↗Kurz gefasst
Fachartikel in der Zeitschrift Программирование / Programming and Computer Software, 2025. Verfasst von M. M. Krasnov.
Abstract (Originalsprache)
This paper describes the structure of a simple universal parser based on the use of functional programming. The described parser is very simple, small in size and can be easily implemented in almost any functional or object oriented programming language. The initial version of the parser was written in Haskell and then easily ported to C++ and Java. The parser was used to implement a calculator with support for five arithmetic operations (taking into account their precedence), brackets, numeric constants (like π and e) and calls to standard functions (trigonometric, exponent, logarithm and some others).
Zitieren
APA
Krasnov, M. M. (2025). A SIMPLE UNIVERSAL PARSER BASED ON FUNCTIONAL PROGRAMMING. Программирование / Programming and Computer Software, 3. https://doi.org/10.7868/s3034584725060015
Vancouver
Krasnov MM. A SIMPLE UNIVERSAL PARSER BASED ON FUNCTIONAL PROGRAMMING. Программирование / Programming and Computer Software. 2025:3. doi:10.7868/s3034584725060015
BibTeX
@article{Krasnov2025,
author = {Krasnov, M. M.},
title = {A SIMPLE UNIVERSAL PARSER BASED ON FUNCTIONAL PROGRAMMING},
journal = {Программирование / Programming and Computer Software},
year = {2025},
number = {6},
pages = {3},
doi = {10.7868/s3034584725060015}
}
EUVIMED