granule
A statically-typed linear functional language with graded modal types for fine-grained program reasoning (by granule-project)
langs
By sal55
granule | langs | |
---|---|---|
4 | 185 | |
567 | 86 | |
1.1% | - | |
9.0 | 9.3 | |
23 days ago | 5 days ago | |
Haskell | C | |
BSD 3-clause "New" or "Revised" License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
granule
Posts with mentions or reviews of granule.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-29.
- Functional Ownership Through Fractional Uniqueness
-
Rust vs. Haskell
I believe both Gerty and Granule are implemented in Haskell and are the only implementations of GRTT.
-
What are some cool/wierd features of a programming language you know?
Granule and the related Gerty languages feature graded modal types which afaiu can be used similar to linear types to specify the number of times a resource should be consumed in a function, which, unlike linear types, may be a variable amount instead of only exactly once.
langs
Posts with mentions or reviews of langs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
- How does the compiler know that an already typedefed ident is meant to be a new declarator?
- Compiler Case Study
- Making Simple Concepts Hard
- What makes a language easy for writing a parser?
-
Resources to understand mojo and compilers
The code is here. Note that the input filename is hardcoded in the source code.
- Automatic import of C headers —how to deal with macros?
- How does preprocessing work in a one pass compiler?
- 'Table Data' and 'X-Macros'
- Register Window in a Stack VM Interpreter
- My New IL
What are some alternatives?
When comparing granule and langs you can also consider the following projects:
frank - Frank compiler
prolog-to-minizinc - A Prolog-to-MiniZinc translator
jellylanguage - Jelly is a recreational programming language inspired by J.
rakudo - 🦋 Rakudo – Raku on MoarVM, JVM, and JS
gerty - A small implementation of graded modal dependent type theory. A younger cousin to Granule.
vox - Vox language compiler. AOT / JIT / Linker. Zero dependencies
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
ponyc - Pony is an open-source, actor-model, capabilities-secure, high performance programming language
wabt - The WebAssembly Binary Toolkit
factor - Factor programming language
c2rust - Migrate C code to Rust