tokay VS mech

Compare tokay vs mech and see what are their differences.

tokay

Tokay is a programming language designed for ad-hoc parsing, inspired by awk. (by tokay-lang)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
tokay mech
4 5
230 200
2.2% 2.0%
8.9 7.0
29 days ago 6 months 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.

tokay

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 2023-06-29.
  • The Awk Programming Language, Second Edition
    18 projects | news.ycombinator.com | 29 Jun 2023
    [0]: https://github.com/tokay-lang/tokay
  • GitHub - tokay-lang/tokay: Tokay is a programming language designed for ad-hoc parsing, inspired by awk.
    1 project | /r/programming | 14 May 2022
  • Hacker News top posts: May 13, 2022
    2 projects | /r/hackerdigest | 13 May 2022
    Tokay Programming Language\ (21 comments)
  • Tokay Programming Language
    2 projects | news.ycombinator.com | 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 https://tokay.dev/tokay-docs/, 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: https://github.com/tokay-lang/tokay

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

mech

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 2024-03-24.
  • Reactive Programming Without Functions
    2 projects | news.ycombinator.com | 24 Mar 2024
    There's also https://github.com/mech-lang/mech which is a sort of descendant of Eve https://witheve.com/ . That too seems to be getting close to hiatus. It's a bit of a shame since it seems like quite a nice paradigm for some stuff like GUIs, interactive stuff, and discrete event simulation, but I suppose the paradigm is both a bit obscure and different enough from everything else that it becomes a "boil the ocean" situation where one or a few people try and hack away but aren't really able to get much traction and eventually tired themselves out.
  • What features would you want in a new programming language?
    5 projects | /r/ProgrammingLanguages | 3 Jan 2023
    You should take a look at the language Iā€™m developing, Mech: https://github.com/mech-lang/mech
  • How do you think of concurrency and parallelism and what would your dream syntax be for it?
    2 projects | /r/ProgrammingLanguages | 6 Dec 2022
    I'm working on a language called Mech (github.com/mech-lang/mech) that is semantically parallel and asynchronous first. You can write something like this:
  • Mech Lang Spring Update: On the Road Toward Beta!
    1 project | /r/ProgrammingLanguages | 19 May 2022
    Hi everyone. I've posted here a couple times about my language Mech, which you can find here. I've just put together an update which I hope this community will find interesting!
  • Frustration: One Year with R
    10 projects | news.ycombinator.com | 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.

    https://github.com/mech-lang/mech

What are some alternatives?

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

sparklines - Text-based sparklines for the command line mimicking those of Edward Tuft.

cheatsheets - Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/.

react-snippets - A sample of useful snippets in React

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

textimg - Command to convert from color text (ANSI or 256) to image.

ggplot2-book - ggplot2: elegant graphics for data analysis

butter - A tasty language for building efficient software. WIP

COVID-19 - Plots and analysis relating to the pandemic

erg - A statically typed language compatible with Python

tidyr - Tidy Messy Data

Awk-Batteries - Public AWK Directory

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