dunai
hint
dunai | hint | |
---|---|---|
6 | 10 | |
190 | 257 | |
- | 0.4% | |
8.8 | 6.8 | |
13 days ago | 4 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
dunai
-
Interactive animations
Yes, and the new library dunai was just mentioned in this subreddit days ago.
- [ANN] dunai-0.11.0, dunai-test-0.11.0, bearriver-0.14.2
-
Looking for projects that need developers.
I'd love to have help with Yampa & Dunai. Both are related FRP frameworks. Yampa has been around for 20 years, dunai has been around for 8. Both have regular releases every 2 months.
-
[ANN] dunai-0.10.1 and bearriver-0.14.1
The github repo is located at: https://github.com/ivanperez-keera/dunai
-
[ANN] dunai-0.9.0, dunai-test-0.9.0, bearriver-0.13.6
Release: https://github.com/ivanperez-keera/dunai/releases/tag/v0.9.0.
-
[ANN] Yampa 0.13.6
If you haven't, I recommend you take a look at dunai . Dunai allows easier extension using custom monads, and has specific support for ExceptT.
hint
-
I am looking for a new maintainer for Mueval
Mueval is based on hint, which is in turn based on the ghc library.
-
Interactive animations
Yeah, that project is pretty much at the bottom of my list, unfortunately. My top projects these days are mgmt, klister, recursion-schemes, and hint... And that's already too much!
-
Can GHCi be run like PDB?
You can try using hint (instead of ghci) though I'm not sure it has the breakpoint functionality.
-
Dynamic loading of modules
Have you tried hint?
-
hint: Runtime Haskell interpreter
with haskell.nix, well, you've found the github issue, you need to put the apecs package in the right nix incantation.
-
How to catch "Variable not in scope" error
But the use case for that is for using a Haskell program A to catch errors in that same Haskell program A. For your use case, using a Haskell program A to automatically grade a Haskell program B, I recommend using the hint library instead, as it allows you to load code from external source files, run tests on them, and manipulate the error messages produced by ghc. (full disclosure: I am the maintainer of that library)
-
Does a function that takes as input a function and return its porgram text exist?
I am thinking of giving hint the ability to evaluate TemplateHaskell expressions. It would indeed be quite difficult to write an interpreter for all of Haskell, so my plan is to use the Exp's Show instance to produce a program which constructs and then splices that Exp, e.g. $(pure (InfixE (Just (LitE (IntegerL 1))) (VarE GHC.Num.+) (Just (LitE (IntegerL 1))))) is a Haskell expression which is equivalent to 1 + 1, so I should be able to ask hint to evaluate that to get 2 without having to write my own Haskell interpreter.
-
Seeking a Project Lead for Matchmaker - Haskell Foundation
Yes please! Right now all of my open-source projects (most notably hint and recursion-schemes) are about to drop into barely-updated mode, and while I knew this would happen and have been working towards finding co-maintainers, I am now realizing that it wasn't enough. I think such a website would definitely have helped, and I am hoping that once it launches, I'll be able to use it to find some co-maintainers to tide over my projects until I become available again.
-
Deep embedding of Haskell in Haskell
hint's API takes a string, not an AST (I plan to fix this). Internally, hint delegates to the ghc library, which does expose a parser which you can use if you want. hint exists to provide a friendlier API than the ghc library for interpreting Haskell code, but it does not expose a friendlier API for parsing Haskell code.
What are some alternatives?
reflex - Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse.
ghci-pretty - tiny hack for colored pretty-printing within ghci
Yampa - Functional Reactive Programming domain-specific language for efficient hybrid systems
Tidal - Pattern language
reactive-banana - Library for functional reactive programming in Haskell.
ghc-dump - A GHC plugin and library for analysing GHC Core
DefendTheKing - A simple multiplayer RTS game
reflex-ghci - Run GHCi from within a Reflex FRP application and interact with it using a functional reactive interface.
reactive-bacon - FRP (functional reactive programming) framework inspired by RX and Iteratee
recursion-schemes - Generalized bananas, lenses and barbed wire
rhine - Haskell Functional Reactive Programming framework with type-level clocks
binaryen - DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc