Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add import statements #110

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Add import statements #110

wants to merge 6 commits into from

Commits on Nov 10, 2023

  1. Design new import syntax

    nicopap committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    675130f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Add back the chirpunk example

    We can now use bevy-ui-navigation 0.33 with bevy 0.12, and the chirpunk
    example works again.
    nicopap committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    8fe1b9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eacc2a3 View commit details
    Browse the repository at this point in the history
  3. Design and add import syntax

    I settled on an import syntax. It is markedly different from the draft
    one. So we needed to change the AST and parser to account for those
    changes.
    nicopap committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    1d46f29 View commit details
    Browse the repository at this point in the history
  4. WIP Add example to test imports

    Of course it's broken right now.
    nicopap committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    3f32f53 View commit details
    Browse the repository at this point in the history
  5. Add handling of pub templates

    - Now templates with a pub prefix are collected in the pub_templates Ast
      struct field
    - Now, when parsing, the result may either be a scene or a template
      library.
    - Template libraries are mutually exclusive with scene files.
    nicopap committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    2ba6451 View commit details
    Browse the repository at this point in the history