James Clark

Results 508 comments of James Clark

At the moment, we say: 1. `json` is lax 2. `map` is lax if `T` is lax Rule 2 makes `map` lax, which makes sense since in many cases JSON...

See https://github.com/ballerina-platform/ballerina-lang/issues/33227

The grammar will change a lot with #1059. I suggest you hold of on this one until I have written the grammar for this and #1059. When c is a...

Relative to https://github.com/ballerina-platform/ballerina-spec/issues/1059#issuecomment-1125579110, the change can be expressed like this: ``` // 7.1 // Add non-block-action action := non-block-action | query-action non-block-action := start-action | wait-action | send-action | receive-action...

I would not expect to omit the semi-colon in those cases.

We can do the cloneWithType/fromJsonWithType part of this separately as part of #1088. This will be just for the mapping constructor part.

I have made this issue about backreferences. Allowing capture groups to be named is an orthogonal enhancement. Feel free to create an issue about that. It's certainly a possible enhancement....

If there are real OpenAPI documents out there relying on a regexp feature that we don't support, then that's a strong argument for adding support. Can you link to the...

But with #812, BIR verification may be optional, which makes dual use less of an issue. (If you want to verify the BIR, we could generate it with source directory...

This is what clang does. ``` int foo(int x, int y) { return x*x + y*y; } ``` turns into: ``` define dso_local i32 @foo(i32 %0, i32 %1) #0 !dbg...