typestache VS tarsec

Compare typestache vs tarsec and see what are their differences.

typestache

Mustache with static typing (by egonSchiele)

tarsec

A parser combinator library in TypeScript (by egonSchiele)
SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
typestache tarsec
1 2
1 23
- -
8.3 4.3
about 1 month ago about 1 month 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.

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

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 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

  • 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)!

What are some alternatives?

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

shi - a Simple Hackable Interpreter

haskell-parsing-benchmarks

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

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

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured

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