Skip to content

Conversation

@iansimonson
Copy link
Contributor

Adds the odin.xml rules for parsing Odin syntax along with odin.actual and odin.expected

Should handle the majority of Odin syntax well enough including nested comments. Currently, I have attributes as one token rather than sub-lexing the @(x = y) as it's a couple different optional cases.

I think I followed the lexers/README.md properly but let me know if not

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
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
Odin has a number of other built in integer types that are not
in most other languages. Make sure those are included
@alecthomas alecthomas merged commit e1e698d into alecthomas:master Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants