We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Initialization
Jump to navigation
Jump to search
- Rewrite It In Initialization!
Initialization is an esoteric programming language in which variables may only be initialized.
Examples
This program prints "Hello, world!":
main = putStrLn "Hello, world!"
This program calculates the factorial of a number:
factorio n = if n == 0 then 1 else n * (factorio (n - 1)) main = print . factorio =<< readLn
Interpreters
A bash interpreter is reproduced below.
#!/bin/bash runghc "$@"