wrote dsl for ast boiler plate generation

This commit is contained in:
basil 2025-06-08 21:18:17 -04:00
parent b244f7e3b2
commit e0dd8ff9d5
Signed by: basil
SSH key fingerprint: SHA256:y04xIFL/yqNaG9ae9Vl95vELtHfApGAIoOGLeVLP/fE
16 changed files with 915 additions and 60 deletions

View file

@ -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,
}