Racket
(define translations #hash([Chinese . "你好 世界"] [English . "Hello world"] [French . "Bonjour le monde"] [German . "Hallo Welt"] [Greek . "Γειά σου, κόσμε"] [Portuguese . "Olá mundo"] [Spanish . "Hola mundo"] [Thai . "สวัสดีชาวโลก"] [Turkish . "Merhaba Dünya"]))
Racket Racket, the Programming Language #lang racket/gui (define my-language 'English) (define translations #hash([Chinese . "你好 世界"] [English . "Hello world"] [French . "Bonjour le monde"] [German . "Hallo Welt"] [Greek . "Γειά σου, κόσμε"] [Portuguese . "Olá mundo"] [Spanish . "Hola mundo"] [Thai . "สวัสดีชาวโลก"] [Turkish . "Merhaba Dünya"])) (define my-hello-world (hash-ref translations my-language "hello world")) (message-box "" my-hello-world) Mature Practical Extensible Robust Polished Racket, the Language-Oriented Programming Language #lang datalog…
saved by
related reading
- Beautiful Racket: Make a language in one hour: stackerbeautifulracket.com
- A Friendly Introduction to Racketgeometridae.bearblog.dev
- Beautiful Racket: Make a language in one hour: stackerbeautifulracket.com
- Good examples of Clojure macros usage which demonstrate advantages of the language over the mainstream? - Stack Overflowstackoverflow.com
- Weird Languagespaulgraham.com
- Tristan's Site - Tristan Humethume.ca
- HiPhish's Workshophiphish.github.io
- Macros - The Rust Programming Languageweb.mit.edu
- Learn X in Y Minutes: Scenic Programming Language Tourslearnxinyminutes.com
- Weird Languagespaulgraham.com
- One Div Zero: A Brief, Incomplete, and Mostly Wrong History of Programming Languagesjames-iry.blogspot.com
- Six Programming Languages I'd Like to See • Buttondownbuttondown.email