Format::Lisp

Implement Common Lisp formatter for Raku

Format::Lisp

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 reference manual.

Installation

  • Using zef (a module management tool bundled with Rakudo Star):

    zef update && zef install Format::Lisp

Testing

To run tests:

zef test .

Synopsis

use Format::Lisp;

my $fl = Format::Lisp.new;
say $fl.format( "~~,,'~c:~c", ',', 'X' );
my $func = $fl.formatter( "x~ax" );

Author

Originally: late Jeffrey Goff, DrForr on #perl6, https://github.com/drforr/

License

Artistic License 2.0

Format::Lisp v0.0.2

Implement Common Lisp formatter for Raku

Authors

  • Jeffrey Goff

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Format::Lisp
  • Format::Lisp::Actions
  • Format::Lisp::Grammar

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.