bish icon indicating copy to clipboard operation
bish copied to clipboard

maybe target `/bin/sh`?

Open jbenet opened this issue 10 years ago • 5 comments

I think this is a great idea. I wonder, perhaps it may make sense to target sh instead of bash? afaik, sh is more portable + found in more systems. though i'm not sure.

jbenet avatar Mar 09 '15 08:03 jbenet

+1

hachre avatar Mar 09 '15 08:03 hachre

Oooh, yes this is a good idea. Oftentimes, I'm restricted because of sh. If bish could compile to sh, it would be very useful.

ryanmjacobs avatar Mar 09 '15 08:03 ryanmjacobs

Yeah, i exclusively use sh for portability. It's painful. bish might really alleviate that!

jbenet avatar Mar 09 '15 08:03 jbenet

This is a good idea. I'll keep bash as the default target (due to features I plan to support in bish like hash maps), but we can add sh code generation. It may make sense to wait on this until the language has stabilized a bit more.

tdenniston avatar Mar 09 '15 11:03 tdenniston

:+1:

hawkw avatar Mar 09 '15 15:03 hawkw