Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.19 KB

parser.rst

File metadata and controls

39 lines (31 loc) · 1.19 KB

Parsers

This page is for users who want to squeeze the most bizarre possibilities out of PyBEL. Most users will not need this reference.

PyBEL makes extensive use of the PyParsing module. The code is organized to different modules to reflect the different faces ot the BEL language. These parsers support BEL 2.0 and have some backwards compatibility for rewriting BEL v1.0 statements as BEL v2.0. The biologist and bioinformatician using this software will likely never need to read this page, but a developer seeking to extend the language will be interested to see the inner workings of these parsers.

See: https://github.com/OpenBEL/language/blob/master/version_2.0/MIGRATE_BEL1_BEL2.md

BEL Parser

pybel.parser.parse_bel.BELParser

pybel.io.line_utils.parse_lines

Metadata Parser

pybel.parser.parse_metadata.MetadataParser

Control Parser

pybel.parser.parse_control.ControlParser

Concept Parser

pybel.parser.parse_concept.ConceptParser

Sub-Parsers

pybel.parser.modifiers