,
Rui Mendes
Creative Commons Attribution 4.0 International license
We propose a domain-specific language to simplify the expression of Swarm Intelligence algorithms. These algorithms are typically introduced through metaphors, requiring practitioners to manually translate them into low-level implementations.This process can obscure intent and hinder reproducibility. The proposed DSL bridges this gap by capturing algorithmic behavior at a higher level of abstraction. We demonstrate its expressiveness in a few lines of code and evaluate its feasibility through a reference implementation. A discussion is presented that includes empirical comparisons with traditional implementations and future directions of the proposed DSL.
@InProceedings{martins_et_al:OASIcs.SLATE.2025.2,
author = {Martins, Kevin and Mendes, Rui},
title = {{A DSL for Swarm Intelligence Algorithms}},
booktitle = {14th Symposium on Languages, Applications and Technologies (SLATE 2025)},
pages = {2:1--2:17},
series = {Open Access Series in Informatics (OASIcs)},
ISBN = {978-3-95977-387-4},
ISSN = {2190-6807},
year = {2025},
volume = {135},
editor = {Baptista, Jorge and Barateiro, Jos\'{e}},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.SLATE.2025.2},
URN = {urn:nbn:de:0030-drops-236826},
doi = {10.4230/OASIcs.SLATE.2025.2},
annote = {Keywords: Domain Specific Languages, Swarm Intelligence, Global Optimization}
}