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 Odin lexer #802

Merged
merged 3 commits into from
Jul 19, 2023
Merged

Add Odin lexer #802

merged 3 commits into from
Jul 19, 2023

Commits on Jul 19, 2023

  1. Add Odin lexer

    Adds the odin.xml rules for a lexer along with odin.actual and
    odin.expected
    
    Should handle the majority of Odin syntax well enough including nested comments.
    However for now I have just left attributes as one token rather than sub-parsing
    the @(x = y) to be multiple tokens
    iansimonson committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    1317a11 View commit details
    Browse the repository at this point in the history
  2. Revert hlsl, natural, and vhs.expected back to master

    These upated when I was generating odin.expected. I am
    not sure if it is better to update these as well or leave it
    so I figured I would leave for now
    iansimonson committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    9ff006f View commit details
    Browse the repository at this point in the history
  3. Add the sized bool types and all the big/little endian int types

    Odin has a number of other built in integer types that are not
    in most other languages. Make sure those are included
    iansimonson committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    1ec244d View commit details
    Browse the repository at this point in the history