Title:
|
DECLARATIVE PROGRAMMING IN MODERN IMPERATIVE LANGUAGES |
Author(s):
|
Lutz Hamel |
ISBN:
|
978-989-8704-53-5 |
Editors:
|
Paula Miranda and Pedro IsaĆas |
Year:
|
2023 |
Edition:
|
Single |
Keywords:
|
Declarative Programming, Pattern Matching, First-Class Patterns, First-Class Functions, Higher-Order Programming |
Type:
|
Short |
First Page:
|
207 |
Last Page:
|
211 |
Language:
|
English |
Cover:
|
|
Full Contents:
|
click to dowload
|
Paper Abstract:
|
Declarative features provide new ways of solving programming problems in imperative programming languages. It is now a given that modern imperative programming languages support declarative features such as first-class functions and higher-order programming, and increasingly pattern matching. To further explore declarative programming and in particular pattern matching in the imperative programming paradigm we designed and implemented the Asteroid programming language. Asteroid is an imperative, dynamically typed programming language that not only supports common declarative features, but also supports pattern matching to a degree not found in many imperative languages and, in particular, it supports first-class patterns. In this short paper we briefly review some common declarative programming techniques and then briefly survey programming in Asteroid with first-class patterns. |
|
|
|
|