Filip Sajdak
Filip Sajdak
The current implementation does not have an overload for the `is` function to handle `enums`. The below code compiles by cppfront but the result code fails to compile with the...
The current implementation is not supporting enums in inspect expressions. This cpp2 code ```cpp enum class lexeme : std::uint8_t { hash, }; to_string: (e:lexeme) -> auto = { return inspect...
Using capture and if failed if done in some order. In this cpp2 code cppfront fail on `if i$ + n < std::ssize(line$)`: ```cpp lex_process_line: (line: std::string) = { i...
Current implementation in mixed mode is not parsing raw string literals well. Cpp2 source code ```cpp auto r = R"( this is raw string literal \n /* */ // i:...
The current implementation removes parentheses used in expression that calculates the value of arguments for a function. cpp2 code: ```cpp f: (x:_) = {} main: () -> int = {...
On the stdio example there is a call to c-function: ```cpp myfile := fopen("xyzzy", "w"); myfile.fprintf( "Hello with UFCS!" ); myfile.fclose(); ``` This is great but we can do better...
Parens disappear when used inside function call to calculate value of argument. Given cpp2 code: ```cpp f: (x:_) = {} main: () -> int = { i := 2; f((i+(i+1)*2)/2);...
I have been playing with UFCS. I found that it doesn't support method chaining yet. So I have added it. Former implementation was not supporting the method chaining - the...
I want to use namespaces in the cpp2. Do you have any plan for syntax that will be used for it? I know that the code is identified as cpp2...
I know that namespaces are not supported yet by cppfront. Unfortunately, it can be added following the l-to-r approach, it compiles by cppfront but fails to compile by cpp1 compiler....