hypertypes
Hypertypes - generic programming for heterogeneous recursive types (by lamdu)
frea
A simple and lazy programming language with Damas-Hindley-Milner type inference and higher kinded types. (by lambduli)
hypertypes | frea | |
---|---|---|
6 | 1 | |
107 | 17 | |
2.8% | - | |
5.4 | 1.8 | |
9 months ago | over 2 years ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | 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.
hypertypes
Posts with mentions or reviews of hypertypes.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-28.
-
My quest for the perfect AST representation
For the development of Lamdu I've embarked on a similar quest and ended up creating hypertypes after getting a helpful pointer in SO.
-
Extensible ASTs with extensible types
Otherwise I would go for modularity rather than extensibility and use hypertypes or an equivalent mechanism to represent the types.
-
What are strategies for tracking type checking errors after desugaring?
Indeed, then it is definitely possible. i.e https://github.com/lamdu/hypertypes
-
[ANN] rrb-vector - an alternative to Data.Sequence
Nice. Using this my type inference implementation benchmarked up to 2.5% faster and the switch wasn't difficult to do.
-
Hyperfunctions
I think https://github.com/lamdu/hypertypes might be related. This is a generic programming API that seems to be based on hyperfunctions, but moved up to the type level?
-
Handling an AST that is built from multiple types
I wrote an overview for several approaches folks came up with for this problem aka "the expression problem" including my own approach, "hypertypes" - see https://github.com/lamdu/hypertypes/blob/master/README.md
frea
Posts with mentions or reviews of frea.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-10.
-
Indentation sensitive parsing in Alex / Happy
I should be able to look at the repo later today. Maybe I'll spot the problem. In any case I have a project which does use Alex and Happy in a "monadic way" so you should be able to compare it against something. And maybe find the problem on your own. You can check it out here https://github.com/Taskkill/frea/tree/main/src/Compiler/Parser Hope it might help as I don't really have any self-promoting intentions.
What are some alternatives?
When comparing hypertypes and frea you can also consider the following projects:
rrb-vector - An implementation of a Relaxed Radix Balanced Vector in Haskell.
alexhappy - Examples for the book “Alex and Happy”
ric-script - A modern scripting language; implemented in old school C, yacc & flex
articles - Miscellaneous articles. The readme is the table of contents.
write-you-a-haskell - Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)
sloe - Simple purely functional language based on lambda-calculus.