File: struct_lit-recursive.txt

package info (click to toggle)
pygments 2.18.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,184 kB
  • sloc: python: 103,327; javascript: 238; makefile: 142; sh: 84; lisp: 74
file content (30 lines) | stat: -rw-r--r-- 823 bytes parent folder | download
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
---input---
{:alice {:likes :bob} :bob {:likes :carol} :carol {:likes :alice}}

---tokens---
'{'           Punctuation
':alice'      Name.Constant
' '           Text.Whitespace
'{'           Punctuation
':likes'      Name.Constant
' '           Text.Whitespace
':bob'        Name.Constant
'}'           Punctuation
' '           Text.Whitespace
':bob'        Name.Constant
' '           Text.Whitespace
'{'           Punctuation
':likes'      Name.Constant
' '           Text.Whitespace
':carol'      Name.Constant
'}'           Punctuation
' '           Text.Whitespace
':carol'      Name.Constant
' '           Text.Whitespace
'{'           Punctuation
':likes'      Name.Constant
' '           Text.Whitespace
':alice'      Name.Constant
'}'           Punctuation
'}'           Punctuation
'\n'          Text.Whitespace