Jump to content

BioLegato - Finalized PCD syntax rules

From Bioinformatics.org Wiki

Back to: BioLegato

Directory structure

[edit]
  • Read $BL_MENUS for the path to search for biolegato menu directories. These directories contain the BL menu structure as interpreted by BioLegato. The root of each directory listed in BL_MENUS should contain a blmenus file which will use a syntax defined later in this document. The precedence in BL_MENUS is left to right (e.g. "/local/dat/bldna:/dat/bldna" indicates that "/local/dat/bldna" will have precedence over "/dat/bldna"). If a duplicated menu item is read, the duplicate from the path with the most precedence will be used and the others ignored.
  • Read "blmenulist" in each directory in the path of $BL_MENUS and
  • Directories represent menus and sub-directories represent sub-menus.
  • .blitem files represent menu items.

blmenulist format

[edit]
<menus> ::= <menu> <menus> | <menu>
<menu> ::= <name> <indent+1> <menu_content>
<menu_content> ::= <submenu_or_item> <menu_content>
<submenu_or_item> ::= <menu_item> | <sub_menu>
<menu_item> ::= <name>
<sub_menu> ::= <name> <indent+1> <menu_content>

<name> ::= <identifier> <whitespace> <limiters> | <identifier>

.blitem format