Start on more of the user guide
This commit is contained in:
parent
e2100f6ccd
commit
7f844711d9
@ -1,3 +1,10 @@
|
|||||||
|
${remove}
|
||||||
|
WARNING: This user guide is meant to be preprocessed and rendered by a custom
|
||||||
|
script.
|
||||||
|
The markdown source file is not intended to be viewed directly and will not
|
||||||
|
include all intended content.
|
||||||
|
${/remove}
|
||||||
|
|
||||||
#> Overview
|
#> Overview
|
||||||
|
|
||||||
Propane is an LR Parser Generator (LPG) which:
|
Propane is an LR Parser Generator (LPG) which:
|
||||||
@ -8,10 +15,62 @@ Propane is an LR Parser Generator (LPG) which:
|
|||||||
* generates a table-driven parser to parse input in linear time
|
* generates a table-driven parser to parse input in linear time
|
||||||
* is MIT-licensed
|
* is MIT-licensed
|
||||||
* is distributable as a standalone Ruby script
|
* is distributable as a standalone Ruby script
|
||||||
|
* supports D language
|
||||||
|
|
||||||
${remove}
|
#> Installation
|
||||||
WARNING: This user guide is meant to be preprocessed and rendered by a custom
|
|
||||||
script.
|
Propane is designed to be distributed as a stand-alone single file script that
|
||||||
The markdown source file is not intended to be viewed directly and will not
|
can be copied into and versioned in a project's source tree.
|
||||||
include all intended content.
|
The only requirement to run Propane is that the system has a Ruby interpreter
|
||||||
${/remove}
|
installed.
|
||||||
|
The latest release can be downloaded from [https://github.com/holtrop/propane/releases](https://github.com/holtrop/propane/releases).
|
||||||
|
Simply copy the `propane` executable script into the desired location within
|
||||||
|
the project to be built (typically the root of the repository) and mark it
|
||||||
|
executable.
|
||||||
|
|
||||||
|
#> Command Line Usage
|
||||||
|
|
||||||
|
Propane is typically invoked from the command-line as `./propane`.
|
||||||
|
|
||||||
|
Usage: ./propane [options] <input-file> <output-file>
|
||||||
|
Options:
|
||||||
|
--log LOG Write log file
|
||||||
|
--version Show program version and exit
|
||||||
|
-h, --help Show this usage and exit
|
||||||
|
|
||||||
|
The user must specify the path to a Propane input grammar file and a path to an
|
||||||
|
output file.
|
||||||
|
The generated source code will be written to the output file.
|
||||||
|
If a log file path is specified, Propane will write a log file containing
|
||||||
|
detailed information about the parser states and transitions.
|
||||||
|
|
||||||
|
#> Propane Grammar File
|
||||||
|
|
||||||
|
A Propane grammar file provides Propane with the patterns, tokens, grammar
|
||||||
|
rules, and user code blocks from which to build the generated lexer and parser.
|
||||||
|
|
||||||
|
#> License
|
||||||
|
|
||||||
|
Propane is licensed under the terms of the MIT License:
|
||||||
|
|
||||||
|
```
|
||||||
|
${include LICENSE.txt}
|
||||||
|
```
|
||||||
|
|
||||||
|
#> Contributing
|
||||||
|
|
||||||
|
Propane is developed on [github](https://github.com/holtrop/propane).
|
||||||
|
|
||||||
|
Issues may be submitted to [https://github.com/holtrop/propane/issues](https://github.com/holtrop/propane/issues).
|
||||||
|
|
||||||
|
Pull requests may be submitted as well:
|
||||||
|
|
||||||
|
1. Fork it
|
||||||
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
||||||
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
||||||
|
4. Push to the branch (`git push origin my-new-feature`)
|
||||||
|
5. Create new Pull Request
|
||||||
|
|
||||||
|
#> Change Log
|
||||||
|
|
||||||
|
${changelog}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user