Our great sponsors
pcf | egison | |
---|---|---|
1 | 11 | |
121 | 900 | |
- | 0.7% | |
0.0 | 0.0 | |
over 3 years ago | over 1 year ago | |
Haskell | Haskell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pcf
-
Implementing a LLVM Micro C compiler in Haskell
This is amazing. I tried following Stephen Diehl's JIT compiler in LLVM tutorial[0] a few years ago but it was already outdated (the llvm-hs library changed quite a bit), and subsequent web searches didn't turn up much.
For those interested in tutorials like this, I'd also recommend a very literate Haskell compiler for the PCF language to C[1], which is essentially lambda calculus with some primitives.
[0] https://www.stephendiehl.com/llvm/
[1] https://github.com/jozefg/pcf/
egison
- The Egison Programming Language
-
Languages with interesting pattern matching design ?
Look into egison, a "Pattern-Match-Oriented language": https://www.egison.org/
-
Regex-Like Pattern Matching on Arrays/Lists [Question]
Have a look at Egison. It should be a source of inspiration to anyone doing generalised pattern matching. [_,_/2] ~= [2,1]|[6,3] in particular is even clearer in Egison: $p :: #(p / 2).
-
What are some pros and cons of languages that force particular casings for identifiers of a specific purpose?
I think this is a bad idea. In fact, Egison offers a precedent with a better approach. The offered alternative is strictly more powerful as it allows you to refer to a single subpattern multiple times in a greater pattern, and even marks a computable expression you can use in patterns, allowing code like
-
Let's talk about interesting language features.
Egison language. Research language that does some really neat stuff with pattern matching.
-
I want to know about some weird non esoteric programming languages
Egison is weird https://www.egison.org -- it takes a single concept (pattern matching) and pushes it as far as it will go.
What are some alternatives?
core-compiler - compile your own functional language
dhall - Maintainable configuration files
ajhc - A fork of jhc. And also a Haskell compiler.
idris - A Dependently Typed Functional Programming Language
binaryen - DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc
egison-tutorial - The Egison tutorial
sjsp
haskelm - Haskell to Elm translation using Template Haskell. Contains both a library and executable.
hyper-haskell-server - The strongly hyped Haskell interpreter.
haste-compiler - A GHC-based Haskell to JavaScript compiler
llvm-hs-pretty - Pretty printer for LLVM AST to Textual IR