Re:Show HN: Using Rust to write shell-script like tasks
by gitgud on Monday August 24, 2020 @12:23AM
(#24257514)
Interesting, it seems that it allows the exact syntax of shell commands, without using strings.
How does rust parse the statement within run_cmd()? Can rust parse other languages like this?
[ Parent
| on HN ]
Re:Show HN: Using Rust to write shell-script like tasks
by steveklabnik on Monday August 24, 2020 @12:28AM
(#24257522)
Re:Show HN: Using Rust to write shell-script like tasks
by gabssnake on Monday August 24, 2020 @02:56AM
(#24258107)
Yes! If you are interested in doing front-end in Rust using Wasm, checkout Yew : https://github.com/yewstack/yew
The data flow is inspired by React, you’ll feel right at home.
Re:Show HN: Using Rust to write shell-script like tasks
by qwertycrackers on Monday August 24, 2020 @12:37AM
(#24257543)
Yeah, there's a system for macro definition where you define the language the macro accepts. It's very powerful and can probably do most of what you're imagining in this comment.