Skip to content
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

Formatting #1

Open
pstef opened this issue Apr 20, 2013 · 2 comments
Open

Formatting #1

pstef opened this issue Apr 20, 2013 · 2 comments

Comments

@pstef
Copy link
Contributor

pstef commented Apr 20, 2013

I'm willing to help with upgrading this to a more modern dialect of C, but the code is hard to read. Please prettify it with a tool like GNU indent or clang-format and document which options you used, so that everyone else can reproduce the standard formatting. I don't have a preference in that regard, just make it consistent.

I could do it myself, but I want to leave the choice of formatting settings up to you.

@quixadhal
Copy link
Owner

LOL, well it isn't MY code. :-)

To be honest, if I were going to spend the effort to fully get it working
under the current gcc environment, I'd probably rewrite it in ruby or Perl.

I put this up mostly because it was popular 25 years ago, and some of the
mods I did might be useful in some way.
On Apr 20, 2013 7:14 AM, "1500100900" [email protected] wrote:

I'm willing to help with upgrading this to a more modern dialect of C, but
the code is hard to read. Please prettify it with a tool like GNU indent or
clang-format and document which options you used, so that everyone else can
reproduce the standard formatting. I don't have a preference in that
regard, just make it consistent.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@pstef
Copy link
Contributor Author

pstef commented Apr 20, 2013

Then I suggest I re-format it with clang-format --style=llvm and make it a single commit, maybe even a single pull request.

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

No branches or pull requests

2 participants