Popularity
6.1
Growing
Activity
0.0
Stable
11
3
5
Monthly Downloads: 7
Programming language: Haskell
License: MIT License
Tags:
Language
haskell-brainfuck alternatives and similar packages
Based on the "Language" category.
Alternatively, view haskell-brainfuck alternatives based on common mentions on social networks and blogs.
-
purescript
A strongly-typed language that compiles to JavaScript -
elm-compiler
Compiler for Elm, a functional language for reliable webapps. -
stylish-haskell
Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell] -
haskell-src-exts
Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer -
haskell-tools-ast-gen
Developer tools for Haskell -
haskell-tools-ast-fromghc
Developer tools for Haskell -
language-javascript
Parser for JavaScript, in Haskell -
language-python
A parser for Python 2.x and 3.x written in Haskell -
liquid-fixpoint
Horn Clause Constraint Solving for Liquid Types -
elm-export
Create Elm types and JSON decoders from Haskell source. -
nirum
Nirum: IDL compiler and RPC/distributed object framework for microservices -
tal
An implementation of Typed Assembly Language (Morrisett, Walker, Crary, Glew) -
shentong
A Haskell implementation of the Shen programming language. -
camfort
Light-weight verification and transformation tools for Fortran -
language-c-quote
C/CUDA/OpenCL/Objective-C quasiquoting library. -
language-rust
Parser and pretty-printer for the Rust language -
language-ecmascript
Haskell library: ECMAScript parser, pretty-printer and additional tools -
fortran-src
Fortran parsing and static analysis infrastructure -
formura
Describe stencil formurae without even translating them -
aterm-utils
Utility functions for working with aterms as generated by Minitermite -
purescript-tsd-gen
TypeScript Declaration File (.d.ts) generator for PureScript -
ministg
Ministg is an interpreter for a high-level, small-step, operational semantics for the STG machine.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of haskell-brainfuck or a related project?
README
haskell-brainfuck
Interpreter for the brainfuck programming language
haskel-brainfuck is distributed as a library, but it also includes an executable to run brainfuck programs. You can find haskell-brainfuck in Hackage
Usage
Library
import HaskBF.Eval
import qualified Data.ByteString.Lazy as BS
import Control.Monad.State
main = do
-- The following will evaluate the file using stdin and stdout for I/O.
-- Evaluation results in an EvalResult
file <- BS.readFile "/path/to/file.bf"
(EvalSuccess _) <- evalBS defaultIOMachine file
print "ok"
-- The following will evaluate the file using the State monad and input
-- provided by input
let input = []
output = []
result = execState (evalStr simulatorMachine "+.>-.") (SimState input output)
print $ simStateOutput result == [1, -1]
Executable
brainfuck fib.bf
Tests
You can run the test suite with
cabal test