Onoshko Dan
|
aec283f0b4
|
operator ? to sign an argument as not-required
int sqr(int x) => x ** 2;
sqr(2); // 4
sqr(); // Exception
int sqrt(int x?) => x ** 2;
sqr(); // NaN
|
2014-08-15 04:19:06 +07:00 |
|
Onoshko Dan
|
c3df8f1d3f
|
Progress
- Use inline `isset` expression instead function. status: done
- Use inline `is`. status: done
- `some is NaN` to `isNaN(some)`. status: done
- operator `?` instead `isset`. status: done
- rename runtime prefix `$_cola` to `_ColaRuntime$$`. status: done
- dotal names of refs: done
|
2014-08-14 20:05:38 +07:00 |
|
Onoshko Dan
|
3e4589b331
|
Prepare code to the static typing.
|
2014-06-01 03:14:13 +07:00 |
|
Onoshko Dan
|
00623e5e4c
|
Browser-Cola added.
|
2014-05-22 22:44:11 +07:00 |
|
Onoshko Dan
|
744ecd3a8e
|
Console util done.
|
2014-05-20 00:29:01 +07:00 |
|
Onoshko Dan
|
3a8f96a40e
|
switch done
|
2014-05-19 16:58:17 +07:00 |
|
Onoshko Dan
|
dd22a18eb0
|
Multiple assignment done.
|
2014-05-16 19:27:51 +07:00 |
|
Onoshko Dan
|
ff64dec3f7
|
Demo updated.
|
2014-04-28 15:20:12 +07:00 |
|
Onoshko Dan
|
50ff6c272c
|
Functions features completed.
|
2014-04-28 03:30:25 +07:00 |
|
Onoshko Dan
|
f88a7e12d9
|
Array sugar added.
|
2014-04-22 20:33:43 +07:00 |
|
Onoshko Dan
|
b2bffc40cd
|
Array arr[] operator added.
|
2014-04-21 01:56:47 +07:00 |
|
Onoshko Dan
|
7bdb095cee
|
New features added.
Operator `clone` and anonymous function definition `(){}`.
|
2014-04-20 14:31:03 +07:00 |
|
Onoshko Dan
|
2f11d32a70
|
Adding std functions if need.
|
2014-04-18 13:10:20 +07:00 |
|
Onoshko Dan
|
a2f7a07c11
|
license updated
|
2014-04-15 19:57:14 +07:00 |
|
Onoshko Dan
|
f856b3f949
|
license updated
|
2014-04-15 19:47:04 +07:00 |
|
Onoshko Dan
|
b5dd0a9774
|
Going to ColaScript!!!
Start work on ColaScript translator.
|
2014-04-14 10:35:26 +07:00 |
|