diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
| commit | f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch) | |
| tree | 946c9e8542b8e8271b6b529a95c0400fa6613cb4 /examples/gfcc/Imper.gf | |
| parent | 8e1c6cca407c82fc09569d80c231b8d256735989 (diff) | |
Remove contribs and examples
Everything has now been moved to a separate repository at
https://github.com/GrammaticalFramework/gf-contrib
The contents of the examples folder are build during SetupWeb
Diffstat (limited to 'examples/gfcc/Imper.gf')
| -rw-r--r-- | examples/gfcc/Imper.gf | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/examples/gfcc/Imper.gf b/examples/gfcc/Imper.gf deleted file mode 100644 index a207759b7..000000000 --- a/examples/gfcc/Imper.gf +++ /dev/null @@ -1,53 +0,0 @@ -abstract Imper = { - - flags startcat = Program ; - - cat - Program ; - Rec ListTyp ; - Typ ; - IsNum Typ ; - ListTyp ; - Fun ListTyp Typ ; - Stm ; - Exp Typ ; - Var Typ ; - ListExp ListTyp ; - - fun - Empty : Program ; - Funct : (AS : ListTyp) -> (V : Typ) -> - (Fun AS V -> Rec AS) -> Program ; - FunctNil : (V : Typ) -> - Stm -> (Fun NilTyp V -> Program) -> Program ; - RecOne : (A : Typ) -> (Var A -> Stm) -> Program -> Rec (ConsTyp A NilTyp) ; - RecCons : (A : Typ) -> (AS : ListTyp) -> - (Var A -> Rec AS) -> Program -> Rec (ConsTyp A AS) ; - - Decl : (A : Typ) -> (Var A -> Stm) -> Stm ; - Assign : (A : Typ) -> Var A -> Exp A -> Stm -> Stm ; - While : Exp TInt -> Stm -> Stm -> Stm ; - IfElse : Exp TInt -> Stm -> Stm -> Stm -> Stm ; - Block : Stm -> Stm -> Stm ; - Printf : (A : Typ) -> Exp A -> Stm -> Stm ; - Return : (A : Typ) -> Exp A -> Stm ; - Returnv : Stm ; - End : Stm ; - - EVar : (A : Typ) -> Var A -> Exp A ; - EInt : Int -> Exp TInt ; - EFloat : Int -> Int -> Exp TFloat ; - ELt : (n : Typ) -> IsNum n -> Exp n -> Exp n -> Exp TInt ; - EAdd, EMul, ESub : (n : Typ) -> IsNum n -> Exp n -> Exp n -> Exp n ; - EAppNil : (V : Typ) -> Fun NilTyp V -> Exp V ; - EApp : (AS : ListTyp) -> (V : Typ) -> Fun AS V -> ListExp AS -> Exp V ; - - TInt, TFloat : Typ ; - isNumInt : IsNum TInt ; isNumFloat : IsNum TFloat ; - NilTyp : ListTyp ; - ConsTyp : Typ -> ListTyp -> ListTyp ; - - OneExp : (A : Typ) -> Exp A -> ListExp (ConsTyp A NilTyp) ; - ConsExp : (A : Typ) -> (AS : ListTyp) -> - Exp A -> ListExp AS -> ListExp (ConsTyp A AS) ; -} |
