Skip to content

Conversation

@Cokemonkey11
Copy link
Collaborator

  • Modified PrettyUtils to check for compilation errors before formatting
  • Added validation step that runs compiler.checkProg() after parsing
  • Throws RuntimeException with error details if compilation errors found
  • Added comprehensive test coverage for both valid and invalid code
  • Ensures pretty printer fails fast with clear error messages

- Modified PrettyUtils to check for compilation errors before formatting
- Added validation step that runs compiler.checkProg() after parsing
- Throws RuntimeException with error details if compilation errors found
- Added comprehensive test coverage for both valid and invalid code
- Ensures pretty printer fails fast with clear error messages

Co-authored-by: Ona <[email protected]>
@Cokemonkey11
Copy link
Collaborator Author

As discussed, there's a lot that's directionally wrong about this

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