Skip to main content

parse_math_statements

Function parse_math_statements 

Source
pub fn parse_math_statements(code: &str) -> Vec<String>
Expand description

Split a Math-mode program into complete vernacular statements.

Handles both Coq-style (period-terminated) and the Literate forms (## To … functions, ## Theorem: blocks, A X is either … inductives).