Re:Lisp implementation in sed
by justinator on Saturday June 28, 2014 @01:04AM
(#7957475)
Well, OK: I'm curious, can I use the sed to Perl utility, to then make a Lisp implementation in Perl?
[ Parent
| on HN ]
Re:Lisp implementation in sed
by justinator on Saturday June 28, 2014 @01:23AM
(#7957514)
Trying this myself, it returns an error:
s2p: expression #1: extra characters after command (d)
Thankfully, I've never had the job of porting a sed script to Perl, so I'm not exactly sure what that's all about. The docs mention this error, but don't explain what it means,
Re:Lisp implementation in sed
by justinator on Saturday June 28, 2014 @01:32AM
(#7957526)
Aaaaand, obviously Perl has CPAN, so there's really no need (except to be evil):
https://metacpan.org/pod/CljPerl
(there's a few, actually, because TIMTOWTDI!)