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
|
{1}; Enumerate all styles: 0 to 15 except for 11(comment block) which is not yet implemented.
; This is not a viable source file, it just illustrates the different states in isolation.
{0}
{1}; comment=1
; Comment
{0}
{1}; whitespace=0
{0} {1}; w
{0}
{1}; number=2
{2}11{0}
{1}; string=3
{3}"String"{0}
{1}; operator=4
{4}+{0}
{1}; identifier=5
{5}identifier{0}
{1}; CPU instruction=6
{6}add{0}
{1}; math Instruction=7
{7}fadd{0}
{1}; register=8
{8}ECX{0}
{1}; directive=9
{9}section{0}
{1}; directive operand=10
{10}rel{0}
{1}; comment block=11 is for future expansion
{0}
{1}; character=12
{12}'character'{0}
{1}; string EOL=13
{13}"no line end
{0}
{1}; extended instruction=14
{14}movq{0}
{1}; comment directive=15
{0} {9}comment{0} {15}~ A multiple-line
comment directive~{0}
{1};end
|