mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
gf-book web page index and toc
This commit is contained in:
7
gf-book/examples/chapter8/Calculator.gf
Normal file
7
gf-book/examples/chapter8/Calculator.gf
Normal file
@@ -0,0 +1,7 @@
|
||||
abstract Calculator = {
|
||||
flags startcat = Exp ;
|
||||
cat Exp ;
|
||||
fun
|
||||
EPlus, EMinus, ETimes, EDiv : Exp -> Exp -> Exp ;
|
||||
EInt : Int -> Exp ;
|
||||
}
|
||||
Reference in New Issue
Block a user