-
Notifications
You must be signed in to change notification settings - Fork 2
/
syntax_test.Rockstar.fizzbuzz_idiomatic.rock
47 lines (43 loc) · 1.63 KB
/
syntax_test.Rockstar.fizzbuzz_idiomatic.rock
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
// SYNTAX TEST "Packages/Rockstar/Rockstar.sublime-syntax"
Midnight takes your heart and your soul
// <- variable.other
// ^^^^^ keyword.other
// ^^^ keyword.other
// ^^^^^^^^^^ variable.other
// ^^^^^^^^^ variable.other
While your heart is as high as your soul
// ^^ keyword.other
// ^^^^^^^^^^ keyword.other
// ^^^^^^^^^ variable.other
Put your heart without your soul into your heart
Give back your heart
// <- keyword.other
// ^ keyword.other
// ^^^^^^^^^^ variable.other
Desire is a lovestruck ladykiller
// ^^^^^^^^^^^^^^^^^^^^^^^ constant.numeric
My world is nothing
// ^ constant.language.rockstar
Fire is ice
Hate is water
Until my world is Desire
Build my world up
If Midnight taking my world, Fire is nothing and Midnight taking my world, Hate is nothing
// ^ punctuation.separator.rockstar
// ^ punctuation.separator.rockstar
Shout "FizzBuzz!"
// ^^^^^^^^^^^ string.quoted
// ^ punctuation.definition.string.begin
// ^ punctuation.definition.string.end
Take it to the top
(this is a blank line to end the if statement)
// <- punctuation.definition.comment.rockstar
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block
// ^ punctuation.definition.comment.rockstar
If Midnight taking my world, Fire is nothing
Shout "Fizz!"
Take it to the top
If Midnight taking my world, Hate is nothing
Say "Buzz!"
Take it to the top
Whisper my world