Chaos: Functional programming language with C extensions
Here at JAXenter, we love taking a look at new, interesting, or otherwise noteworthy programming languages. The Chaos Programming Language takes inspiration from the best parts of languages like TypeScript, C, and Python.
Chaos is a new, open source programming language, and while it still has some way to go before a stable release, it offers a glimpse at an intuitive approach to functional programming.
Its most recent version is v0.0.1-alpha.3. How do you turn Chaos into magic? Let’s have a look at its design goals and some of its features.
According to its tagline, Chaos-lang is a “purely functional programming language that achieves zero cyclomatic complexity.” Since it is not object-oriented, it uses only functions and data types.
Chaos might look familiar in some places. It takes inspiration from many different programming languages, combining their best features into one cohesive language.
From its README, its inspirations include:
- TypeScript’s type safety
- Python’s syntax, modules and extensibility
- Ruby’s loops and blocks
- PHP’s dedication to server-side
- Haskell’s immutability
- C’s speed
- NumPy’s matrix arithmetic
- Perl’s regex engine