Implemented struct parser

This commit is contained in:
Eduard Urbach 2025-02-04 14:41:04 +01:00
parent 00e7216256
commit 30940f0100
Signed by: eduard
GPG key ID: 49226B848C78F6C8
19 changed files with 388 additions and 252 deletions

View file

@ -23,8 +23,8 @@ func New(files ...string) *Build {
// Run compiles the input files.
func (build *Build) Run() (compiler.Result, error) {
files, functions, errors := scanner.Scan(build.Files)
return compiler.Compile(files, functions, errors)
files, functions, types, errors := scanner.Scan(build.Files)
return compiler.Compile(files, functions, types, errors)
}
// Executable returns the path to the executable.