andrewchambers

Results 369 comments of andrewchambers

@rui314 - Thought about this any more? I am thinking it needs two passes. One to check types, array dimensions, and selector fields while parsing, another pass to split inits...

Not sure if flattening the Array and Struct static data to be a list of primitive types is worth it as another part.

No problem, I'm working on my own solution too, I generally learned a lot from studying your stuff, which Is why I follow this closely still. About linker: Is linker...

Hmm, yeah, I imagine a 20 or 30 second link after one line of code change is annoying, especially if you have more cores. Sounds pretty cool, With your new...

Haha, the only time I've enjoyed writing C++ was before I knew python and when I was using Visual Studio. Do you use an IDE for C++?

Looks like is_funcdef() in parse.c makes some incorrect assumptions so it tries to parse this as a decl.

The look ahead is good for readability. If we don't have the ability to save and reset the parser at choice points on an error, decl and function parsing may...

It actually might not be too bad, I _think_ it comes down to a check in read_decl like: ``` decl = read_decl() if ( peek == '{' && ! first...

I should note #55 #56 #57 and #58 are all generated from the gcc torture suite. After automated test case reduction. I have no idea what this means in terms...

I don't mind implementing this myself, as long as you are fine with it.