EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Financial DSL: A Domain-Specific Language for Expressive Financial Data Analysis

Syed Samar Yazdani, Aneel M, Jirtik Kumar, Sunena Kumari, Abdul Qadir, Khalid Rasheed

International Journal of Innovations in Science and Technology · 04.06.2026 · 1049

DOI: 10.33411/ijist/1776 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Innovations in Science and Technology, online erschienen am 04.06.2026. Verfasst von Syed Samar Yazdani und 5 weiteren Autor:innen. Die Arbeit nennt 15 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Domain-specific query languages are an essential tool for facilitating reliable financial analysis by linking syntax and meaning directly to the problem domain. Text-to-SQL systems translate natural language queries into executable SQL using deep neural networks, improving accessibility but introducing non-determinism, ambiguity and interpretation failures that are unacceptable in regulate financial environments. This paper presents FinancialDSL, a compiler inspired deterministic domain specific language designed for financial aggregation, filtering and period-based analysis over structured datasets. FinancialDSL is defined by a formal Extended Backus Naur Form (EBNF) grammar, implemented via a recursive descent parser and an Abstract Syntax Tree (AST) driven interpreter in C#13 on .NET 9. Evaluation of three representative query patterns—calculate total sales in Q3, calculate average revenue where amount > 5000, and calculate count for expenses in Q1—demonstrates 100% execution accuracy, producing verified results of $4,250.00 (3 records), $7,855.56 (9 records), and a count of 4 records respectively. The complete pipeline executed in 47 ms total (lexical analysis < 1 ms, parsing < 1 ms, execution 46 ms), producing 20 lexical tokens across the three statements. FinancialDSL achieves a 2% execution error rate versus 35% for a representative Text-to-SQL baseline a 17.5× reliability improvement and requires a mean query size of 8 tokens compared to 28 tokens for equivalent SQL formulations, a 71% reduction in syntactic overhead. Grammar based error classification across nine structured error categories produces precise, position aware diagnostics and ranked correction suggestions. These results establish that domain restricted deterministic DSLs are a viable and measurable complement to neural semantic parsing for regulated financial analytics, offering guaranteed reproducibility, full auditability, and interpretable execution.

Zitieren

APA

Yazdani, S. S., M, A., Kumar, J., Kumari, S., Qadir, A., & Rasheed, K. (2026). Financial DSL: A Domain-Specific Language for Expressive Financial Data Analysis. International Journal of Innovations in Science and Technology, 1049. https://doi.org/10.33411/ijist/1776

Vancouver

Yazdani SS, M A, Kumar J, Kumari S, Qadir A, Rasheed K. Financial DSL: A Domain-Specific Language for Expressive Financial Data Analysis. International Journal of Innovations in Science and Technology. 2026:1049. doi:10.33411/ijist/1776

BibTeX
@article{Yazdani2026,
  author = {Yazdani, Syed Samar and M, Aneel and Kumar, Jirtik and Kumari, Sunena and Qadir, Abdul and Rasheed, Khalid},
  title = {Financial DSL: A Domain-Specific Language for Expressive Financial Data Analysis},
  journal = {International Journal of Innovations in Science and Technology},
  year = {2026},
  pages = {1049},
  doi = {10.33411/ijist/1776}
}
Kostenlos starten →