Ashutosh Varma
Ashutosh Varma
Another exmaple, Regex - `^(\\d{2})(?::(\\d{2})(?::(\\d{2})(?:[.,](\\d{1,9}))?)?|(\\d{2})(?:(\\d{2})(?:[.,](\\d{1,9}))?)?)?(?:(?:([zZ])|(?:([+\u2212-])([01][0-9]|2[0-3])(?::?([0-5][0-9])(?::?([0-5][0-9])(?:[.,](\\d{1,9}))?)?)?)?)(?:\\[((?:(?:\\.[-A-Za-z_]|\\.\\.[-A-Za-z._]{1,12}|\\.[-A-Za-z_][-A-Za-z._]{0,12}|[A-Za-z_][-A-Za-z._]{0,13})(?:\\/(?:\\.[-A-Za-z_]|\\.\\.[-A-Za-z._]{1,12}|\\.[-A-Za-z_][-A-Za-z._]{0,12}|[A-Za-z_][-A-Za-z._]{0,13}))*|Etc\\/GMT[-+]\\d{1,2}|(?:[+\\u2212-][0-2][0-9](?::?[0-5][0-9](?::?[0-5][0-9](?:[.,]\\d{1,9})?)?)?)))\\])?)?(?:\\[u-ca=((?:[A-Za-z0-9]{3,8}(?:-[A-Za-z0-9]{3,8})*))\\])?$` JS Result :- ``` [ "152343.121212121", "15", "23", "43", "121212121" null, null, null, null, null, null, null, null, null, null, null ] ``` AS Result...
@ColinEberhardt Many thanks for bringing complete regex support to AS ecosystem! Here is another example, (while porting test cases for [`PlainTime`](https://github.com/ColinEberhardt/assemblyscript-temporal/issues/21) I am finding many such cases ) It looks...
Yeah, `Duration` and `Instant` seems relatively easy, do we need to support [`Instant.toZonedDateTime`](https://tc39.es/proposal-temporal/docs/instant.html#toZonedDateTime) also? Also, I have started on `PlainTime` and so far `add` and `subtract` are done. @ColinEberhardt For...
```python class TestIntrinsicPreferLiteral(TestCase): def test_intrinsic(self): int64_100 = ir.Constant(ir.IntType(64), 100) int64_cafe = ir.Constant(ir.IntType(64), 0xcafe) def intrin(context, x): sig = signature(types.int64, x) if isinstance(x, types.IntegerLiteral): # With prefer_literal=False, this branch will not...
Thanks for your suggestion @stuartarchibald ! Changing signature's return type to `intp` seems to do the trick for 32 bit. > It also might be useful to call self.assert* from...
Any update on this? For now I am using `ensure_ascii=False` locally.
I've been using Falcon for a while and still need to refer docs a lot of time. I would like to contribute through this and perhaps #1578.
Ok, I see ~Should I close the PR now?~ How should it be tackle then, cause https://github.com/nearprotocol/assemblyscript-json/pull/168 needs to build the wasm from the latest source. Without the workaround of...
Yeah, you are right Just built the helper module without https://github.com/nearprotocol/assemblyscript-json/pull/168/commits/13f3460bda7fe62c459a9bd1a1cbdfe31b37bf6a sucessfully During initial testing I tried building as-json from the index.ts, so looks like it came from there. I...
@MOZGIII https://github.com/paritytech/frontier/pull/1150