tarsec VS typestache

Compare tarsec vs typestache and see what are their differences.

tarsec

A parser combinator library in TypeScript (by egonSchiele)

typestache

Mustache with static typing (by egonSchiele)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tarsec typestache
3 1
33 5
- -
5.6 8.3
2 days ago about 2 months ago
TypeScript TypeScript
- -
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.

tarsec

Posts with mentions or reviews of tarsec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-01-11.
  • Elo – A data expression language which compiles to JavaScript, Ruby, and SQL
    4 projects | news.ycombinator.com | 11 Jan 2026
    Maybe the most incredible part – did Claude write a recursive descent parser from scratch for this? https://github.com/enspirit/elo/blob/9f07fefcdf65c169089f123...

    Not that it's super complex, but I'm surprised it didn't pick up an npm package. I wrote tarsec[1] and have been eyeing ohmjs[2]. And of course nearley is a classic.

    [1] https://github.com/egonSchiele/tarsec

  • How do you prototype a nice language?
    4 projects | news.ycombinator.com | 9 Jun 2025
    I wrote a parser combinator library for TypeScript that I have been having a lot of fun with [1]. It has limitations, I wouldn't use it to write a full language programming language like Gleam, but for "language-ish projects", parser combinators can be lovely to use. I used it to build a typed version of Mustache [2].

    > Rather, I’m after a particular kind of software hygge: Loads instantly, doesn’t crash, and fits nicely in the hand.

    The author is talking about the language, but this is what parser combinators feel like to me, and could be another option. Tarsec is probably the most fun side project I have built in a while.

    [1] https://github.com/egonSchiele/tarsec

    [2] https://github.com/egonSchiele/typestache

  • Parser Combinators Beat Regexes
    3 projects | news.ycombinator.com | 9 Apr 2025
    https://github.com/egonSchiele/tarsec

    I have a short and a long intro, both illustrated: https://github.com/egonSchiele/tarsec/blob/main/tutorials/5-... and https://github.com/egonSchiele/tarsec/blob/main/tutorials/th...

    It also has a neat debug mode, and a way to benchmark performance. I've loved using it, hopefully someone reading will use it too! Use this as a chance to learn something cool (parser combinators)!

typestache

Posts with mentions or reviews of typestache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-06-09.
  • How do you prototype a nice language?
    4 projects | news.ycombinator.com | 9 Jun 2025
    I wrote a parser combinator library for TypeScript that I have been having a lot of fun with [1]. It has limitations, I wouldn't use it to write a full language programming language like Gleam, but for "language-ish projects", parser combinators can be lovely to use. I used it to build a typed version of Mustache [2].

    > Rather, I’m after a particular kind of software hygge: Loads instantly, doesn’t crash, and fits nicely in the hand.

    The author is talking about the language, but this is what parser combinators feel like to me, and could be another option. Tarsec is probably the most fun side project I have built in a while.

    [1] https://github.com/egonSchiele/tarsec

    [2] https://github.com/egonSchiele/typestache

What are some alternatives?

When comparing tarsec and typestache you can also consider the following projects:

haskell-parsing-benchmarks

shi - a Simple Hackable Interpreter

gleam - ⭐️ A friendly language for building type-safe, scalable systems!

Sprache - A tiny, friendly, C# parser construction library

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that TypeScript is
the 2nd most popular programming language
based on number of references?