Skip to main content

parse_python

Function parse_python 

Source
pub fn parse_python(source: &str) -> Result<Kernel, CompileError>
Expand description

Parse a Python kernel source string into an HIR Kernel.

ยงErrors

Returns CompileError::ParseError if the source cannot be parsed.