daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Lexical Parser */
  2. !whitespace '\t' | '\n' | '\r' | ' ' ;
  3.  
  4. _letter : 'A'-'Z' | 'a'-'z' | '_' ;
  5. _digit : '0'-'9' ;
  6. _alpha : _letter | _digit ;
  7.  
  8. string_literal : '"' {_alpha} '"' ;
  9. int : '1'-'9' {_digit} ;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top