You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add a section on using the parser. Together with an AI I was able to download the repo, compile the Rust program, get wasm installed and get the playground to work. It worked surprisingly well but I would have liked an install section. (FYI I use OpenSuSE)
I have not yet figured out how to use the parser on the command line. How can I call it to take a cooklang file (with syntax extensions) and translate it into an intermediary format like those in the playground web server? I would like to have a go at writing my own renderer and don't want to reinvent the parser step.
The text was updated successfully, but these errors were encountered:
The parser itself is a library, not cli. It's not supposed to be build, but rather used in other project. (I think) It is well documented https://docs.rs/cooklang/latest/cooklang/. You can use something like https://github.com/Zheoni/cooklang-chef as a command line tool. It supports all extensions and can output recipe in a different formats like json or yaml or even markdown.
I'm not sure what you're exactly building, but if you want to use this parser in JS world, you would need wasm version of the parser, which doesn't exist. I don't need it myself at the moment, but previously attempted to do that here.
Please add a section on using the parser. Together with an AI I was able to download the repo, compile the Rust program, get wasm installed and get the playground to work. It worked surprisingly well but I would have liked an install section. (FYI I use OpenSuSE)
I have not yet figured out how to use the parser on the command line. How can I call it to take a cooklang file (with syntax extensions) and translate it into an intermediary format like those in the playground web server? I would like to have a go at writing my own renderer and don't want to reinvent the parser step.
The text was updated successfully, but these errors were encountered: