From 7334c4b65d6722911c20af34f830ddc6c69b57e5 Mon Sep 17 00:00:00 2001 From: JJ Date: Thu, 16 May 2024 20:26:51 -0700 Subject: std: switch from chr to char --- docs/book/SYNTAX.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs/book/SYNTAX.html') diff --git a/docs/book/SYNTAX.html b/docs/book/SYNTAX.html index a241b74..4860718 100644 --- a/docs/book/SYNTAX.html +++ b/docs/book/SYNTAX.html @@ -378,7 +378,7 @@ of that then ...
not
and
or
xor
shl
shr
div
mod
rem
+
-
*
/
<
>
<=
>=
==
!=
is
async
await
int
uint
float
i\d+
u\d+
+int
uint
float
i[\d]+
u[\d]+
f32
f64
f128
dec64
dec128
If ::= 'if' Expr 'then' Body ('elif' Expr 'then' Body)* ('else' Body)?
When ::= 'when' Expr 'then' Body ('elif' Expr 'then' Body)* ('else' Body)?
-Try ::= 'try' Body
- ('except' Ident ('as' Ident)? (',' Ident ('as' Ident)?)*) 'then' Body)+
- ('finally' Body)?
+Try ::= 'try' Body ('with' Pattern (',' Pattern)* 'then' Body)+ ('finally' Body)?
Match ::= 'match' Expr ('of' Pattern (',' Pattern)* ('where' Expr)? 'then' Body)+
While ::= 'while' Expr 'do' Body
For ::= 'for' Pattern 'in' Expr 'do' Body
--
cgit v1.2.3-70-g09d2