-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I've been able to compile the UniFFI bindings into a library for Python. Everything seems to work just fine. However, I've noticed that the parse_recipe function that the bindings export specifically uses the canonical parser:
let parser = cooklang::CooklangParser::canonical();In my project I'd like to support the extended features. As a step in that direction, I updated my local build process to patch bindings/src/lib.rs to use this line instead:
let parser = cooklang::CooklangParser::extended();This proved insufficient, however, as other changes appear to be needed. For example, the exported Ingredient class lacks the alias attribute that would be populated by the extended parser.
Could the bindings be updated to make the extended parsing available?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels