Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /trunk/src/compiler/parser/diderot.lex
ViewVC logotype

Diff of /trunk/src/compiler/parser/diderot.lex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 249, Fri Aug 6 21:37:04 2010 UTC revision 250, Fri Aug 6 21:37:28 2010 UTC
# Line 104  Line 104 
104  <INITIAL> "@"           => (T.OP_at);  <INITIAL> "@"           => (T.OP_at);
105  <INITIAL> "⊛"         => (T.OP_convolve);  <INITIAL> "⊛"         => (T.OP_convolve);
106  <INITIAL> "(*)"         => (T.OP_convolve);  <INITIAL> "(*)"         => (T.OP_convolve);
107    <INITIAL> "∇"         => (T.KW_D);
108  <INITIAL> "("           => (T.LP);  <INITIAL> "("           => (T.LP);
109  <INITIAL> ")"           => (T.RP);  <INITIAL> ")"           => (T.RP);
110  <INITIAL> "["           => (T.LB);  <INITIAL> "["           => (T.LB);
# Line 118  Line 119 
119  <INITIAL> "|"           => (T.BAR);  <INITIAL> "|"           => (T.BAR);
120  <INITIAL> ".."          => (T.DOTDOT);  <INITIAL> ".."          => (T.DOTDOT);
121    
122    <INITIAL> "∞"         => (T.FLOAT FloatLit.posInf);
123    
124  <INITIAL> {id}          => (Keywords.idToken yytext);  <INITIAL> {id}          => (Keywords.idToken yytext);
125    
126  <INITIAL> {num}         => (T.INT(valOf (IntInf.fromString yytext)));  <INITIAL> {num}         => (T.INT(valOf (IntInf.fromString yytext)));

Legend:
Removed from v.249  
changed lines
  Added in v.250

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0