unix command grammar started

This commit is contained in:
aarne
2006-04-12 21:14:32 +00:00
parent 0bffc3c9f6
commit 1a3b95d696
3 changed files with 84 additions and 0 deletions

24
examples/unix/Unix.gf Normal file
View File

@@ -0,0 +1,24 @@
abstract Unix = {
cat
S ;
Line ;
Command ;
File ;
fun
Pipe : Command -> S -> S ;
Comm : Command -> S ;
WhatTime : Command ;
WhatDate : Command ;
WhereNow : Command ;
Remove : File -> Command ;
Copy : File -> File -> Command ;
Linecount : File -> Command ;
Wordcount : File -> Command ;
Name : String -> File ;
It : File ;
}