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

Docs: link to standard library documentation missing #231

Open klausi opened 1 week ago

klausi commented 1 week ago

Hi,

I want to convert text output from a command into an array. The doc page at https://docs.amber-lang.com/basic_syntax/arrays talks about a standard library documentation, do you know where it is?

CymDeveloppement commented 1 week ago

To my knowledge the documentation does not exist. but you can use split(text: Text, delimiter: Text): [Text], lines(text: Text): [Text] and words(text: Text): [Text] standard library is here : https://github.com/Ph0enixKM/Amber/blob/master/src/std/main.ab

klausi commented 4 days ago

Thanks, found the better lines() function and used it for https://docs.amber-lang.com/by_example/bot_detector

Leaving this open for now to update the docs and link to the standard library directly for now until there are proper docs for them.