mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 17:22:51 -06:00
changed names of resource-1.3; added a note on homepage on release
This commit is contained in:
11
old-examples/numerals/BinaryDigits.gf
Normal file
11
old-examples/numerals/BinaryDigits.gf
Normal file
@@ -0,0 +1,11 @@
|
||||
concrete BinaryDigits of Binary = {
|
||||
|
||||
flags startcat=Bin ;
|
||||
|
||||
lincat Bin = { s : Str } ;
|
||||
|
||||
lin End = { s = "" } ;
|
||||
lin Zero b = { s = "0" ++ b.s } ;
|
||||
lin One b = { s = "1" ++ b.s } ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user