5 ms·
Hey! Cool project. Why would I use this instead of python/javascript/rust/etc? Can you give some examples where Tokay shines compared to these languages? It'd
by josephg 5y ago
Hey! Cool project. Why would I use this instead of python/javascript/rust/etc? Can you give some examples where Tokay shines compared to these languages?
It'd be great to add those examples to the homepage! I had to dig a few levels deep to see what the language looked like. Clicking "Getting started" then scrolling all the way to the bottom seems like a lot of work to answer the question of "why should I care about this?".
- melony 5y agoIt's a competitor to Awk.
- keithnz 5y ago"Tokay is not intended to be a general purpose programming language, nor a replacement for awk."
- NotTheDr01ds 5y agoIronically, on the same page, "Tokay is inspired by awk, but follows its own philosophy and design principles. It might also serve as a general purpose scripting language, but it mainly focuses on processing textual input and work on trees with information extracted from this input." And, "If you like awk and sed, you should take a look into Tokay ...." So it "focuses on processing textual input" (sounds like awk), but it's "not intended ... to be a replacement for awk". It "might serve as a general purpose scripting language", but it's not "intended to be a general purpose programming language." If you like awk, you might should ... Oh, I give up!
- HelloNurse 5y agoParsing and transforming text conforming to a rather simple grammar, for example output of typical command line tools, seems the best use case. Practical, non-Hello World examples (challenge: approximating traditional Unix text tools like wc, sort, rev, cut, sed) would be nice.