summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.i6t
blob: 0f41b425db35a2370cc15c019a1980c32ae3fb45 (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
B/examt: Example Template.

@Purpose: To show the syntax of I6T, specifically the parts relating to the
inclusion of I7 and at signs in the first column.

@-------------------------------------------------------------------------------

@p Lines.

@c
{-lines:type}
! This is a comment.
{-endlines}

@-This line begins with @-, so it is ignored.

@p Paragraph.
This is a paragraph.
@p Another paragraph.
So

is

this.

@Purpose: This purpose line is ignored.

@c At signs and (+ +).
[ Foo i;
print (+score [an I7 value]+), "^";
@add sp 1 -> i; ! Assembly works even in the first column.
];