Inscriere cercetatori


Domenii publicaţii > Ştiinţe informatice + Tipuri publicaţii > Articol în revistã ştiinţificã

Autori: Dan Popa

Editorial: Academia de Studii Economice din Moldova, Proceedings of the 30th annual Congress of The American-romanian Academy of Art and Sciences (ARA) , Academia de Studii Economice din Moldova, , p.p.196-198, 2005.


Abstract: This document is focused on the category theory and the new revised version of the Haskell 98 language,
illustrating how can both be used in order to quickly prototyping language processors. As a proof, the reader is invited
to see how a functor is becoming an assembler of a simple language. This simultaneously illustrates the power of both
tools, The Category Theory and the functional language Haskell itself. The resulted assembler is universal and
adaptable. We can easily modify the morphism which produce the machine code without being necessary to modify
anything else. The functor will transform the new morphism in a new assembler in an instant. As an example, an other
assembler, inspired by the well known book “Compilers and Compiler Generators” was built in less than an hour. A
conclusion concerning such tools and their necessity is drawn .

Cuvinte cheie: categorii,functori,limbaj de asamblare, compilator, Haskell // category, functor, assembler, compiler, Haskell