Live data from Hacker News

FuncShell – A Haskell-based alternative to awk

github.com

11–20 of 42 posts

Re: FuncShell – A Haskell-based alternative to awk

#11

I like how you made this version use pipes instead of being a shell. Do you have any plans to create a new JS version of Awkward using pipes?

I understand that this caters to a very specific audience which knows haskell. Hence I plan to support JS as the inline language. I don't want to create a new JS version because I want to learn more of Haskell :p

Re: FuncShell – A Haskell-based alternative to awk

#14
post #2

Similar idea, but uses sqlite to make an awk like utility with sql syntax: https://github.com/dbohdan/sqawk

And just yesterday, people were asking [0] what Tcl is good for! This is a great example.

[0] https://news.ycombinator.com/item?id=14229266

Re: FuncShell – A Haskell-based alternative to awk

#15
Do any of you know how they got such a beautiful looking shell [0]? I'd love to know if there's a clean way to achieve such a nice result.

[0] https://github.com/iostreamer-X/FuncShell/raw/master/fsh.gif

EDIT

As an aside, FuncShell looks like a beautiful demonstration of how powerful Haskell can be. The source code is terse and clean.

The only oddity I noticed isthe rather large 68MB binary file committed into master in the repository [1]. Why do people do this? Especially on GitHub where there's support for cutting releases with a binary for each targeted platform...

[1] https://github.com/iostreamer-X/FuncShell/blob/master/fsh

Re: FuncShell – A Haskell-based alternative to awk

#16

Do any of you know how they got such a beautiful looking shell [0]? I'd love to know if there's a clean way to achieve such a nice result. [0] https://github.com/iostreamer-X/FuncShell/raw/master/fsh.gif EDIT As an aside, FuncShell looks like a beautiful demonstration of how powerful Haskell can be. The source code is terse and clean. The only oddity I noticed isthe rather large 68MB binary file committed into master…

Try zsh + oh-my-zsh https://github.com/robbyrussell/oh-my-zsh

I think the gif you linked is the vanilla oh-my-zsh theme.

Re: FuncShell – A Haskell-based alternative to awk

#17

Do any of you know how they got such a beautiful looking shell [0]? I'd love to know if there's a clean way to achieve such a nice result. [0] https://github.com/iostreamer-X/FuncShell/raw/master/fsh.gif EDIT As an aside, FuncShell looks like a beautiful demonstration of how powerful Haskell can be. The source code is terse and clean. The only oddity I noticed isthe rather large 68MB binary file committed into master…

That's a pretty standard zsh with oh-my-zsh prompt: https://github.com/robbyrussell/oh-my-zsh

Scroll down a bit and you'll see it.

Though I personally prefer zsh with prezto, because oh-my-zsh feels too bloated and heavy:

https://github.com/sorin-ionescu/prezto

Re: FuncShell – A Haskell-based alternative to awk

#18
post #9

I always have mixed feelings on awk alternatives. I find awk to be one of the most underused tools in scripting. Awk has saved me numerous of times. Now replacing latex with a modern syntax would be awesome!!!

I tried to explain to a historian with an open source textbook initiative the basics of latex. As soon as I opened the demo page that had looked nice enough, with him by my side, my heart sank. It's just so far away from being usable by non-technical users.

It's too bad, really.

Re: FuncShell – A Haskell-based alternative to awk

#19

Do any of you know how they got such a beautiful looking shell [0]? I'd love to know if there's a clean way to achieve such a nice result. [0] https://github.com/iostreamer-X/FuncShell/raw/master/fsh.gif EDIT As an aside, FuncShell looks like a beautiful demonstration of how powerful Haskell can be. The source code is terse and clean. The only oddity I noticed isthe rather large 68MB binary file committed into master…

If you're feeling adventurous you can also try Fish shell with it's collection of themes

https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Th...

Re: FuncShell – A Haskell-based alternative to awk

#20

Do any of you know how they got such a beautiful looking shell [0]? I'd love to know if there's a clean way to achieve such a nice result. [0] https://github.com/iostreamer-X/FuncShell/raw/master/fsh.gif EDIT As an aside, FuncShell looks like a beautiful demonstration of how powerful Haskell can be. The source code is terse and clean. The only oddity I noticed isthe rather large 68MB binary file committed into master…

>The only oddity I noticed isthe rather large 68MB binary file committed into master in the repository.

Thanks for bringing it to notice. I did this and later realized I can opt for the github release option[0]. I will fix this and the installation url asap.

[0] https://github.com/iostreamer-X/FuncShell/releases

Post reply on HN