A programmer explains why JavaScript is their preferred compilation target for domain-specific languages, citing its universal runtime availability, built-in debugging tools, and features that naturally map to functional programming paradigms like first-class functions, closures, dynamic typing, and record types.
Moggi is a statically typed, purely functional programming language that compiles to PHP, JVM, and .NET from a single source file, featuring algebraic data types, pattern matching, and type classes. The alpha-stage compiler supports running programs directly, building deployable artifacts, and native executable generation through GraalVM or .NET PublishAot.
An essay proposing additional tenets for Python coding simplicity, building on the KISS principle and the Zen of Python. It advocates for idiomatic code, pure functions, immutable data, and minimal side effects as core principles of functional programming in Python.
FUN extends the LET language with first-class functions, allowing them to be created as values, passed as arguments, and returned as results. The article explains how to implement function expressions and call expressions, including evaluation rules for creating functions and calling them with single arguments using call-by-value semantics.
Gary Bernhardt's Functional Core/Imperative Shell architecture separates code into pure business logic and stateful I/O handling. The article extends this concept to Deterministic Core/Non-Deterministic Shell, arguing that determinism rather than pure functionality is key to testability, and that non-deterministic operations like RNG, networking, and database calls should be isolated in the shell layer.