Update README
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
7c6298ca50
commit
c05dda0c08
1 changed files with 8 additions and 4 deletions
12
README.md
12
README.md
|
@ -1,6 +1,6 @@
|
||||||
# Scansion-dsl
|
# Scansion-rs
|
||||||
|
|
||||||
Parser for the [Scansion project][Scansion] DSL.
|
Reimplementation of the [Scansion project][Scansion] in Rust.
|
||||||
|
|
||||||
[Scansion]: https://code.matthewwild.co.uk/scansion
|
[Scansion]: https://code.matthewwild.co.uk/scansion
|
||||||
|
|
||||||
|
@ -34,13 +34,17 @@ This library supports parsing the following:
|
||||||
- [x] password
|
- [x] password
|
||||||
- [x] custom\_host
|
- [x] custom\_host
|
||||||
- [x] custom\_port: Expect a u16
|
- [x] custom\_port: Expect a u16
|
||||||
- [-] Actions
|
- [x] Actions
|
||||||
* [x] 'connects'
|
* [x] 'connects'
|
||||||
* [x] 'disconnects'
|
* [x] 'disconnects'
|
||||||
* [-] 'sends:' / 'receives:'
|
* [x] 'sends:' / 'receives:'
|
||||||
- [x] A block of lines each starting with a tab (`\t`) after the
|
- [x] A block of lines each starting with a tab (`\t`) after the
|
||||||
action will be converted to a `minidom::Element`.
|
action will be converted to a `minidom::Element`.
|
||||||
- [x] `receives: nothing` as the absence of received stanza.
|
- [x] `receives: nothing` as the absence of received stanza.
|
||||||
|
- [x] Variables in attributes
|
||||||
|
* [x] Bare Jid (`${louise's JID}`)
|
||||||
|
* [x] Full Jid (`${louise's full JID}`)
|
||||||
|
- [x] Ignoring attribute values: `{scansion:any}`
|
||||||
- [x] Comments
|
- [x] Comments
|
||||||
Optional lines starting with a `#` or `//` and ending with a newline
|
Optional lines starting with a `#` or `//` and ending with a newline
|
||||||
(`\n`). They get discarded in the output
|
(`\n`). They get discarded in the output
|
||||||
|
|
Loading…
Reference in a new issue