feat: parse saccharine, conversion incoming

This commit is contained in:
2025-12-27 23:36:44 -05:00
parent 14fc4b30da
commit f038d0a685
6 changed files with 186 additions and 57 deletions

View File

@@ -20,3 +20,11 @@ func (LetStatement) IsStatement() {}
func (DeclareStatement) IsStatement() {}
/** ------------------------------------------------------------------------- */
func NewLet(name string, parameters []string, body Expression) *LetStatement {
return &LetStatement{Name: name, Parameters: parameters, Body: body}
}
func NewDeclare(value Expression) *DeclareStatement {
return &DeclareStatement{Value: value}
}