Ph0enixKM / Amber

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

✨ More built-in commands #215

Open Ph0enixKM opened 1 week ago

Ph0enixKM commented 1 week ago

This issue is about implementing the following commands:

Mte90 commented 1 week ago

On https://github.com/Ph0enixKM/Amber/pull/185 I added is_root and is_command that I think that should be built-in commands. The second one just check if a command exists.

Ph0enixKM commented 1 week ago

I'm still thinking about that ORM style you suggested. To make such a nice way to compose commands would be a game changer

Mte90 commented 1 week ago

I think that we need to define built-in should be one shot actions, instead ORM style should be more complex commands with various parameters. The ORM style requires a Class engine in Amber but for that we can discuss in the other ticket.

b1ek commented 1 day ago

we should also add [[ and [ as builtins for use like if [[ ... ]]