aboutsummaryrefslogtreecommitdiff
path: root/test/cases/token.bqn
blob: dd75fbfa0ae2dec036ebbdd30fd4170fa9b88779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Strings, comments, whitespace
# Can't test LF inside quotes here
"#"≡⥊'#'
0 % ""#""
1#+1\#'
1 #,0⋄0
1     #"␖ 
	1
(@+9)'	'  #tab	

# Juxtaposition
@π  π@
·22
6 % 33-⋆3 3
⊑='a'"a"
F-  "abcd"F"bcd"

# Special names
9 % 1+{𝕗𝕗{𝕎𝕩}𝕩𝕩}3
0+{𝕎𝕏𝔽𝔾𝕊1}-2
! % {_𝕩}4
! % 0{2_𝕣𝕩} 1
! % 0{_𝕣_𝕣_𝕩} 1
! % {_𝕣a_}
! % {•_𝕣}
! % {a𝕣r}
! % 0{1{𝕘𝕗}𝕣𝕣𝕩} 1

# Variable names
3 % a3  _A_
underπ  uNdER_  u_n__d___e____r
_f{-𝕗}  ¯1 __f

# Non-allowed characters (last is vertical tab)
! % *
! % ^
! %