diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-03-23 20:52:55 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-05 00:31:21 +0200 |
| commit | ef32d65ac1852da581ac75d20f903dbcb2d0b5cd (patch) | |
| tree | 98cdb79c471babd906368d23171fe10168c18062 /resources/wmap.lang | |
| parent | dae5942e2ad1ac59f6217ad0f8e0bd630d0b4747 (diff) | |
Use meson as a build system
Diffstat (limited to 'resources/wmap.lang')
| -rw-r--r-- | resources/wmap.lang | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/resources/wmap.lang b/resources/wmap.lang deleted file mode 100644 index e05c8d3..0000000 --- a/resources/wmap.lang +++ /dev/null @@ -1,123 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<language id="wmap" name="wmap Wardley Map Definition Language" version="2.0" section="Markup"> - <metadata> - <property name="mimetypes">text/x-wmap</property> - <property name="globs">*.wmap</property> - <property name="line-comment-start">#</property> - </metadata> - - <styles> - <style id="keyword" name="Keyword" map-to="def:keyword"/> - <style id="node-name" name="Node Name" map-to="def:identifier"/> - <style id="coordinate" name="Coordinate" map-to="def:number"/> - <style id="shape" name="Shape" map-to="def:type"/> - <style id="operator" name="Operator" map-to="def:operator"/> - <style id="note-text" name="Note Text" map-to="def:string"/> - <style id="evolution-sign" name="Evolution Sign" map-to="def:operator"/> - <style id="stage" name="Stage" map-to="def:special-constant"/> - <style id="group-list" name="Group List" map-to="def:identifier"/> - </styles> - - <definitions> - <!-- Node pattern: Name (x,y) [optional shape] --> - <context id="node"> - <match extended="true" case-sensitive="false"> - ^([^\(\[\]]*?)\s* - \(\s*([0-9]+\.?[0-9]*)\s*,\s*([0-9]+\.?[0-9]*)\s*\) - \s*(?:\[(Square|Triangle|x)\])?\s*$ - </match> - <include> - <context sub-pattern="1" style-ref="node-name"/> - <context sub-pattern="2" style-ref="coordinate"/> - <context sub-pattern="3" style-ref="coordinate"/> - <context sub-pattern="4" style-ref="shape"/> - </include> - </context> - - <!-- Edge pattern: Node -\- Node or Node -> Node --> - <context id="edge"> - <match extended="true" case-sensitive="false"> - ^(.+?)\s*(--|->)\s*(.+)$ - </match> - <include> - <context sub-pattern="1" style-ref="node-name"/> - <context sub-pattern="2" style-ref="operator"/> - <context sub-pattern="3" style-ref="node-name"/> - </include> - </context> - - <!-- Inertia pattern: [Inertia] Node --> - <context id="inertia"> - <match extended="true" case-sensitive="false"> - ^\[(inertia)\]\s*(.+)$ - </match> - <include> - <context sub-pattern="1" style-ref="keyword"/> - <context sub-pattern="2" style-ref="node-name"/> - </include> - </context> - - <!-- Evolution pattern: [Evolution] Node +/-x --> - <context id="evolution"> - <match extended="true" case-sensitive="false"> - ^\[(Evolution)\]\s*(.+)\s*([-+])\s*([0-9]+\.?[0-9]*)$ - </match> - <include> - <context sub-pattern="1" style-ref="keyword"/> - <context sub-pattern="2" style-ref="node-name"/> - <context sub-pattern="3" style-ref="evolution-sign"/> - <context sub-pattern="4" style-ref="coordinate"/> - </include> - </context> - - <!-- Note pattern: [Note] (x,y) Text --> - <context id="note"> - <match extended="true" case-sensitive="false"> - ^\[(Note)\]\s* - \(\s*([0-9]+\.?[0-9]*)\s*,\s*([0-9]+\.?[0-9]*)\s*\) - \s*(.*)$ - </match> - <include> - <context sub-pattern="1" style-ref="keyword"/> - <context sub-pattern="2" style-ref="coordinate"/> - <context sub-pattern="3" style-ref="coordinate"/> - <context sub-pattern="4" style-ref="note-text"/> - </include> - </context> - - <!-- Stage pattern: [I], [II], or [III] x --> - <context id="stage"> - <match extended="true" case-sensitive="false"> - ^\[(I{1,3})\]\s*([0-9]+\.?[0-9]*)$ - </match> - <include> - <context sub-pattern="1" style-ref="stage"/> - <context sub-pattern="2" style-ref="coordinate"/> - </include> - </context> - - <!-- Group pattern: [Group] Node1, Node2, ... --> - <context id="group"> - <match extended="true" case-sensitive="false"> - ^\[(Group)\]\s*(.+)$ - </match> - <include> - <context sub-pattern="1" style-ref="keyword"/> - <context sub-pattern="2" style-ref="group-list"/> - </include> - </context> - - <!-- Main context --> - <context id="wmap"> - <include> - <context ref="inertia"/> - <context ref="evolution"/> - <context ref="note"/> - <context ref="stage"/> - <context ref="group"/> - <context ref="edge"/> - <context ref="node"/> - </include> - </context> - </definitions> -</language> |