Thomas Neumann

Results 5 issues of Thomas Neumann

Out of curiosity I have an implemented an [alternative parser](https://github.com/neumannt/cppfront-exp) for cppfront / cpp2, which uses a [PEG grammar](https://github.com/neumannt/cppfront-exp/blob/master/src/parser/cpp2.peg) as input for a parser generator. During that experiment, I noticed...

bug

While implementing semantic analysis I noticed a conceptual problem with the order-independence approach of cpp2. Consider this code here: ``` foo: (x : int = bar()) -> int = {...

bug

Raw pointers are fundamentally problematic if we have to do pointer arithmetic or offset based access. A major source for pointers, that we inherited from C, are strings. There are...

question
suggestion

The destructor of `cpp2::out` destroys the object if an exception has been called, without resetting the `init` flag. This causes the destructor to be called twice. See below for a...

bug

Conditional branches can only jump of to 1MB, which can be a problem for large generated code. xbyak could handle that transparently by branching to an unconditional branch instruction if...