Skip to content

more parser/codegen separation #4121

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

Merged
merged 18 commits into from
Aug 22, 2022
Merged

Conversation

youknowone
Copy link
Member

@youknowone youknowone commented Aug 21, 2022

  • rustpython_bytecode -> rustpython_compiler_core with more features including Mode and Error
  • allow compile related features as much as possible with partial supports
  • Rename CodegenError
  • ParseError, CodegenError, CompileError shares same structure for conversion
  • vm::compiler defines its own CompileError for partial compiler support

Fix #4100

@youknowone youknowone force-pushed the compiler branch 6 times, most recently from 2d1aa9c to fed552e Compare August 22, 2022 19:39
@youknowone youknowone merged commit 0d19e0c into RustPython:main Aug 22, 2022
@youknowone youknowone deleted the compiler branch August 22, 2022 20:57
@yt2b yt2b mentioned this pull request Nov 25, 2022
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.

mixed bytes and string raises ValueError instead of SyntaxError
1 participant