Amber the programming language compiled to Bash/Ksh/Zsh

Hacker News Top Tools

Summary

Amber is a modern, type-safe programming language that compiles to Bash, Ksh, or Zsh, enabling safer and more robust shell scripting.

No content available
Original Article
View Cached Full Text

Cached at: 07/11/26, 07:26 PM

# Amber The Programming Language Source: [https://amber-lang.com/](https://amber-lang.com/) ![Amber Logo](https://amber-lang.com/amber-logo.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) amber ![Amber logo](https://amber-lang.com/_next/static/media/amber-default.88e43102.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) A language compiled to Bash\. A modern, type\-safe programming language that catches bugs and errors at compile time\. ## See it in action import\{join\}from"std/text" funget\_weather\(cities:\[Text\]\):Null\{ lettemperatures=\[Text\] forcityincities\{ constresult=$ curl \-s "https://wttr\.in/\{city\}?format=1" $failed\{ echo"Error: Failed to get weather for\{city\}" continue \} temperatures\+=\[result\] \} returntemperatures \} get\_weather\(\[\]\) $*Click:* get\_weather\(\[\]\) *to run the function* ![Amber File Icon](https://amber-lang.com/_next/static/media/amber-file.8e52791a.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) ![Terminal Icon](https://amber-lang.com/_next/static/media/terminal.e0358a03.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) ![Modern Syntax](https://amber-lang.com/_next/static/media/syntax.b62037ef.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) Modern Syntax ECMA Script\-like syntax\. ![Runtime Safety](https://amber-lang.com/_next/static/media/runtime.02255d58.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) Runtime Safety Amber ensures that you handle everything that could fail\. ![Type Safety](https://amber-lang.com/_next/static/media/types.7b96a230.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) Type Safety Use strong typing to catch bugs at compile time\. ![Instant Docs](https://amber-lang.com/_next/static/media/docs.4b72fc54.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) Instant Docs Generate documentation automatically\. ![Bash Ready](https://amber-lang.com/_next/static/media/interop.8a8f782b.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) Bash Ready Interoperate with Bash scripts\. ![Library baked in](https://amber-lang.com/_next/static/media/stdlib.4924dbe2.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) Library baked in Standard library with many useful functions\. ## \#1 Award winning project of 2024 ![Logo of Wroclaw University](https://amber-lang.com/_next/static/media/university-wroclaw.a647a3c7.svg?dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) ![Paweł Karaś - Project Founder](https://amber-lang.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fpawel-karas.70e89385.jpeg&w=3840&q=75&dpl=dpl_2n7SKDk6cUSUwtwUXpVXTDrCwL7X) Paweł Karaś \- Project Founder

Similar Articles

AMD introduces an AI-powered Bash coding agent

Reddit r/artificial

AMD has released GAIA 0.21.2, introducing gaia-bash, an AI-powered bash scripting assistant for writing, reviewing, testing, and debugging shell scripts on AMD hardware. It supports multiple interfaces including TUI, CLI, pipe mode, REST API, and MCP stdio server.

Jam Programming Language

Lobsters Hottest

Raphael Amorim announces Jam, a new programming language designed to combine Rust's safety with Zig's simplicity, addressing the complexity and verification tax of existing systems languages in the age of AI-generated code.

Rubish: A Unix shell written in pure Ruby

Hacker News Top

Rubish is a Unix shell written in pure Ruby that aims for full bash compatibility while deeply integrating Ruby features such as blocks, iterators, and method chaining.