aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2023-07-23 12:24:32 -0230
committerSam Anthony <sam@samanthony.xyz>2023-07-23 12:24:32 -0230
commit3951f8c09b3f49253cf0d354df708069223d0316 (patch)
tree6392fad888bfde768008c83b58dd1575f6c87f9f /main.go
parent4a585fba1ac08cd9f184627a4a8b781d0b52efcb (diff)
downloadpfc-3951f8c09b3f49253cf0d354df708069223d0316.zip
constant and function parsing skeleton
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.go b/main.go
index 0a84c8f..78f4665 100644
--- a/main.go
+++ b/main.go
@@ -7,14 +7,12 @@ import (
"github.com/charmbracelet/bubbletea"
)
-// Types
-
type Calculator struct {
- stack []float64
+ stack Stack
buffer string
}
-// Function Definitions
+type Stack []float64
func main() {
if _, err := tea.NewProgram(new(UI)).Run(); err != nil {