Ph0enixKM / Amber

💎 Amber the programming language compiled to bash
https://amber-lang.com
GNU General Public License v3.0
3.52k stars 69 forks source link

✨ Runtime dependencies checker? #95

Open b1ek opened 1 month ago

b1ek commented 1 month ago

Im pretty sure that amber depends on things like bc, sed and [[, and possibly other script-specific dependencies.

Wouldn't it make sense to add a checker in the start of the program to ensure that all of them are there? That would prevent A LOT of runtime errors, as well as ensure safety

Ph0enixKM commented 1 month ago

True. This is fairly needed. The checks should be added by default but also we need to let developers disable adding them as well.

boushley commented 1 month ago

We should probably also only focus on the dependencies of the Amber runtime. Trying to extract and automatically detect script specific dependencies seems like a bigger problem.

Ph0enixKM commented 3 weeks ago

This problem is currently being resolved by @b1ek as a separate project https://github.com/b1ek/bshchk.