# Amber: A Modern, Type-Safe Language Compiled to Bash, Ksh, and Zsh

Original title: Amber the programming language compiled to Bash/Ksh/Zsh

> Hacker News story 48822441 · language: en · submitted 2026-07-07
> Web version: https://zeli.app/story/48822441
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [_superposition_](<https://news.ycombinator.com/user?id=_superposition_>) · 💬 0
[original](<https://amber-lang.com/>) · [HN discussion](<https://news.ycombinator.com/item?id=48822441>)

## Summary

I built Amber to bring modern programming features like strong typing and compile-time error checking to shell scripting. This language compiles directly to Bash, Ksh, and Zsh, offering an ECMA Script-like syntax while ensuring runtime safety. With a built-in standard library and automatic documentation, Amber allows developers to write safer, more maintainable scripts without losing the power of the shell.

## Key quote

> A modern, type-safe programming language that catches bugs and errors at compile time.

## HN discussion (0 comments)

### [awinter-py](<https://news.ycombinator.com/item?id=48876327>)

> I tried this or something similar a while ago and really wanted a better argument parsing experience
>
> https://docs.amber-lang.com/0.6.0-alpha/basic_syntax/importi...
>
> it seems like automatic `--help` + named args is still not a thing? if it were, I'd be all over this

### [ivanjermakov](<https://news.ycombinator.com/item?id=48874205>)

> Any language is a shell script if you're brave enough: https://en.wikipedia.org/wiki/Shebang_%28Unix%29

### [BadBadJellyBean](<https://news.ycombinator.com/item?id=48874348>)

> This looks great. We have a lot of bash tools because it's the only stable interpreter that we have readily available on all our systems. But bash is a pain to write so this might actually make things easier.

### [onlyrealcuzzo](<https://news.ycombinator.com/item?id=48874107>)

> Just wanted to say that I think you did a great job with your examples showing why someone might be interested in this language.

### [xyst](<https://news.ycombinator.com/item?id=48875691>)

> I’ll give it a shot.
>
> Side note: the image of project founder cosplaying as Steve Jobs on front page had me dying.

---

## Cite

- Page: https://zeli.app/story/48822441
- Date: 2026-07-07
- Source: amber-lang.com (https://amber-lang.com/)
- Hacker News: https://news.ycombinator.com/item?id=48822441

## Other languages

- zh: https://zeli.app/zh/story/48822441 · markdown: https://zeli.app/zh/story/48822441.md
- ja: https://zeli.app/ja/story/48822441 · markdown: https://zeli.app/ja/story/48822441.md
- ko: https://zeli.app/ko/story/48822441 · markdown: https://zeli.app/ko/story/48822441.md
- de: https://zeli.app/de/story/48822441 · markdown: https://zeli.app/de/story/48822441.md
- es: https://zeli.app/es/story/48822441 · markdown: https://zeli.app/es/story/48822441.md
