askql
askql copied to clipboard
AskQL is a query language that can express any data request
Calling a method named the same as an Object.prototype method results in a 'Cannot call null' error
Examples: ``` 3:toString 3:toString() 'a':__defineGetter__ 'a':__defineGetter__() ``` and other from Object.prototype return in an error: `Uncaught Error: Cannot call null` 
We were talking that it would be nice to have `knex` methods available in AskScript. A sample file using mocked `knex` and `where` can be found here: src/askscript/__tests__/02-query/query-09-node_with_expression.ask ``` ask...
All direct function calls of standard resources should not have side effects. Some special imperative syntax that we have should be the only way to cause side effects so people...
If we keep only minimal number of resources in AskVM and port the rest from TypeScript to AskScript, we will make porting AskVM from TypeScript to other languages easier. On...
In order to keep minimal resources in AskVM, it would be good to port for..in, for..of, maybe for (and possibly other kinds of loops, if there are any at the...
Following [this issue](https://github.com/xFAANG/askql/issues/154), we would like to add more resources from jest than just `expect` and `toBe`. Let's discuss which ones to add.
When trying to use `set` on an object, it fails with an Uncaught TypeError: `arr.slice is not a function`. We should add type validation and our own error handling. ```...
@mhagmajer [mentioned](https://github.com/xFAANG/askql/pull/212#discussion_r443865988) that swapping 2 indices of the array can be done this way: ` arr = arr:set(j, arr:at(i)):set(i, arr:at(j)) ` How about we simplify it even more and introduce...
Some of the resources on AskVM are built-in (like `if`, `call` or `query`), some of them are defined in [source code running the server](https://github.com/xFAANG/askql/blob/master/src/demoServer.ts), but there is no good way...
Currently all tests for `remote` are marked as not implemented.  What is needed is running a server (or a mock server) during the tests which would respond on the...