Наукова електронна бібліотека
періодичних видань НАН України

Вбудування сімейства логічних мов із можливостями перепрограмування монадичної уніфікації в SCALA

Репозиторій DSpace/Manakin

Показати простий запис статті

dc.contributor.author Шевченко, Р.С.
dc.date.accessioned 2025-01-17T22:07:56Z
dc.date.available 2025-01-17T22:07:56Z
dc.date.issued 2025-01-18
dc.identifier.uri http://dspace.nbuv.gov.ua/handle/123456789/201452
dc.description.abstract У статті запропонована структура для вбудовування методів логічного програмування та програмування в обмеженнях у мову Scala шляхом побудови логічної предметно-орієнтованої мови навколо уніфікації типізованої логіки на основі монад. Відмінності в можливостях логічних механізмів можна виразити як підкласи монади уніфікації. Такий спосіб дає змогу генерувати одну реалізацію налаштовуваної уніфікації для вбудовування різних логічних систем у Scala та використовувати вбудовані сторонні проблемно-орієнтовані мови у логічних виразах. Монадичний прикладний програмний інтерфейс надає розробнику програми простий та інтуїтивно зрозумілий інструмент для реалізації власної логіки всередині уніфікації. uk_UA
dc.description.abstract The paper proposes a framework for embedding logic programming and constraint programming methods in Scala by building a logical object-oriented language around the unification of typed logic based on monads. Two types of API are considered — high-level for language embeddings and low-level for organization of the bidirectional flow of data during the execution of logic programs. Differences in the capabilities of logical mechanisms can be expressed as subclasses of the class of unification monad types. This design makes it possible to share the implementation of custom unification between different frameworks and to use other languages’ embeddings in Scala from the declarative side. The monadic API provides the application developer with a simple and intuitive tool to implement custom logic within the unification. Our frameworks provide a clear representation of logical deduction: Scala code is only used for ad hoc unification. But the overall goal execution is an external interpretation that can implement different strategies. This design provides modularity and good integration with the rest of the ecosystem. uk_UA
dc.language.iso uk uk_UA
dc.subject Мови програмування uk_UA
dc.title Вбудування сімейства логічних мов із можливостями перепрограмування монадичної уніфікації в SCALA uk_UA
dc.title.alternative Embedding a family of logic languages with custom monadic unification in Scala uk_UA
dc.type Article uk_UA
dc.status first published uk_UA
dc.identifier.udc 004.424


Файли у цій статті

Ця стаття з'являється у наступних колекціях

Показати простий запис статті

Пошук


Розширений пошук

Перегляд

Мій обліковий запис