From c05dda0c08b8ed2abd8c5a626c6f7cfc522ba074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Wed, 19 Apr 2023 13:39:03 +0200 Subject: [PATCH] Update README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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