Chris Dodd

Results 121 comments of Chris Dodd

So it looks like this problem has gone away -- it no longer reproduces with this example, and doesn't crop up in other more complex cases either. It is possible...

Yes, the idea is that all of these things should be evaluated at compile time. Maybe `const` is a better descriptive work than `static`? The only potentially runtime evaluated thing...

Shouldn't targets that support modulo just use `%`? That already exists in the language, albeit with the note that some targets may not support it. The use of complex primitives...

The internal IR of the compiler frontend is an abstract syntax tree -- you can dump that as text or json. We don't have any tools for visualizing it, however.

No, that is the tool the compiler uses to generate C++ code from the IR .def files describing the IR classes. The compiler itself is p4cX where 'X' is a...

What about case statements that contain non-mux constant expressions? Previously these would be folded. Perhaps only folding them after typechecking is fine? I don't see any testcases that excercise this...

> The side-effect is that regular switch statement case labels are no longer folded until after the first type inference pass, which I think is ok. My concern is if...

The contents of an annotation is defined as a sequence of preprocessor tokens, as defined by the C preprocessor. This is a consequence of using the C preprocessor as our...

The problem comes when someone wants to do something like `bit padding;`

Looks like this is supceded by #4657, so this can be closed?