hint VS klister

Compare hint vs klister and see what are their differences.

klister

an implementation of stuck macros (by gelisam)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
hint klister
10 7
257 121
0.4% -
6.8 5.9
4 months ago 10 days 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.

hint

Posts with mentions or reviews of hint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-10.
  • I am looking for a new maintainer for Mueval
    2 projects | /r/haskell | 10 Jul 2023
    Mueval is based on hint, which is in turn based on the ghc library.
  • Interactive animations
    11 projects | /r/haskell | 6 May 2023
    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?
    3 projects | /r/haskell | 6 Jan 2023
    You can try using hint (instead of ghci) though I'm not sure it has the breakpoint functionality.
  • Dynamic loading of modules
    2 projects | /r/haskell | 19 Dec 2022
    Have you tried hint?
  • hint: Runtime Haskell interpreter
    6 projects | /r/haskell | 1 May 2022
    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
    1 project | /r/haskell | 29 Oct 2021
    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?
    1 project | /r/haskell | 23 Aug 2021
    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
    3 projects | /r/haskell | 26 Jul 2021
    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
    2 projects | /r/haskell | 15 Jul 2021
    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.

klister

Posts with mentions or reviews of klister. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-06.
  • Interactive animations
    11 projects | /r/haskell | 6 May 2023
    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!
  • Rust Tests Itself (Kind of!)
    2 projects | /r/rust | 30 Dec 2022
    case is a special form, ie a bit of core syntax, but, interestingly, data is not. (It is presumably a macro; typechecking is actually done as a part of macro expansion.) The syntax remains pretty uniform. Or, in Klister, type ascription is done via normal S-expression syntax with a form called the, as (the $type $expression); again, the syntax is uniform.
  • GHC Hacking
    1 project | /r/haskell | 4 Dec 2022
    Shameless plug: we don't have that problem in Klister, because our equivalent to main is a run macro which runs an IO action, and your alternate prelude can define its own run macro which expects an IO action from your alternate prelude.
  • What's the preferred way of getting powerful lisplike macros on Haskell?
    1 project | /r/haskell | 28 Sep 2022
    Klister is very similar to Hackett, but implemented in Haskell instead of Racket, and my most recent PR is from 20 days ago, if that's the metric which counts for you. Still very much of a WIP though.
  • How do you typecheck a macro?
    6 projects | /r/ProgrammingLanguages | 30 Sep 2021
    You might be interested in Klister: https://github.com/gelisam/klister
  • Using defmacro's &environment argument to implement Racket's hygienic macro expansion system?
    3 projects | /r/lisp | 2 Feb 2021
    I've now also found an implementation for klister, which is meant to interleave type checking with macro expansion.
  • Haskell doesn't have macros
    2 projects | /r/haskell | 29 Dec 2020
    In Klister, which already has Scheme-like macros and Haskell-like types (polymorphism, algebraic types and higher-kinded types, but not yet fancier types like RankNTypes and GADTs), our plan to get the best of both worlds (lexical syntax and typed ASTs) is to separate parsing from macro evaluation. That is, users write their programs using the surface syntax of s-expressions, parsers parse those into typed ASTs, and macros are typed by the type of the ASTs they receive as input and produce as output. At this stage this is only a research idea, I don't know if that's going to work out yet, but I hope so!

What are some alternatives?

When comparing hint and klister you can also consider the following projects:

ghci-pretty - tiny hack for colored pretty-printing within ghci

rakudo - 🦋 Rakudo – Raku on MoarVM, JVM, and JS

Tidal - Pattern language

aith - [Early Stages] Low level functional programming language with linear types, first class inline functions, levity polymorphism and regions.

ghc-dump - A GHC plugin and library for analysing GHC Core

unseemly - Macros have types!

reflex-ghci - Run GHCi from within a Reflex FRP application and interact with it using a functional reactive interface.

hackett - WIP implementation of a Haskell-like Lisp in Racket

recursion-schemes - Generalized bananas, lenses and barbed wire

coalton - Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.

binaryen - DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc

srfi-46 - SRFI 46 for Common Lisp: Basic Syntax-rules Extensions