Help language development. Donate to The Perl Foundation
Implementing Common Lisp's (format) language for Perl 6 - Mostly because it's
an interesting challenge, but partially because it offers much more powerful
options than any
sprintf-style formatter, including Python and Ruby's.
Check out source for the instructions, or this
zef update && zef install Format::Lisp
To run tests:
zef test .
use Format::Lisp; my $fl = Format::Lisp.new; say $fl.format( "~~,,'~c:~c", ',', 'X' ); my $func = $fl.formatter( "x~ax" );
Originally: late Jeffrey Goff, DrForr on #perl6, https://github.com/drforr/
Artistic License 2.0