Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
use the manpage layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Aug 1, 2011
1 parent a7bd3d6 commit 4308744
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 13 deletions.
25 changes: 18 additions & 7 deletions lua.pir
Original file line number Original file line Diff line number Diff line change
@@ -1,13 +1,13 @@
# Copyright (C) 2006-2009, Parrot Foundation.
# $Id$


=head1 A stand-alone interpreter for Lua 5.1 =head1 NAME


=head2 Synopsis parrot-lua - a stand-alone interpreter for Lua 5.1

=head1 SYNOPSIS


$ parrot-lua [options] [script [args]] $ parrot-lua [options] [script [args]]


=head2 Description =head1 DESCRIPTION


B<lua> is the stand-alone Lua interpreter. It loads and executes Lua programs. B<lua> is the stand-alone Lua interpreter. It loads and executes Lua programs.


Expand Down Expand Up @@ -53,7 +53,7 @@ command line (but in this case you have to be careful with quotes if the
prompt string contains a space; otherwise you may confuse the shell.) The prompt string contains a space; otherwise you may confuse the shell.) The
default prompts are "> " and ">> ". default prompts are "> " and ">> ".


=head2 Options =head1 OPTIONS


=over 4 =over 4


Expand Down Expand Up @@ -503,10 +503,21 @@ USAGE
.end .end




=head2 See Also =head1 SEE ALSO


F<languages/lua/doc/status.pod> F<languages/lua/doc/status.pod>


=head1 AUTHOR

Francois Perrad

=head1 COPYRIGHT AND LICENSE

Copyright 2006-2011, Parrot Foundation.

This program is free software; you may redistribute it and/or modify
it under the same terms as Parrot itself.

=cut =cut




Expand Down
24 changes: 18 additions & 6 deletions luap.pir
Original file line number Original file line Diff line number Diff line change
@@ -1,19 +1,19 @@
# Copyright (C) 2007-2009, Parrot Foundation.
# $Id$


=head1 A compiler for Lua 5.1 =head1 NAME


=head2 Synopsis parrot-luap - a compiler for Lua 5.1

=head1 SYNOPSIS


$ parrot-luap script.lua $ parrot-luap script.lua
$ parrot-luap --target=parse script.lua $ parrot-luap --target=parse script.lua
PAST PAST
POST POST
PIR PIR


=head2 Description =head1 DESCRIPTION


C<luap> is a compiler for Lua 5.1 on Parrot parrot-luap is a compiler for Lua 5.1 on Parrot
with the standard interface of PCT::HLLCompiler. with the standard interface of PCT::HLLCompiler.


=cut =cut
Expand All @@ -27,6 +27,18 @@ with the standard interface of PCT::HLLCompiler.
$P0.'command_line'(args) $P0.'command_line'(args)
.end .end


=head1 AUTHOR

Francois Perrad

=head1 COPYRIGHT AND LICENSE

Copyright 2007-2011, Parrot Foundation.

This program is free software; you may redistribute it and/or modify
it under the same terms as Parrot itself.

=cut


# Local Variables: # Local Variables:
# mode: pir # mode: pir
Expand Down

0 comments on commit 4308744

Please sign in to comment.