Skip to content
HN On Hacker News ↗

Amber The Programming Language

▲ 88 points • 71 comments • by _superposition_ • 4mo ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this document is fully human-written

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 113
PEAK AI % 0% · §1
Analyzed
Jul 11
backend: pangram/v3.3
Segments scanned
1 windows
avg 113 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 113 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

amberA language compiled to Bash.A modern, type-safe programming language that catches bugs and errors at compile time. Loop through an a Copy 2See it in actionimport { join } from "std/text"fun get_weather(cities: [Text]): Null {let temperatures = [Text]for city in cities {const result = $ curl -s "https://wttr.in/{city}?format=1" $ failed {echo "Error: Failed to get weather for {city}"continue }temperatures += [result]}return temperatures}get_weather([])$ Click: get_weather([]) to run the function Modern SyntaxECMA Script-like syntax.Runtime SafetyAmber ensures that you handle everything that could fail.Type SafetyUse strong typing to catch bugs at compile time.Instant DocsGenerate documentation automatically.Bash ReadyInteroperate with Bash scripts.Library baked inStandard library with many useful functions.#1 Award winning project of 2024Paweł Karaś - Project Founder