A syntax for semantics in P-Lingua
|Pérez Hurtado de Mendoza, Ignacio
Orellana Martín, David
Riscos Núñez, Agustín
Pérez Jiménez, Mario de Jesús
|Research Group on Natural Computing
|Universidad de Sevilla. Departamento de Ciencias de la Computación e Inteligencia Artificial
|P-Lingua is a software framework for Membrane Computing, it includes a
programming language, also called P-Lingua, for writting P system de nitions using a
syntax close to standard scienti c notation. The rst line of a ...
P-Lingua is a software framework for Membrane Computing, it includes a programming language, also called P-Lingua, for writting P system de nitions using a syntax close to standard scienti c notation. The rst line of a P-Lingua le is an unique identi er de ning the variant or model of P system to be used, i.e, the semantics of the P system. Software tools based on P-Lingua use this identi er to select a simulation algorithm implementing the corresponding derivation mode. Derivation modes de ne how to obtain a con guration Ct+1 from a con guration Ct. This information is usually hard-coded in the simulation algorithm. The P system model also de nes what types or rules can be used, the P-Lingua compiler uses the identi er to select an speci c parser for the le. In this case, a set of parsers is codi ed within the compiler tool. One for each unique identi er. P-Lingua has grown during the last 12 years, including more and more P system models. From a software engineering point of view, this approximation implies a continous development of the framework, leading to a monolithic software which is hard to debug and maintain. In this paper, we propose a new software approximation for the framework, including a new syntax for de ning rule patterns and derivation modes. The P-Lingua users can now de ne custom P system models instead of hard-coding them in the software. This approximation leads to a more exible solution which is easier to maintain and debug. Moreover, users could de ne and play with new/experimental P system models.
|Pérez Hurtado, I., Orellana Martín, D., Riscos Núñez, A. y Pérez Jiménez, M.d.J. (2019). A syntax for semantics in P-Lingua. En BWMC 2019: Seventeenth Brainstorming Week on Membrane Computing (139-150), Sevilla, España: Escuela Técnica Superior de Ingeniería Informática, Universidad de Sevilla.