Open
Conversation
16607a5 to
c546d14
Compare
b8fe8d3 to
401d61e
Compare
84dfd88 to
6efd5ec
Compare
08828f6 to
c0dfcb9
Compare
Member
|
The idea of c2cat is to colorize the output, otherwise you could just use 'cat'. So adding a --nocolor options does not make sense.. |
Contributor
Author
|
c2cat can also be used to just parse the tokens and check for tokenization errors, or even just benchmark the tokenizer... |
13c5dae to
ab72339
Compare
8c594c5 to
f8de547
Compare
56a5ef0 to
c8d407f
Compare
0ee41c1 to
522bc3c
Compare
* output tokens with the original spelling * use Style enum and select on token kind * add `--color` and `--nocolor` to force/disable color output * show syntax errors to stderr * add `-c` and `--check` to suppress colored output and just check syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--colorand--nocolorto force/disable color output