tokay VS mech

Compare tokay vs mech and see what are their differences.


Tokay is a programming language designed for ad-hoc parsing, inspired by awk. (by tokay-lang)
Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developerโ€™s best friend
  • Zigi - Delete the most useless function ever: context switching.
tokay mech
3 2
190 157
1.1% 1.3%
9.1 9.1
7 days ago about 1 month ago
Rust Rust
MIT License Apache License 2.0
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.


Posts with mentions or reviews of tokay. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-13.
  • Hacker News top posts: May 13, 2022
    2 projects | | 13 May 2022
    Tokay Programming Language\ (21 comments)
  • Tokay Programming Language
    2 projects | | 12 May 2022
    I am very interested in this project as a "better awk" is something I have often fantasized about.

    I read all of the documentation that's available on, but unfortunately it never really... describes itself? Many sections, including the section on "parselets" are just unwritten. "Consumable" values are mentioned but never described (there is a "stub" section that doesn't really explain what the term means).

    It begins with a pretty detailed description of value "severity" but doesn't really motivate why the concept exists. (I think that it's (basically) a way to very concisely discard certain matches? When there are "more important" matches around them?)

    There are no examples of how I could use Tokay to "parse" something -- there are lots of examples dotted through the docs, but none of them demonstrate working with structured file formats, and they feel a little bit contrived.

    I'm not complaining here: this project is not making any false claims about its status, the docs are clearly and explicitly unfinished, it is very clear that Tokay is still under active development.

    But I want to learn more about it! I came away from that with a sense that, this has the potential to be really useful to me, but without any concrete evidence to support that. I guess the next step is to download the source and start reading through the tests.

    All this to say: please highlight some examples showcasing situations where Tokay shines! (Parsing CSVs containing quoted strings was making the rounds recently, right? What does that look like in Tokay?)

    Oh, actually, the GitHub readme has an example that is more involved than any in the documentation:

        _ : [ \t]+                # redefine whitespace to just tab and space


Posts with mentions or reviews of mech. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-22.
  • Frustration: One Year with R
    10 projects | | 22 Mar 2022
    > HN readers - do you have an "up and coming" language that you think has better structured the fundamentals from R, that you hope will someday have enough capabilities you can use it instead of R?

    Hope is the operative word here!

    I'm writing a language to compete in this area. It's called Mech and I'll be releasing the first beta in October. You can think of it like Matlab + Excel. It's very fast, has default-parallel semantics for operators and functions, and supports full interactive coding with no startup/compilation latency issues. It's meant for robots, but I've also designed it to be a better Matlab, and I think it should take on R handily. Fair warning, it's public alpha now so error messages are sparse and the happy path is narrow.

What are some alternatives?

When comparing tokay and mech you can also consider the following projects:

Frustration-One-Year-With-R - An extremely long review of R.

cheatsheets - RStudio Cheat Sheets

COVID-19 - Plots and analysis relating to the pandemic

forcats - ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ: tools for working with categorical variables (factors)

dtplyr - Data table backend for dplyr

ggplot2-book - ggplot2: elegant graphics for data analysis

react-snippets - A sample of useful snippets in React

MCH2022ParserWorkshop - MCH2022: A practical approach to parsing

erg - A statically typed language that can deeply improve the Python ecosystem

plotnine - A grammar of graphics for Python

ggplot2 - An implementation of the Grammar of Graphics in R

tidyr - Tidy Messy Data