BioLegato - PCD as a Language

From Bioinformatics.Org Wiki

Jump to: navigation, search

Click here to go back to: BioLegato



Contents

Practical issues moving from makemenus to PCD

ldir.param vs. path

Currently makemnus.py uses a file called ldir.param to know where the local copies of the menus are contained.

With BioLegato, it would make more sense for us to include this functionality in the BL_MENUS environment variable. The paths for BL_MENUS can be separated by a ":" in unix or a ";" in windows (since BioLegato itself is platform independent).

Pros:

Cons:

replacement for menulist?

menulist

Pros:

Cons:

extension to menulist - "menulist version 2"

Pros:

Cons:

PCD version of menulist - current option

Pros:

Cons:

.blnames

Structure: CSV-based

Example:

DNARNA    DNA/RNA Programs    linux-*
Phyl             Phylogeny                     linux-intel,solaris-sparc,osx-x86_64

(order is implicit)

Pros:

Cons:

definitions right inside the .blitem file

Pros:

Cons:

One time conversion vs. plugins

Should we convert all ACD/GDE/whatever files to PCD format:

  1. on the fly natively through plugins
  2. on startup using an external plugin (like readseq) to convert to PCD format
  3. one time conversion

natively

Pros:

Cons:

like readseq

Pros:

Cons:

one time conversion - THE WINNER

Pros:

Cons:

ONE TIME CONVERSION WAS THE WINNER FROM A DISCUSSION IN THE BIOINFORMATICS MEETING GROUP

CONSIDERATIONS

PCD Programs are obtained from:

Software Applications that need to be done

How to use these Software Applications

PCD COMPILER

Compiler application: Lexical and Syntactic Analysis

Lexical Analysis

A Deterministic Finite Automaton is used to perform lexical analysis.

File:Diagram-dfa.gif


Syntactic Analysis

The LALR algorithm is used to perform syntactic analysis.

GOLD application

GOLD is designed to aid in the development of compilers, interpreters and translators while supporting multiple programming languages. To accomplish this goal, the system takes advantage of the LALR and DFA. GOLD is just a tool to help in the development of Compilers.

File:Flow-gold-system.gif

How this will be used

350px


Where this will be used

File:JEMBOS Compiler.png

Personal tools
Namespaces
Variants
Actions
wiki navigation
Toolbox