bishc
Joined 11 years ago
Joined 11 years ago
I created a language called bish that allows you to write your shell scripts in a sane and comfortable syntax. No more remembering which one of those conditionals to use! Bish compiles to bash, so you also get to keep all of the portability that comes with bash scripts. I haven't had much time to work on it recently, and it's still missing some features, but it's ready to use now:
More interesting for beginners (in my opinion) are examples implementing a simple tokenizer, parser, and compiler to another source language. This seems to be what closes the gap between programming languages as mystical constructs and programming languages as programs themselves.
This point of view does tend to displease the traditional SICP crowd though :-).
Here (https://news.ycombinator.com/item?id=9166386) is the previous discussion from last week.
See https://github.com/tdenniston/bish for the repo and https://news.ycombinator.com/item?id=9166386 for some previous discussion.
The language is still brand new and under active development. It's not stable yet.
That being said, the choice to include those syntax features in bish was made entirely to make writing a parser easier, not for any deep philosophical reason.
https://github.com/tdenniston/bish