Skip to content

Add option for uncolored compiler output - #56

Merged
farkon00 merged 1 commit into
farkon00:masterfrom
pttydou:fix/issue-55-uncolored-stderr
Aug 24, 2026
Merged

Add option for uncolored compiler output#56
farkon00 merged 1 commit into
farkon00:masterfrom
pttydou:fix/issue-55-uncolored-stderr

Conversation

@pttydou

@pttydou pttydou commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Fixes #55.

This adds -nc/--no-color and applies it to compiler diagnostics. The test runner now disables ANSI output, so stderr fixtures are plain text.

Tests:

  • python -m pytest test.py -k 'compile_if3 or proc_tc' -q
  • python -m py_compile config.py state.py cont.py parsing/parsing.py type_checking/type_checking.py test.py

I couldn't run the full fasm/wasm suite locally because fasm and wabt aren't installed on this Windows host.

@farkon00

Copy link
Copy Markdown
Owner

Changes look good to me. Thanks for contributing!

@farkon00
farkon00 merged commit 616a33f into farkon00:master Aug 24, 2026
1 check passed
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.

Uncolored stderr output option

2 participants