pub fn translate_file(
path: &Path,
request: &TranslationRequest,
) -> Result<TranslationReport, ApiError>Expand description
Translates a file in memory without rewriting it or invoking external tools. The file must contain one algorithm in a block comment. An existing translation is replaced in its original location; nothing is written to disk. Generated modules pass native syntax/name/level analysis before acceptance.
ยงErrors
An I/O API error if the input cannot be read; stage failures are reports.