diff --git a/README.md b/README.md index dff19ae..cd47eb8 100644 --- a/README.md +++ b/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 @@ -34,13 +34,17 @@ This library supports parsing the following: - [x] password - [x] custom\_host - [x] custom\_port: Expect a u16 -- [-] Actions +- [x] Actions * [x] 'connects' * [x] 'disconnects' - * [-] 'sends:' / 'receives:' + * [x] 'sends:' / 'receives:' - [x] A block of lines each starting with a tab (`\t`) after the action will be converted to a `minidom::Element`. - [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 Optional lines starting with a `#` or `//` and ending with a newline (`\n`). They get discarded in the output