A command-line compiler
From The P-Lingua Website
(Difference between revisions)
(New page: A command-line compiler tool to translate between any supported input format (P-Lingua by default) to any supported output format (XML by default) ==Command-line syntax== plingua [-h] [...) |
Current revision (02:25, 7 December 2009) (view source) |
||
(18 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
+ | A command-line compiler tool to translate between any supported [[input format]] ([[P-Lingua format|P-Lingua]] by default) to any supported [[output format]] ([[XML format|XML]] by default). | ||
- | + | It checks possible programming errors (both lexical/syntactic and semantic). | |
==Command-line syntax== | ==Command-line syntax== | ||
plingua [-h] [-formats] [-input_format] input_file [-output_format] output_file [-v verbosity_level] | plingua [-h] [-formats] [-input_format] input_file [-output_format] output_file [-v verbosity_level] | ||
+ | |||
+ | Optional arguments in brackets. | ||
Options: | Options: | ||
- | [-input_format]: A valid input format. P-Lingua format by default. | + | * [-input_format]: A valid input format. P-Lingua format by default. |
- | input_file: The input file. | + | |
- | [-output_format]: A valid output format. XML format by default. | + | * input_file: The input file. |
- | output_file: The output file. | + | |
- | [-v verbosity_level]: Verbosity level between 0 and 5. 3 by default. | + | * [-output_format]: A valid output format. XML format by default. |
- | [-h]: Shows this help. | + | |
- | [-formats]: It shows available file formats. | + | * output_file: The output file. |
+ | |||
+ | * [-v verbosity_level]: Verbosity level between 0 and 5. 3 by default. | ||
+ | |||
+ | * [-h]: Shows this help. | ||
+ | |||
+ | * [-formats]: It shows available file formats. | ||
==Examples== | ==Examples== | ||
- | plingua sat.pli -bin sat.bin -v 5 | + | * plingua sat.pli -bin sat.bin -v 5 |
- | plingua -xml sat.xml -bin sat.bin | + | * plingua -xml sat.xml -bin sat.bin |
- | plingua -formats | + | * plingua -formats |
- | plingua -h | + | * plingua -h |
+ | |||
+ | ==Dependencies== | ||
+ | * [[pLinguaCore]] | ||
+ | * [http://www.java.com Java] | ||
+ | |||
+ | == Download == | ||
+ | |||
+ | * [[Download#Command-line_compiler_tool|Download]] |
Current revision
A command-line compiler tool to translate between any supported input format (P-Lingua by default) to any supported output format (XML by default).
It checks possible programming errors (both lexical/syntactic and semantic).
Contents |
Command-line syntax
plingua [-h] [-formats] [-input_format] input_file [-output_format] output_file [-v verbosity_level]
Optional arguments in brackets.
Options:
- [-input_format]: A valid input format. P-Lingua format by default.
- input_file: The input file.
- [-output_format]: A valid output format. XML format by default.
- output_file: The output file.
- [-v verbosity_level]: Verbosity level between 0 and 5. 3 by default.
- [-h]: Shows this help.
- [-formats]: It shows available file formats.
Examples
- plingua sat.pli -bin sat.bin -v 5
- plingua -xml sat.xml -bin sat.bin
- plingua -formats
- plingua -h