KevinScript icon indicating copy to clipboard operation
KevinScript copied to clipboard

A programming language, inspired by Python and JavaScript.

Results 7 KevinScript issues
Sort by recently updated
recently updated
newest added

``` >>> [i for i in 1]; 'items' ``` This should instead produce the same error message as when you do `for(i in 1){i;};`. E.g. `Can't iterate over type Integer...

bug

If a list contains itself, trying to print it produces 40+ error messages, instead of something more sensible. Input: ``` >>> seq = [1,2,3]; >>> seq.append(seq); >>> print(seq); ``` Expected...

bug

One of KS' goals is to make it possible to do anything with a single very large expression. So it would be nice to have a ternary expression so you...

enhancement

Currently, `and` and `or` evaluate both operands, even if doing so is not necessary to calculate the result: ``` >>> True or 1/0 ... integer division or modulo by zero...

enhancement

Consider the following program: ``` if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if (True){if...

bug
enhancement

Currently, only `"` can be used for string literals, ex. ``` "Hello, World!" ``` `'` should also be allowed, ex. ``` 'Hello, World!' ```

enhancement