Skip to content

HyperCogWizard/plingua

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plingua

The P-Lingua language for Membrane Computing

P-Lingua is a comprehensive framework for membrane computing that provides a complete ecosystem for defining, parsing, simulating, and generating code for P-systems (membrane systems).

📚 Documentation

Detailed architectural insights with Mermaid diagrams covering:

Dependencies

  • Linux OS (tested on Ubuntu 16.04 and Ubuntu 18.04)
  • GCC 4.9.0 or higher (with support for regex)
  • Flex
  • Bison
  • libboost-filesystem-dev
  • libboost-program-options-dev

sudo apt-get install build-essential flex bison libboost-filesystem-dev libboost-program-options-dev

Compiling

  • make grammar
  • make compiler
  • make simulator
  • sudo make install

Architecture Overview

graph TD
    A[P-Lingua Source] --> B[Parser]
    B --> C[P-System Model]
    C --> D[Simulator]
    C --> E[Code Generator]
    D --> F[Results]
    E --> G[Generated Code]
    
    style A fill:#e3f2fd
    style C fill:#f3e5f5
    style F fill:#e8f5e8
    style G fill:#fff3e0
Loading

The framework consists of three main components:

  • Parser: Transforms P-Lingua source into executable models
  • Simulator: Executes membrane computing simulations
  • Generator: Produces optimized C++ implementations

About

The P-Lingua language for Membrane Computing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 95.6%
  • Yacc 3.5%
  • Other 0.9%