diff options
Diffstat (limited to 'ragel/host-go/out-go.lm')
-rw-r--r-- | ragel/host-go/out-go.lm | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/ragel/host-go/out-go.lm b/ragel/host-go/out-go.lm deleted file mode 100644 index 63d2731b..00000000 --- a/ragel/host-go/out-go.lm +++ /dev/null @@ -1,47 +0,0 @@ -namespace out_go - token _IN_ /''/ - token _EX_ /''/ - - lex - token comment / - '//' any* :> '\n' | - '/*' any* :>> '*/' - / - - token id - /[a-zA-Z_][a-zA-Z_0-9]*/ - - token number / - [0-9]+ - / - - token symbol / - '!' | '#' | '$' | '%' | '&' | '(' | ')' | '*' | - '+' | ',' | '-' | '.' | '/' | ':' | ';' | '<' | - '=' | '>' | '?' | '@' | '[' | ']' | '^' | '|' | - '~' / - - literal `{ `} - - token string / - '"' ( [^"\\] | '\\' any ) * '"' | - "'" ( [^'\\] | '\\' any ) * "'" - / - - ignore - /[ \t\v\r\n]+/ - end - - def item - [comment] - | [id] - | [number] - | [symbol] - | [string] - | [`{ _IN_ item* _EX_ `} ] - - def out_go - [_IN_ _EX_ item*] -end - - |