Skip to content

Conversation

@konard
Copy link
Member

@konard konard commented Sep 13, 2025

Summary

Fixes operator spacing in regex patterns to use "sweet style" instead of "drunkard style" as requested in issue #59.

Changes Made

  • C# file (CSharpToCppTransformer.cs): Fixed 3 regex patterns
  • Python file (cs2cpp.py): Fixed 3 regex patterns

Spacing Changes

  • Before (drunkard style): operator ==(...)
  • After (sweet style): operator==(...)

All spacing around equality (==) and inequality (!=) operators has been removed to achieve the consistent "sweet style" format.

Test Plan

  • C# tests pass (2/2 tests successful)
  • Code builds without errors
  • Manual verification of regex pattern changes
  • No functional changes - only cosmetic spacing fixes

Resolves #59

🤖 Generated with Claude Code

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #59
@konard konard self-assigned this Sep 13, 2025
Removes spaces around equality and inequality operators (==, !=) in regex patterns to follow the "sweet style" format:
- Before: operator ==(...)
- After: operator==(...)

Fixed patterns in both C# and Python implementations:
- CSharpToCppTransformer.cs: Fixed 3 regex patterns
- cs2cpp.py: Fixed 3 regex patterns

Resolves issue #59

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@konard konard changed the title [WIP] Not use drunkard style Fix operator spacing: use sweet style instead of drunkard style Sep 13, 2025
@konard konard marked this pull request as ready for review September 13, 2025 09:43
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.

Not use drunkard style

2 participants