tdenniston / bish

Bish is a language that compiles to Bash. It's designed to give shell scripting a more comfortable and modern feel.
MIT License
1.48k stars 36 forks source link

Add support for arrays #53

Closed tdenniston closed 9 years ago

tdenniston commented 9 years ago

Bish should support simple array types.

heyvito commented 9 years ago

That would be really nice! Specially combined with split and join, if you intend to implement those.

tdenniston commented 9 years ago

@victorgama Adding split and join is a good idea: I'll hopefully get to that soon!

Closing this, as the arrays.bish test is passing. Report any array-related bugs in a separate issue.

tdenniston commented 9 years ago

Reopening: we should be able to pass arrays as function arguments. This is needed to implement an array length function in stdlib, for example.

tdenniston commented 9 years ago

Closing again. There is now a passing test for using arrays as arguments.