BadVPN – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 There is nothing to see here. Go and look at the file called "metagrammar".
2  
3 : $$ = new lime();
4 grammar pragma toklist stop : $$->pragma($2, $3);
5 grammar rewrite stop : $2->update($$);
6 to grammar
7 : {$$=array();}
8 toklist sym : $$[] = $2;
9 toklist lit : $$[] = $2;
10 to toklist
11 sym '=' rhs : $$ = new lime_rewrite($1); $$->add_rhs($3);
12 rewrite '|' rhs : $$->add_rhs($3);
13 to rewrite
14 list : $$ = new lime_rhs($1, '');
15 list action : $$ = new lime_rhs($1, $2);
16 to rhs
17 action : $$ = new lime_action($1, NULL);
18 action lambda : $$ = new lime_action($1, $2);
19 sym : $$ = new lime_glyph($1, NULL);
20 sym lambda : $$ = new lime_glyph($1, $2);
21 lit : $$ = new lime_glyph($1, NULL);
22 to slot
23 : $$ = new lime_rhs();
24 rhs slot : $$->add($2);
25 to rhs
26 '{' code '}' : $$ = $2;
27 to action
28 :
29 code php : $$.=$2;
30 code '{' code '}' : $$.='{'.$3.'}';
31 to code