mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 15:22:50 -06:00
Added binary numeral grammars.
This commit is contained in:
10
examples/numerals/Binary.gf
Normal file
10
examples/numerals/Binary.gf
Normal file
@@ -0,0 +1,10 @@
|
||||
abstract Binary = {
|
||||
|
||||
cat Bin;
|
||||
|
||||
fun End : Bin ;
|
||||
fun Zero : Bin -> Bin ;
|
||||
fun One : Bin -> Bin ;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user