1
0
forked from GitHub/gf-core

Refactor GF shell modules to improve modularity and reusability

+ Move type CommandInfo from GF.Command.Commands to a new module
  GF.Commands.CommandInfo and make it independent of the PGF type.
+ Make the module GF.Command.Interpreter independent of the PGF type and
  eliminate the import of GF.Command.Commands.
+ Move the implementation of the "help" command to its own module
  GF.Command.Help
This commit is contained in:
hallgren
2015-08-10 13:01:02 +00:00
parent 4866931df6
commit 97c6ffd462
7 changed files with 204 additions and 188 deletions

View File

@@ -1,6 +1,6 @@
module GF.Command.Abstract where
module GF.Command.Abstract(module GF.Command.Abstract,Expr,showExpr) where
import PGF(CId,mkCId,Expr)
import PGF(CId,mkCId,Expr,showExpr)
type Ident = String