Piotr Fusik
Piotr Fusik
The question is how well Ć maps into these languages. I don't know Go or Rust, but I've heard that Go doesn't support inheritance and Rust doesn't support copying references....
I consider Ruby a mixture of Perl and Python and there was a Perl backend in 2013. So yes, I believe Ruby should be straightforward. However, my experience with Ruby...
What do you mean?
Initial versions used to have C-style macros. Now I think the language is better without them. [Conditional compilation](https://github.com/pfusik/cito/blob/master/ci.md#conditional-compilation) does exist, with syntax identical to C#. Symbols either exist or not,...
I wasn't planning a Pascal backend, but it's certainly possible. As I understand, there is no Pascal standard? Should we target Free Pascal, Delphi, something different? I wasn't planning translations...
Use string interpolation: int i = 42; string s = "foo"; Console.WriteLine($"{i}{s}"); C translation: int i = 42; const char *s = "foo"; printf("%d%s\n", i, s);
The concatenation operator is only partially implemented for C. I will either implement it fully or block it.
As a temporary solution, I've added this `cito` error: String concatenation not supported when targeting c My first thought was to remove the concatenation operator from the language. It has...
I like both your changes! Do you want to work on them beyond this draft? If so, I'd prefer to have them separate.
What's the status? I see the tests failing. Don't worry about the coverage. `ulong` will require more work for literals and constant folding - currently it's all done on `long`....