Domain Specific Language for Astrology
Închide
Articolul precedent
Articolul urmator
843 4
Ultima descărcare din IBN:
2024-03-14 11:11
SM ISO690:2012
VEREBCEANU, Mirela, DODON, Ion, LAPTEDULCE, Nicu, RAILEAN, Nichita. Domain Specific Language for Astrology. In: Conferinţa tehnico-ştiinţifică a studenţilor, masteranzilor şi doctoranzilor, 26-29 martie 2019, Chișinău. Chișinău, Republica Moldova: 2019, Vol.1, pp. 219-222. ISBN 978-9975-45-588-6.
EXPORT metadate:
Google Scholar
Crossref
CERIF

DataCite
Dublin Core
Conferinţa tehnico-ştiinţifică a studenţilor, masteranzilor şi doctoranzilor
Vol.1, 2019
Conferința "Conferinţa tehnico-ştiinţifică a studenţilor, masteranzilor şi doctoranzilor"
Chișinău, Moldova, 26-29 martie 2019

Domain Specific Language for Astrology


Pag. 219-222

Verebceanu Mirela, Dodon Ion, Laptedulce Nicu, Railean Nichita
 
Universitatea Tehnică a Moldovei
 
 
Disponibil în IBN: 24 septembrie 2019


Rezumat

In this article describes a Domain Specific Language for astrology. It is named Astro and uses .astro extension. The Astro domain specific language has the purpose to gather astrology data from an API offered by astrologyapi.com and show it to the user. The grammar of this domain specific language is simple so that it cannot confuse the user with many different functions and tricks. It is focused on defining person info that is handled through variables and showing info for those persons by calling specific functions. These specific functions are actually types of requests to the API (ex: wster_horoscope, lunar_metrics, general_sign_reports). The API offers almost any information related to astrology and it is categorized in Calculations, Life Reports, and Compatibility Reports. The ANTLR was used in order to define the grammar and to create the lexer and parser. Antlr is also a domain specific language with the purpose to create other DSLs. In order to invoke ANTLR and to generate lexer and parser as target language is used Java. Java will be the engine of the DSL. It uses an SDK offered by astrologyAPI.com.

Cuvinte-cheie
DSL, astrology, API, ANTLR, parse tree, lexer