lox-haskell
Implementation of Lox language (from "Crafting Interpreters" book) in Haskell (by Martinsos)
linear
Low-dimensional linear algebra primitives for Haskell. (by ekmett)
lox-haskell | linear | |
---|---|---|
2 | 8 | |
6 | 195 | |
- | - | |
0.0 | 5.4 | |
over 3 years ago | 17 days ago | |
Haskell | Haskell | |
MIT 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.
lox-haskell
Posts with mentions or reviews of lox-haskell.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-19.
-
Advanced programming exercises/apps recommendations to code
If you feel like comparing implementations, you might want to take a peek at my implementation: https://github.com/Martinsos/lox-haskell -> I haven't finished the book unfortunately but I did all the work till chapter 9.5 -> each commit is marked with the chapter it implements, so you can easily follow the development that way. If you do make significant progress, do consider opening an issue on my repo to share your work, I would also love to do some comparison in order to learn more!
-
Crafting Interpreters in Haskell - Scanning
Very cool! More than a year ago I started going through Crafting Interpreters and implementing it in Haskell as I go, here it is in case you find it interesting: https://github.com/Martinsos/lox-haskell .
linear
Posts with mentions or reviews of linear.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-11.
-
GHC.Num: Why no multiplication commutativity?
Linear.Quaternion.Quaterion from the linear package has a Num instance, and quaternion multiplication is noncommutative.
-
Is there an existing typeclass for differences?
That's pretty much exactly the abstraction used in the 'linear' package's Affine class, in which we find points separated by vectors.
-
What are the current challenges in Numerical Programming for Haskell?
Linear algebra: hmatrix again with its own array type (and linear but this is restricted to low dimensions)
-
Advanced programming exercises/apps recommendations to code
This is very niche, but something I've wanted to do for a while is to generate some cool physics example on the surface of a sphere with https://hackage.haskell.org/package/hamilton, and display it with https://reanimate.github.io/ (using https://hackage.haskell.org/package/linear for the projection)
-
How to create my Functor / Eq / Num combination on Coords?
Do check out the linear package. It has some complicated parts, but the types work out very nicely. Your Coords type is called V3 in that package, it has a huge list of instances for all kinds of different type classes.
- Advent of Code 2021 day 06
-
Probabilistic modelling in Idris: engineering as research
I've come to love the linear approach, where instead of working with Naperian (Representable) functors, you work with Distributive functors.
-
Monthly Hask Anything (June 2021)
See also the linear library, it contains types like data V3 a = V3 a a a with all of the useful instances.
What are some alternatives?
When comparing lox-haskell and linear you can also consider the following projects:
haskell-lox
nimber - Finite nimber arithmetic
three-layer - :three: :cake: Architecture of the Haskell web applications
nuha
chip8-book - An introduction to Chip-8 emulation using Rust
moving-averages
Essentials-of-Compilation - A book about compiling Racket and Python to x86-64 assembly
effect-zoo - Comparing Haskell effect systems for ergonomics and speed
ray-tracing - It's taking me longer than one weekend
reservoir - Reservoir Sampling Algorithms in Haskell
chip8
linear-accelerate - Instances to mix linear with accelerate