Files
bytecoder/bytecoder.pod

99 lines
2.4 KiB
Plaintext

=encoding utf8
=head1 NAME
bytecoder - the JVM bytecode transpiler
=head1 SYNOPSIS
bytecoder [-hV]
bytecoder compile js
[-builddirectory=I<buildDirectory>]
-classpath=I<classpath>
[-filenameprefix=I<filenamePrefix>]
-mainclass=I<mainClass>
[-optimizationlevel=I<optimizationLevel>]
[-additionalClassesToLink=I<additionalClassesToLink>]
… [-additionalResources=I<additionalResources>]…
bytecoder compile wasm
[-debugoutput]
[-builddirectory=<buildDirectory>]
-classpath=I<classpath>
[-filenameprefix=I<filenamePrefix>]
-mainclass=I<mainClass>
[-optimizationlevel=I<optimizationLevel>]
[-additionalClassesToLink=I<additionalClassesToLink>]
… [-additionalResources=I<additionalResources>]…
bytecoder graph generate
[-builddirectory=I<buildDirectory>]
-classpath=I<classpath>
-mainclass=I<mainClass>
[-matchpattern=I<matchPattern>]
[-optimizationlevel=I<optimizationLevel>]
=head1 DESCRIPTION
Bytecoder is a Rich Domain Model for Java Bytecode and Framework to interpret
and transpile it to other languages such as JavaScript, OpenCL or WebAssembly.
=head1 OPTIONS
=over
=item B<-h>, B<--help>
Show this help message and exit.
=item B<-V>, B<--version>
Print version information and exit.
=item B<-additionalClassesToLink>=I<additionalClassesToLink>
List of full qualified class names to be linked beside the statically
referenced ones.
=item B<-additionalResources>=I<additionalResources>
A list of classpath resources to be included into the build.
=item B<-builddirectory>=I<buildDirectory>
The directory to output the generated code to. Defaults to 'C<.>'
=item B<-classpath>=I<classpath>
The directory containing the JVM class files to be compiled.
=item B<-filenameprefix>=I<filenamePrefix>
The prefix for generated files. Defaults to 'C<bytecoder>'
=item B<-mainclass>=I<mainClass>
Name of the class that contains the C<main()> method
=item B<-optimizationlevel>=I<optimizationLevel>
The optimization level. Can be 'C<NONE>', 'C<DEFAULT>' or 'C<ALL>'. Defaults to
'C<DEFAULT>'.
=item B<-matchpattern>=I<matchPattern>
Regex to match the full qualified class and method names for the export.
Defaults to all methods of the main class.
=item B<-debugoutput>
Shall debug information be included in the output? Defaults to 'C<false>'.
=back
=head1 LICENSE
Released under L<Apache-2.0
license|https://www.apache.org/licenses/LICENSE-2.0.txt>.