This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
374 B

  1. start: header _NL row+
  2. header: "#" " "? (WORD _SEPARATOR?)+
  3. row: (_anything _SEPARATOR?)+ _NL
  4. _anything: INT | WORD | NON_SEPARATOR_STRING | FLOAT | SIGNED_FLOAT
  5. NON_SEPARATOR_STRING: /[a-zA-z.;\\\/]+/
  6. _SEPARATOR: /[ ]+/
  7. | "\t"
  8. | ","
  9. %import common.NEWLINE -> _NL
  10. %import common.WORD
  11. %import common.INT
  12. %import common.FLOAT
  13. %import common.SIGNED_FLOAT