Skip to content
Snippets Groups Projects
Select Git revision
  • b63cf3bbdb0cd48b3e2846852204031034faa596
  • master default
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.1
  • v2014.0
  • v2013.0
10 results

labcomm2006_decoder.c

Blame
  • Forked from Anders Blomdell / LabComm
    Source project has a limited visibility.
    LabComm.ast 537 B
    Program ::= Decl*;
    
    abstract Decl ::= Type <Name:String>;
    TypeDecl : Decl;
    SampleDecl : Decl;
    
    Field ::= Type <Name:String>;
    
    abstract Type;
    VoidType          : Type;
    PrimType          : Type ::= <Name:String> <Token:int>;
    UserType          : Type ::= <Name:String>;
    StructType        : Type ::= Field*;
    ParseArrayType    : Type ::= Type Dim*;
    abstract ArrayType :Type ::= Type Exp*;
    VariableArrayType : ArrayType;
    FixedArrayType    : ArrayType;
    
    Dim ::= Exp*;
    
    abstract Exp;
    IntegerLiteral : Exp ::= <Value:String>;
    VariableSize : Exp;