cppfront icon indicating copy to clipboard operation
cppfront copied to clipboard

A personal experimental C++ Syntax 2 -> Syntax 1 compiler

Results 268 cppfront issues
Sort by recently updated
recently updated
newest added
trafficstars

Cppfront produces the error: ``` main.cpp2(3,22): error: string literal "\" is missing its closing " main.cpp2(5,32): error: local variable c cannot be used in its own initializer ``` while parsing...

bug

Closes https://github.com/hsutter/cppfront/issues/1152. Missing things: - [ ] Review - [ ] Regression tests if required.

The enums generated by `@enum` in cppfront can not be used as template type arguments. E.g: ``` range_flags: @enum type = { not_greedy := 1; greedy; possessive; } S: type...

suggestion

**Describe the bug** The identifier : const = value functionality is not consistent. 1) Doesn't work at all in global/namespace scope (might be a feature, not a bug) and 2)...

bug

The current system for creating and using classes outside the main cpp2 file is to write a file with the extension `.h2` containing the classes that are needed, then put...

bug

I was thinking about opening a separate issue, but they are all pretty minor and think should fit fine in just this one. 0. General: It seems code blocks line...

**Describe the bug** cppfront produces an error when parsing a UTF-8 character literal (`u8`) which is not a hex character. **To Reproduce** Run cppfront on this code: ```cpp main: ()...

bug

This PR reworks the Github Actions workflow files and its associated code, so that there's only 1 pipeline that does all that we might need: * Build cppfront * Run...

defer
awaiting-cla
pri-5: other ideas and suggestions

I.E. ``` numbers: int[]= ( 1, 2 ); ``` which corresponds to ``` numbers: std::array = ( 1, 2 ); ``` It eliminates guidance literature of having to tell them...

suggestion

The purpose of this PR is to allow including pure headers into multiple translation units without ODR violations. First and foremost it splits `phase2_func_defs` into `phase2_inline_defs` and `phase3_regular_defs`. Produced .h...

pri-4: bugs that block lots of use cases