Replies: 10 comments 5 replies
-
i feel like we shouldn't optimize for portability. it will obviously be nice to have, but not with bash's limitations. as well as we just don't have enough brain power to work around every possible aspect in bash. we are going to need to either build our own runtime binary library thingy or depend on a hell lot of shit (like |
Beta Was this translation helpful? Give feedback.
-
I had the same issue as @b1ek . If I were to add a question, it would be the following:
Personally, I think it's better to reduce the dependency on external commands as much as possible and simplify Amber. In addition to that, we could prepare a separate Amber extension library. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
To be honest I don't see Amber to work at all with a ton of dependency commands. We need to build a one runtime that can work with Amber. The only problem will be to handle permissions and where to store the runtimes. Perhaps we will build the runtime installer into an Amber script that will ask the questions if the person wants to download the Amber runtime installer and where shall it be stored. |
Beta Was this translation helpful? Give feedback.
-
We'd also have to answer this question: |
Beta Was this translation helpful? Give feedback.
-
This should be a discussion instead of an issue. Converting. |
Beta Was this translation helpful? Give feedback.
-
My use case for Amber is:
|
Beta Was this translation helpful? Give feedback.
-
I think it would make sense to make the target slightly modular:
A little pragma at the beginning of an Amber file can enable each option. Using a function that requires a disabled option triggers a compile error and a friendly message e.g.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Why Amber?Amber is a next step in making the shell scripting more accessible and more maintainable. It's foundation is to solve the problems that couldn't be solved with just Bash and too clunky to use Bash library for. I think that it would lower the bar to enter Linux ecosystem and make is easier to organise and maintain scripts. Furthermore I believe that Amber will improve the developer experience when writing scripts that manage necessary workflows. For example developers with different shell scripting skill levels could operate on the same Amber project maintaining the readability and security by preventing many accidental bugs by keeping the shell code in the spotlight for code reviewers that is always contained between dollar symbols. Amber is meant to be portable, safe, modern, predictable and readable. |
Beta Was this translation helpful? Give feedback.
-
we should figure out what amber is, and/or wants to be.
there have been already a few problems because there isn't a clear definition of exactly what goals does amber has, mainly about runtime dependencies.
so, there are a few questions that need answering so that we could actually know what it is that we are building:
cargo
orclang
?cargo
, that would mean we would be adding a lot of CLI arguments and then some higher level program will wrap it nicely in a config file or somethingi have probably missed a few more important questions, so either edit the post to add them or comment them down
Beta Was this translation helpful? Give feedback.
All reactions