<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'main/command.go')
-rw-r--r--main/command.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/command.go b/main/command.go
index c61b0cd..8053b86 100644
--- a/main/command.go
+++ b/main/command.go
@@ -2,6 +2,7 @@ package main
import (
"main/walk"
+ "main/subex"
)
type PrintValueCommand struct {}
@@ -103,6 +104,13 @@ func (cmd DeleteAllCommand) exec(state *ProgramState) {
state.space = nil
}
+type SubstituteCommand struct {
+ subex subex.SubexState
+}
+func (cmd SubstituteCommand) exec(state *ProgramState) {
+ // TODO
+}
+
type Command interface {
exec(*ProgramState)
} \ No newline at end of file