Skip to content

Auxiliary : Scanner #5

@Ed94

Description

@Ed94

Should be a generalized solution for Scanning files into an AST in various ways.

The rough way for simple "component" files (as used in this library) is to just scan the file and store the content as an untyped_str AST.
Great to do manual #include injection. This should not be the default behavior though.

A more proper way (for validation) is to generate an ast from the content using parse_global_body. From there if requests are provided to the scanner, it sifts through the AST to fulfill the requests. If no requests are provided it should just parse and thus generate the AST as the result.

The scanner at minimum to find all identifiers in execution scope would need to keep track of hashed keywords in a namespace group (global, namespaced, class/struct scope, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolingAuxiliary tool or extension beyond the core library

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions