Improved code layout
This commit is contained in:
parent
5cedb516c5
commit
890f782af8
4 changed files with 133 additions and 110 deletions
|
@ -19,8 +19,8 @@ func New(files ...string) *Build {
|
|||
|
||||
// Run parses the input files and generates an executable file.
|
||||
func (build *Build) Run() (map[string]*Function, error) {
|
||||
functions, errors := Scan(build.Files)
|
||||
return Compile(functions, errors)
|
||||
functions, errors := scan(build.Files)
|
||||
return compile(functions, errors)
|
||||
}
|
||||
|
||||
// Executable returns the path to the executable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue