Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ============================================================
- GOLD Parser Builder
- Version 5.2.0.
- ============================================================
- ========================================
- Grammar
- ========================================
- ! The grammar table file was successfully loaded.
- !
- ! The file only contains the Symbol Table, Production Table, LALR State Table
- ! DFA State Table and other related objects; not the original grammar.
- !
- ! The Defined Character Sets are blank since these are used for the
- ! construction of the Deterministic Finite Automata (used by the
- ! tokenizer) and not saved to the file (although it does contain
- ! character sets created at runtime).
- !
- ! In addition, the configurations normally displayed in the LALR State
- ! Table are not present. These are created at compile-time to create
- ! the parser's LALR table and are also not saved to the file.
- ========================================
- Grammar Properties
- ========================================
- Name Blizzeta Chat Syntax
- Version 1.0
- Author Adonis S. Deliannis
- About A Simple Script Language that allows full interaction with an IRC Bot
- Character Set Unicode
- Character Mapping Windows-1252
- Generated By GOLD Parser Builder 5.2.0.
- Generated Date 2013-12-31 16:59
- ========================================
- Terminals
- ========================================
- 0 (EOF)
- 1 (Error)
- 2 Whitespace
- 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 are
- 28 Bool
- 29 CommentLine
- 30 def
- 31 do
- 32 else
- 33 for
- 34 how
- 35 Identifier
- 36 if
- 37 is
- 38 NewLine
- 39 Number
- 40 read
- 41 return
- 42 StringLiteral
- 43 what
- 44 when
- 45 where
- 46 while
- 47 who
- 48 why
- 49 write
- ========================================
- Nonterminals
- ========================================
- 50 <Action>
- 51 <Bin Op>
- 52 <def>
- 53 <delm Opt>
- 54 <Expression>
- 55 <Expressions>
- 56 <Identifier Opt>
- 57 <List>
- 58 <nl>
- 59 <nl Opt>
- 60 <Program>
- 61 <Stmt>
- 62 <Stmts>
- ========================================
- Rules
- ========================================
- 0 <nl> ::= NewLine <nl>
- 1 <nl> ::= NewLine
- 2 <nl Opt> ::= NewLine <nl Opt>
- 3 <nl Opt> ::=
- 4 <Identifier Opt> ::= Identifier <Identifier Opt>
- 5 <Identifier Opt> ::= Identifier ',' <Identifier Opt>
- 6 <Identifier Opt> ::=
- 7 <Expression> ::= Identifier
- 8 <Expression> ::= StringLiteral
- 9 <Expression> ::= Number
- 10 <Expression> ::= Bool
- 11 <Expression> ::= <Expression> <Bin Op> <Expression>
- 12 <Expressions> ::= <Expression> <Expressions>
- 13 <Expressions> ::=
- 14 <delm Opt> ::= ',' <nl Opt>
- 15 <delm Opt> ::=
- 16 <List> ::= <List> <Expression> <delm Opt>
- 17 <List> ::=
- 18 <Bin Op> ::= '+'
- 19 <Bin Op> ::= '-'
- 20 <Bin Op> ::= '*'
- 21 <Bin Op> ::= '/'
- 22 <Bin Op> ::= '<'
- 23 <Bin Op> ::= '>'
- 24 <Bin Op> ::= '='
- 25 <Bin Op> ::= '+='
- 26 <Bin Op> ::= '-='
- 27 <Bin Op> ::= '*='
- 28 <Bin Op> ::= '/='
- 29 <Bin Op> ::= '=='
- 30 <Bin Op> ::= '<='
- 31 <Bin Op> ::= '>='
- 32 <Bin Op> ::= '!='
- 33 <Action> ::= who
- 34 <Action> ::= what
- 35 <Action> ::= when
- 36 <Action> ::= where
- 37 <Action> ::= why
- 38 <Action> ::= how
- 39 <def> ::= is
- 40 <def> ::= are
- 41 <Stmt> ::= <Action> <def> Identifier <nl Opt> '{' <nl Opt> <List> <nl Opt> '}' ';' <nl Opt>
- 42 <Stmt> ::= if '(' <Expression> ')' <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> '}' <nl Opt>
- 43 <Stmt> ::= if '(' <Expression> ')' <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> '}' <nl Opt> else <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> '}' <nl Opt>
- 44 <Stmt> ::= if '(' <Expression> ')' <nl Opt> <Stmt> <nl Opt>
- 45 <Stmt> ::= if '(' <Expression> ')' <nl Opt> <Stmt> else <nl Opt> <Stmt> <nl Opt>
- 46 <Stmt> ::= for '(' <Expression> ';' <Expression> ';' <Expression> ')' <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> '}' <nl Opt>
- 47 <Stmt> ::= for '(' <Expression> ';' <Expression> ';' <Expression> ')' <nl Opt> <Stmt> <nl Opt>
- 48 <Stmt> ::= while '(' <Expression> ')' <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> '}' <nl Opt>
- 49 <Stmt> ::= while '(' <Expression> ')' <nl Opt> <Stmt> <nl Opt>
- 50 <Stmt> ::= do <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> '}' while '(' <Expression> ')' ';' <nl Opt>
- 51 <Stmt> ::= read '(' <Identifier Opt> ')' ';' <nl Opt>
- 52 <Stmt> ::= write '(' <Expression> ')' ';' <nl Opt>
- 53 <Stmt> ::= def Identifier '=' <Expression> ';' <nl Opt>
- 54 <Stmt> ::= def Identifier '=' <Stmt> ';' <nl Opt>
- 55 <Stmt> ::= Identifier <Bin Op> <Expression> ';' <nl Opt>
- 56 <Stmt> ::= '@' Identifier <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> '}' <nl Opt> ';' <nl Opt>
- 57 <Stmt> ::= '$' Identifier <nl Opt> '{' <nl Opt> <Stmts> <nl Opt> return <Expression> ';' <nl Opt> '}' <nl Opt>
- 58 <Stmt> ::= '%' Identifier '(' <Identifier Opt> ')' ';' <nl Opt>
- 59 <Stmts> ::= <Stmt> <Stmts>
- 60 <Stmts> ::=
- 61 <Program> ::= <nl Opt> <Stmts>
- ========================================
- DFA States
- ========================================
- State 0
- Goto 1 &09, &0B, &0C, &20, &A0
- Goto 2 !
- Goto 4 $
- Goto 5 %
- Goto 6 (
- Goto 7 )
- Goto 8 ,
- Goto 9 ;
- Goto 10 @
- Goto 11 {
- Goto 12 }
- Goto 13 #
- Goto 14 BCGJKLMNOPQSUVXYZ_bcgjklmnopqsuvxyz
- Goto 16 &0A
- Goto 17 0123456789
- Goto 18 "
- Goto 23 &0D
- Goto 25 *
- Goto 27 +
- Goto 29 -
- Goto 31 /
- Goto 33 <
- Goto 35 =
- Goto 37 >
- Goto 39 Aa
- Goto 42 Dd
- Goto 46 Ee
- Goto 50 Ff
- Goto 57 Hh
- Goto 60 Ii
- Goto 63 Rr
- Goto 71 Tt
- Goto 75 Ww
- State 1
- Goto 1 &09, &0B, &0C, &20, &A0
- State 2
- Goto 3 =
- State 3
- State 4
- State 5
- State 6
- State 7
- State 8
- State 9
- State 10
- State 11
- State 12
- State 13
- State 14
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 15
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 16
- State 17
- Goto 17 0123456789
- State 18
- Goto 19 &09, &20, &21, &23 .. &5B, &5D .. &7E, &A0
- Goto 20 \
- Goto 22 "
- State 19
- Goto 19 &09, &20, &21, &23 .. &5B, &5D .. &7E, &A0
- Goto 20 \
- Goto 22 "
- State 20
- Goto 21 {Space}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~{NBSP}
- State 21
- Goto 19 &09, &20, &21, &23 .. &5B, &5D .. &7E, &A0
- Goto 20 \
- Goto 22 "
- State 22
- State 23
- Goto 24 &0A
- State 24
- State 25
- Goto 26 =
- State 26
- State 27
- Goto 28 =
- State 28
- State 29
- Goto 30 =
- State 30
- State 31
- Goto 32 =
- State 32
- State 33
- Goto 34 =
- State 34
- State 35
- Goto 36 =
- State 36
- State 37
- Goto 38 =
- State 38
- State 39
- Goto 15 0123456789ABCDEFGHIJKLMNOPQSTUVWXYZ_abcdefghijklmnopqstuvwxyz
- Goto 40 Rr
- State 40
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 41 Ee
- State 41
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 42
- Goto 15 0123456789ABCDFGHIJKLMNPQRSTUVWXYZ_abcdfghijklmnpqrstuvwxyz
- Goto 43 Ee
- Goto 45 Oo
- State 43
- Goto 15 0123456789ABCDEGHIJKLMNOPQRSTUVWXYZ_abcdeghijklmnopqrstuvwxyz
- Goto 44 Ff
- State 44
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 45
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 46
- Goto 15 0123456789ABCDEFGHIJKMNOPQRSTUVWXYZ_abcdefghijkmnopqrstuvwxyz
- Goto 47 Ll
- State 47
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRTUVWXYZ_abcdefghijklmnopqrtuvwxyz
- Goto 48 Ss
- State 48
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 49 Ee
- State 49
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 50
- Goto 15 0123456789BCDEFGHIJKLMNPQRSTUVWXYZ_bcdefghijklmnpqrstuvwxyz
- Goto 51 Aa
- Goto 55 Oo
- State 51
- Goto 15 0123456789ABCDEFGHIJKMNOPQRSTUVWXYZ_abcdefghijkmnopqrstuvwxyz
- Goto 52 Ll
- State 52
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRTUVWXYZ_abcdefghijklmnopqrtuvwxyz
- Goto 53 Ss
- State 53
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 54 Ee
- State 54
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 55
- Goto 15 0123456789ABCDEFGHIJKLMNOPQSTUVWXYZ_abcdefghijklmnopqstuvwxyz
- Goto 56 Rr
- State 56
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 57
- Goto 15 0123456789ABCDEFGHIJKLMNPQRSTUVWXYZ_abcdefghijklmnpqrstuvwxyz
- Goto 58 Oo
- State 58
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ_abcdefghijklmnopqrstuvxyz
- Goto 59 Ww
- State 59
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 60
- Goto 15 0123456789ABCDEGHIJKLMNOPQRTUVWXYZ_abcdeghijklmnopqrtuvwxyz
- Goto 61 Ff
- Goto 62 Ss
- State 61
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 62
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 63
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 64 Ee
- State 64
- Goto 15 0123456789BCDEFGHIJKLMNOPQRSUVWXYZ_bcdefghijklmnopqrsuvwxyz
- Goto 65 Aa
- Goto 67 Tt
- State 65
- Goto 15 0123456789ABCEFGHIJKLMNOPQRSTUVWXYZ_abcefghijklmnopqrstuvwxyz
- Goto 66 Dd
- State 66
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 67
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTVWXYZ_abcdefghijklmnopqrstvwxyz
- Goto 68 Uu
- State 68
- Goto 15 0123456789ABCDEFGHIJKLMNOPQSTUVWXYZ_abcdefghijklmnopqstuvwxyz
- Goto 69 Rr
- State 69
- Goto 15 0123456789ABCDEFGHIJKLMOPQRSTUVWXYZ_abcdefghijklmopqrstuvwxyz
- Goto 70 Nn
- State 70
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 71
- Goto 15 0123456789ABCDEFGHIJKLMNOPQSTUVWXYZ_abcdefghijklmnopqstuvwxyz
- Goto 72 Rr
- State 72
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTVWXYZ_abcdefghijklmnopqrstvwxyz
- Goto 73 Uu
- State 73
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 74 Ee
- State 74
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 75
- Goto 15 0123456789ABCDEFGIJKLMNOPQSTUVWXYZ_abcdefgijklmnopqstuvwxyz
- Goto 76 Hh
- Goto 88 Rr
- State 76
- Goto 15 0123456789BCDFGHJKLMNPQRSTUVWXZ_bcdfghjklmnpqrstuvwxz
- Goto 77 Aa
- Goto 79 Ee
- Goto 83 Ii
- Goto 86 Oo
- Goto 87 Yy
- State 77
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSUVWXYZ_abcdefghijklmnopqrsuvwxyz
- Goto 78 Tt
- State 78
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 79
- Goto 15 0123456789ABCDEFGHIJKLMOPQSTUVWXYZ_abcdefghijklmopqstuvwxyz
- Goto 80 Nn
- Goto 81 Rr
- State 80
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 81
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 82 Ee
- State 82
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 83
- Goto 15 0123456789ABCDEFGHIJKMNOPQRSTUVWXYZ_abcdefghijkmnopqrstuvwxyz
- Goto 84 Ll
- State 84
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 85 Ee
- State 85
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 86
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 87
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- State 88
- Goto 15 0123456789ABCDEFGHJKLMNOPQRSTUVWXYZ_abcdefghjklmnopqrstuvwxyz
- Goto 89 Ii
- State 89
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSUVWXYZ_abcdefghijklmnopqrsuvwxyz
- Goto 90 Tt
- State 90
- Goto 15 0123456789ABCDFGHIJKLMNOPQRSTUVWXYZ_abcdfghijklmnopqrstuvwxyz
- Goto 91 Ee
- State 91
- Goto 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz
- ========================================
- LALR States
- ========================================
- ========================================
- System Log
- ========================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement