wrote dsl for ast boiler plate generation
This commit is contained in:
parent
b244f7e3b2
commit
e0dd8ff9d5
16 changed files with 915 additions and 60 deletions
|
|
@ -11,6 +11,7 @@ type REPL struct {
|
|||
input textinput.Model
|
||||
|
||||
history []string
|
||||
output []string
|
||||
historySize uint
|
||||
}
|
||||
|
||||
|
|
@ -24,6 +25,7 @@ func NewREPL(historySize uint) REPL {
|
|||
|
||||
return REPL{
|
||||
history: make([]string, historySize),
|
||||
output: make([]string, historySize),
|
||||
historySize: historySize,
|
||||
input: inputModel,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue