Results 135 comments of Piotr Fusik

`QOI_OP_RUN` normally writes pixels same as the pixel before, therefore there is no need to update the index. The only exception is if `QOI_OP_RUN` is the first code, where it...

Another solution is to look-ahead `QOI_OP_RUN` and handle the index outside the main loop.

That would break `QOI_OP_INDEX` which, as discussed above, must produce a transparent pixel.

Does Lua have incompatible dialects? Or only different implementations?

Excellent work so far! Quick comments: Does JSON support `int` ? I thought it's only `double`. Why wrap in `JsonObject` and `JsonArray` ? The methods could return the `Dictionary` and...

See the above commit. It defines the API in `AST.fu`, adds a test and handles the C# generation. I chose naming closer to .NET's. I don't have a strong opinion...

How about https://wiki.gnome.org/Projects/JsonGlib and https://github.com/open-source-parsers/jsoncpp ?

What Fusion emits needs to feel like written by an experienced programmer directly in the target language. Therefore it doesn't implement e.g. `List`, but translates it into whatever is available,...

`if (json.ValueKind == JsonValueKind.String)` is verbose and I feel `if (json.IsString())` both reads better and avoids the awkward translation of runtime types to an enum. Turns out JSON parsing is...

Current status: - D, JavaScript/TypeScript, Python, Swift transpile to their built-in parsers - C++ and Java work as pure Fusion, although I still consider [javax.json](https://jakarta.ee/specifications/platform/8/apidocs/javax/json/package-summary) or [org.json](https://developer.android.com/reference/org/json/JSONObject) for Java -...