SCM Repository
[diderot] / trunk / src / parser / diderot.grm |
View of /trunk/src/parser/diderot.grm
Parent Directory
|
Revision Log
Revision 14 -
(download)
(annotate)
Tue Jan 12 23:03:22 2010 UTC (11 years ago) by jhr
File size: 569 byte(s)
Tue Jan 12 23:03:22 2010 UTC (11 years ago) by jhr
File size: 569 byte(s)
Starting to work on parser for Diderot
(* diderot.grm * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. *) %name Diderot; %tokens : KW_actor ("actor") | KW_field ("field") | KW_image ("image") | OP_plus ("+") | OP_minus ("-") | OP_star ("*") | OP_at ("@") | LP ("(") | RP (")") | LB ("[") | RB ("]") | LCB ("{") | RCB ("}") | INT of IntInf.int | FLOAT of FloatLit.float | STRING of string ; File : Decl+ ; Decl : ImageDecl | ValueDecl | FunDecl | ActorDecl ; ImageDecl : "image" ID ";" ;
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |