Skip to content

Releases: arcanist-sh/bhc

BHC v0.2.1

25 Jan 18:20
537cd3c

Choose a tag to compare

BHC v0.2.1

Phase 1: Native Code Generation Complete

This release marks the completion of Phase 1 of BHC development. The Basel Haskell Compiler can now produce working native executables from Haskell source code.

Working Features

Feature Example Status
Hello World putStrLn "Hello, World!"
Integer literals print 42
Arithmetic print (1 + 2 * 3)
Let bindings let x = 5 in print x
Function definitions double x = x + x
Recursion (factorial) factorial 10 → 3,628,800
Recursion (fibonacci) fib 20 → 6,765

Complete Pipeline

  • ✅ Haskell source parsing
  • ✅ Type checking (Hindley-Milner)
  • ✅ Core IR lowering
  • ✅ LLVM IR generation
  • ✅ RTS linking
  • ✅ Native executable output

Installation

curl -fsSL https://bhc.raskell.io/install.sh | sh

Or download the appropriate binary for your platform below.

Platform Support

This release includes binaries for:

  • Linux x86_64
  • macOS aarch64 (Apple Silicon)

Windows, Linux aarch64, and macOS x86_64 (Intel) binaries will be available in a future release.

Checksums

See SHA256SUMS.txt for file checksums.

BHC v0.2.0

25 Jan 17:08
b24f8a2

Choose a tag to compare

BHC v0.2.0

Phase 1: Native Code Generation Complete

This release marks the completion of Phase 1 of BHC development. The Basel Haskell Compiler can now produce working native executables from Haskell source code.

Working Features

Feature Example Status
Hello World putStrLn "Hello, World!"
Integer literals print 42
Arithmetic print (1 + 2 * 3)
Let bindings let x = 5 in print x
Function definitions double x = x + x
Recursion (factorial) factorial 10 → 3,628,800
Recursion (fibonacci) fib 20 → 6,765

Complete Pipeline

  • ✅ Haskell source parsing
  • ✅ Type checking (Hindley-Milner)
  • ✅ Core IR lowering
  • ✅ LLVM IR generation
  • ✅ RTS linking
  • ✅ Native executable output

Installation

curl -fsSL https://bhc.raskell.io/install.sh | sh

Or download the appropriate binary for your platform below.

Platform Support

This release includes binaries for:

  • Linux x86_64
  • macOS aarch64 (Apple Silicon)

Windows, Linux aarch64, and macOS x86_64 (Intel) binaries will be available in a future release.

Checksums

See SHA256SUMS.txt for file checksums.

BHC v0.1.0-alpha

25 Jan 16:12
b31d4ad

Choose a tag to compare

BHC v0.1.0-alpha Pre-release
Pre-release

BHC v0.1.0-alpha

Phase 1: Native Code Generation Complete

This release marks the completion of Phase 1 of BHC development. The Basel Haskell Compiler can now produce working native executables from Haskell source code.

Working Features

Feature Example Status
Hello World putStrLn "Hello, World!"
Integer literals print 42
Arithmetic print (1 + 2 * 3)
Let bindings let x = 5 in print x
Function definitions double x = x + x
Recursion (factorial) factorial 10 → 3,628,800
Recursion (fibonacci) fib 20 → 6,765

Complete Pipeline

  • ✅ Haskell source parsing
  • ✅ Type checking (Hindley-Milner)
  • ✅ Core IR lowering
  • ✅ LLVM IR generation
  • ✅ RTS linking
  • ✅ Native executable output

Installation

curl -fsSL https://bhc.raskell.io/install.sh | sh

Or download the appropriate binary for your platform below.

Platform Support

This release includes binaries for:

  • Linux x86_64
  • macOS aarch64 (Apple Silicon)

Windows, Linux aarch64, and macOS x86_64 (Intel) binaries will be available in a future release.

Checksums

See SHA256SUMS.txt for file checksums.