Skip to main content
20 events
when toggle format what by license comment
Aug 23, 2016 at 6:05 answer added Dewi Morgan timeline score: 2
Aug 22, 2016 at 14:38 comment added MSalters @machine_1: Talking of design reviews, you probably don't want to do the analysis on the comment-stripped raw source code either. You probably want to work on the Abstract Syntax Tree (AST).
Aug 22, 2016 at 14:35 comment added MSalters @I'lladdcommentstomorrow: I put it as a comment because it's a meta-answer for CodeReview. It's more of a design review than a code review.
Aug 22, 2016 at 14:25 comment added I'll add comments tomorrow @MSalters turned that into an answer, should it be community wiki?
Aug 22, 2016 at 14:24 answer added I'll add comments tomorrow timeline score: 6
Aug 22, 2016 at 13:13 answer added CoffeDeveloper timeline score: 3
Aug 22, 2016 at 10:36 comment added OrangeDog I agree - you don't need to write any code to do this because compilers have already implemented it.
Aug 22, 2016 at 10:29 comment added MSalters You do know that GCC can already do this? The C preprocessor historically was a separate component, and GCC still can emit the result of preprocessing.
Aug 22, 2016 at 10:29 comment added machine_1 @MichaelKaras I want to perform machine type analysis and I didn't say anything about code reuse.
Aug 22, 2016 at 9:02 comment added Michael Karas What type of code analysis are you intending to perform? If it is a visual type of analysis then removal of the comments seems counter productive. If it is a machine type of analysis then why not just put the comment exclusion code right into the structure filtering program. If it is any other type of "analysis" then comment stripping for code reuse may be unethical.
Aug 22, 2016 at 2:05 history tweeted twitter.com/StackCodeReview/status/767543274173259777
Aug 21, 2016 at 22:11 history edited Jamal CC BY-SA 3.0
deleted 3 characters in body; edited title
Aug 21, 2016 at 22:10 answer added ilkkachu timeline score: 12
Aug 21, 2016 at 17:59 vote accept machine_1
Aug 21, 2016 at 15:00 answer added Edward timeline score: 25
S Aug 21, 2016 at 13:13 history suggested Incomputable
the code is C so no place for C++ tag
Aug 21, 2016 at 13:12 review Suggested edits
S Aug 21, 2016 at 13:13
Aug 21, 2016 at 12:59 history edited machine_1 CC BY-SA 3.0
added 168 characters in body
Aug 21, 2016 at 12:57 review First posts
Aug 21, 2016 at 13:23
Aug 21, 2016 at 12:53 history asked machine_1 CC BY-SA 3.0