Berp

Translates Python code to Haskell code and generates machine code or byte code through a Haskell compiler.

Made by Bernie Pope

  • python3

  • haskell

  • Compiler

  • ghc

  • Python

What is Berp?

Berp is a tool that enables developers to write Python 3 code and have it automatically translated into Haskell. The translated Haskell code can then be compiled using the Glasgow Haskell Compiler (GHC) to generate machine code or executed as byte code. This cross-compilation capability allows Python programmers to leverage the performance and type-safety benefits of the Haskell language ecosystem while leveraging their existing Python skills and code base. Berp provides a seamless way to bridge the gap between the two popular programming paradigms, empowering developers to choose the right language for the task at hand

Highlights

  • Translates Python 3 code to Haskell code
  • Supports compilation of Haskell code to machine code or byte code using the GHC compiler
  • Enables Python developers to take advantage of the Haskell language ecosystem
  • Allows for the reuse of existing Python code and skills in a Haskell environment

Platforms

  • Mac
  • Windows
  • Linux

Languages

  • English

Features

    • Translator