Phoenix Himself

Results 280 comments of Phoenix Himself

If we do this - we could rewrite `unsafe` and `silent` command modifiers to be blocks: ``` block unsafe(command: Text) { ${command}$ failed {} } block silent(command: Text) { ${command}...

Yes it was. Sorry for the lack of context. I’ll think about it also from the compiler stand point and propose the ultimate solution to this. I like what you...

@Sod-Almighty We've settled on implementing `succeeded` keyword. I'll create a PR once we add the new translation system https://github.com/amber-lang/amber/discussions/544

I think that this is the `stderr` that is being show in the console

We could add ability to `return` it from the failed block though: ``` let result = $cmd args$ failed { echo "Failed to run this command" return "failed" } ```...

We could add Regex to standard library

I want to rewrite totally the `stmt_queue` mechanics so that we actually return `Vec` instead of `String` + `stmt_queue` in the metadata

@FedericoCeratto that’d be totally on the list to do. Great feature request!

The `as` keyword is already used to cast values. How about `with`? ```js $ sshd $ with pid1 kill pid1 $ docker run -d somecontainer $ with pid2 failed {...

> Mm......"with" doesn't sound right. You're not creating it _with_ a variable, you're storing a handle. I know `as` is used for casting, but it's not used _there_ for casting....