i forgor
This commit is contained in:
@@ -18,13 +18,6 @@ type ParsingOperation struct {
|
||||
tree SyntaxTree
|
||||
}
|
||||
|
||||
// TODO:
|
||||
// * implement parser cache
|
||||
// * have this try to hit the cache, and actually parse on miss
|
||||
// * rename this to Fetch
|
||||
// - add `skim bool` argument. when this is true, don't parse any code or data
|
||||
// section initialization values, just definitions and their default values.
|
||||
|
||||
// Fetch returns the parsed module located at the specified path, and returns an
|
||||
// abstract syntax tree. If the module has not yet been parsed, it parses it
|
||||
// first.
|
||||
|
||||
@@ -4,6 +4,8 @@ import "git.tebibyte.media/arf/arf/file"
|
||||
import "git.tebibyte.media/arf/arf/types"
|
||||
import "git.tebibyte.media/arf/arf/infoerr"
|
||||
|
||||
// TODO: implement table of import names -> full paths from /. perhaps replace
|
||||
// requires[] with this, and build it when parsing the meta section.
|
||||
// SyntaxTree represents an abstract syntax tree. It covers an entire module. It
|
||||
// can be expected to be syntactically correct, but it might not be semantically
|
||||
// correct (because it has not been analyzed yet.)
|
||||
|
||||
Reference in New Issue
Block a user