Our great sponsors
egison | pcf | |
---|---|---|
11 | 1 | |
900 | 121 | |
0.7% | - | |
0.0 | 0.0 | |
over 1 year ago | over 3 years 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.
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.
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/
What are some alternatives?
dhall - Maintainable configuration files
core-compiler - compile your own functional language
idris - A Dependently Typed Functional Programming Language
ajhc - A fork of jhc. And also a Haskell compiler.
egison-tutorial - The Egison tutorial
binaryen - DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc
haskelm - Haskell to Elm translation using Template Haskell. Contains both a library and executable.
sjsp
hyper-haskell-server - The strongly hyped Haskell interpreter.
llvm-hs-pretty - Pretty printer for LLVM AST to Textual IR
haste-compiler - A GHC-based Haskell to JavaScript compiler