mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
use parser combinators to parse the shell commands. simplified CommandLine type
This commit is contained in:
@@ -51,7 +51,7 @@ data Exp =
|
||||
| EStr String -- ^ string constant
|
||||
| EInt Integer -- ^ integer constant
|
||||
| EFloat Double -- ^ floating point constant
|
||||
| EMeta Integer -- ^ meta variable
|
||||
| EMeta Int -- ^ meta variable
|
||||
| EVar CId -- ^ variable reference
|
||||
| EEq [Equation] -- ^ lambda function defined as a set of equations with pattern matching
|
||||
deriving (Eq,Ord,Show)
|
||||
|
||||
Reference in New Issue
Block a user