ZINC: a compiler for “any language”-coloured Petri nets - Archive ouverte HAL Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2018

ZINC: a compiler for “any language”-coloured Petri nets

Résumé

We present ZINC, that is the code name for a complete rewrite of SNAKES [8,9], incorporating the compilation approach from Neco [4,5] at its heart. Doing so, ZINC allows to substantially extend SNAKES and Neco in various ways: efficient firing and statespace computation, Petri nets coloured by potentially any programming language, more general class of Petri nets supported. At its current state, ZINC allows to create Petri nets from a Python program, or to load them from a simple unified file format, then to compile nets targeting: Python [10], Go [6], and CoffeeScript [1] (the latter being compiled to JavaScript). This choice of statically and dynamically typed languages demonstrates the feasibility of supporting potentially any language as a colour domain. This paper presents what one can do using ZINC in this state, how this is implemented, and what is planned as future developments.
Fichier principal
Vignette du fichier
zinc.pdf (490.19 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01941485 , version 1 (01-12-2018)

Licence

Paternité - Partage selon les Conditions Initiales

Identifiants

Citer

Franck Pommereau. ZINC: a compiler for “any language”-coloured Petri nets. [Research Report] IBISC, university of Evry / Paris-Saclay. 2018. ⟨hal-01941485⟩
115 Consultations
509 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More