Lisp implementation in sed
github.com
Lisp implementation in sed
1–10 of 64 posts
Re: Lisp implementation in sed
#2Re: Lisp implementation in sed
#3Re: Lisp implementation in sed
#4Re: Lisp implementation in sed
#5This is amazing. Just reading the code makes my head hurt, but you implemented a language with it.
/(atom /{
/\[\S\+\]/{
s/.*/[]/
bpop_context
}
s/.*/t/
bpop_context
}Re: Lisp implementation in sed
#6Ahahah. Awesome. There is even an 'awk' version: https://github.com/darius/awklisp
More sed fun: http://aurelio.net/projects/sedsokoban/
Re: Lisp implementation in sed
#7This is amazing. Just reading the code makes my head hurt, but you implemented a language with it.
Here, for example, is the implementation of `atom` (I think): /(atom /{ /\[\S\+\]/{ s/.*/[]/ bpop_context } s/.*/t/ bpop_context }
Kudos, I think, to the author. His pain tolerance exceeds mine by a vast amount.
Re: Lisp implementation in sed
#8Ahahah. Awesome. There is even an 'awk' version: https://github.com/darius/awklisp
I wrote that, and I gotta say sed is a much crazier target. More sed fun: http://aurelio.net/projects/sedsokoban/
Re: Lisp implementation in sed
#9Re: Lisp implementation in sed
#10Earlier quoted context omitted.
Here, for example, is the implementation of `atom` (I think): /(atom /{ /\[\S\+\]/{ s/.*/[]/ bpop_context } s/.*/t/ bpop_context }
If this was (the only available) programming, I'd quit. Kudos, I think, to the author. His pain tolerance exceeds mine by a vast amount.
We started with nothing, remember? Just the bare metal. If this were the only available programming, I'd write an interpreter for a better language.
Never imagine that your current suite of tools is all there is.