Commits

Jiyin Yiyong committed f66b9e2

Cirru: add comma syntax

Comments (0)

Files changed (2)

pygments/lexers/web.py

             (r'\(', Operator, '#push'),
             (r'"', String, ('#pop', 'string')),
             (r'\s+', Text.Whitespace),
+            (r'\,', Operator, '#pop'),
         ],
         'line': [
             (r'^\B', Text.Whitespace, 'function'),

tests/examplefiles/scope.cirru

 print (add $ (int 1) (int 2))
 
 print $ unwrap $
-  map (a $ int 1) (b $ int 2)
+  map (a $ int 1) (b $ int 2)
+
+print a
+  int 1
+  , b c
+  int 2
+  , d