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

Cleanup and renames #78

Merged
merged 18 commits into from
Jan 1, 2025
Merged

Cleanup and renames #78

merged 18 commits into from
Jan 1, 2025

Conversation

keithamus
Copy link
Owner

Yet another giant refactor:

  • Removed hdx_atom crate, instead opting to do interning on each node. This de-couples the lexer & parser from css the language itself.
  • Fold in hdx_syntax into hdx_lexer as it wasn't used outside of that.
  • Rename hdx_lexer to css_lexer.
  • Rename hdx_parser to css_parse.
  • Extensively document css_lexer & css_parse.
  • Fold in a bunch of the macros in hdx_ast into css_parse.
  • Rename hdx_ast to css_ast - make it just for CSS (the original intent was for hdx_ast to have multiple language ASTs, e.g. sass, but I think now we can add a sass_ast crate instead).

@keithamus keithamus force-pushed the cleanup-and-renames branch from 3c180a4 to 6b51d66 Compare January 1, 2025 00:02
@keithamus keithamus marked this pull request as ready for review January 1, 2025 00:29
@keithamus keithamus merged commit d788826 into main Jan 1, 2025
4 checks passed
@keithamus keithamus deleted the cleanup-and-renames branch January 1, 2025 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant