This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5cbb2d7 Update intent-matching.html
5cbb2d7 is described below
commit 5cbb2d7a72250ab162ae0658667ada7b37052c71
Author: Aaron Radzinski <[email protected]>
AuthorDate: Fri Apr 2 16:18:41 2021 -0700
Update intent-matching.html
---
intent-matching.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/intent-matching.html b/intent-matching.html
index feaad57..afd14ec 100644
--- a/intent-matching.html
+++ b/intent-matching.html
@@ -142,7 +142,7 @@ id: intent_matching
all whitespaces outside of string literals are ignored.
</li>
<li>
- IDL supports C-style comments, both single line <code>//
Comment.</code> as well as multi-line <code>/* Comment. */</code>.
+ IDL supports Java-style comments, both single line <code>//
Comment.</code> as well as multi-line <code>/* Comment. */</code>.
</li>
<li>
String literals can use either single quotes
(<code>'text'</code>) or double quotes (<code>"text"</code>) simplifying IDL
usage in JSON or Java languages - you
@@ -153,7 +153,7 @@ id: intent_matching
Built-in literals <code>true</code>, <code>false</code> and
<code>null</code> for boolean and null values.
</li>
<li>
- Algebraic and logical expression including operator precedence
follow standard C language conventions.
+ Algebraic and logical expression including operator precedence
follow standard Java language conventions.
</li>
<li>
Both integer and real numeric literals can use underscore
<code>'_'</code> character for separation as in <code>200_000</code>.
@@ -208,7 +208,7 @@ id: intent_matching
intent=xa
flow="^(?:xx)(^:zz)*$"
meta={'a': 42, 'b': {'Москва': [1, 2, 3]}}
- term(a)={month() >= 6 && !(tok_id()) != -25 &&
meta_model('a') == 42}[1,3]
+ term(a)={month() >= 6 && !(tok_id()) != "z`" &&
meta_model('a') == 100_500}[1,3]
term(b)~{
@a = meta_model('a')
@list = list(1, 2, 3, 4)