Hacker News new | past | comments | ask | show | jobs | submit login
Lisp implementation in sed (github.com/shinh)
62 points by eatonphil on Sept 15, 2015 | hide | past | favorite | 15 comments



When the Lisp in Make post hit the front page of HN earlier today, I was astonished. This has topped that experience of WTF/disbelief, which I thought previously impossible :D



Here's a Lisp-ish language implemented in Haskell's type system that I wrote a couple years ago. Computation is everywhere!

https://github.com/seliopou/typo


Both written by the same guy!


To quote that well known sage (Sinbad) ...

"Well ... Sounds like you need a woman!"

(kidding, of course :-D)


There's always this classic with the same sentiment: http://cryptnet.net/mirrors/texts/kissedagirl.html


I've always loved the license for awklisp – see the bottom half of the README:

https://github.com/darius/awklisp


I should look at making a Racket Language for a never going to happen but SED replacement. Limited to just data munging.


A place to start:

    http://docs.racket-lang.org/mzlib/mzlib_awk.html?q=awk
"AWK" in Racket.


Now that is awesome thank you! The more I have been looking into this the more I see how Racket could be the best tool for data munging.


Lisp in sed? There are two things wrong with that ;)


I am dreaming of a Lisp implemented in m4.


I am dreaming of a JavaScript implemented in sed, which itself implements Lisp.


What's the motivation? Just an academic exercise?


GNU sed only.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: