blob: e3c1c2f9cc2da6b4d45a4bc3567622b66f6c5b8c (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
---input---
/*
* comment
*/
; comment
// comment
/
<CsoundSynthesizer>
<CsInstruments>
0dbfs = 1
prints "hello, world\n"
</CsInstruments>
<CsScore>
i 1 0 0
</CsScore>
<html>
<!DOCTYPE html>
</html>
</CsoundSynthesizer>
---tokens---
'/*\n * comment\n */' Comment.Multiline
'\n' Text
'; comment' Comment.Single
'\n' Text
'// comment' Comment.Single
'\n' Text
'/' Text
'\n' Text
'<CsoundSynthesizer' Name.Tag
'>' Name.Tag
'\n' Text
'<CsInstruments' Name.Tag
'>' Name.Tag
'\n' Text
'0dbfs' Name.Variable.Global
' ' Text
'=' Operator
' ' Text
'1' Literal.Number.Integer
'\n' Text
'prints' Name.Builtin
' ' Text
'"' Literal.String
'hello, world' Literal.String
'\\n' Literal.String.Escape
'"' Literal.String
'\n' Text
'</CsInstruments>' Name.Tag
'\n' Text
'<CsScore' Name.Tag
'>' Name.Tag
'\n' Text
'i' Keyword
' ' Text
'1' Literal.Number.Integer
' ' Text
'0' Literal.Number.Integer
' ' Text
'0' Literal.Number.Integer
'\n' Text
'</CsScore>' Name.Tag
'\n' Text
'<html' Name.Tag
'>' Name.Tag
'\n' Text
'<!DOCTYPE html>' Comment.Preproc
'\n' Text
'</html>' Name.Tag
'\n' Text
'</CsoundSynthesizer>' Name.Tag
'\n' Text
|