Commit Graph

605 Commits

Author SHA1 Message Date
Onoshko Dan
1d297d9248 Negate and modulo array accessors are done.
arr[-1]; // last element

int index = -10;
arr[%index] = 34; // arr[index %% arr.length];
2014-08-15 17:45:46 +07:00
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
c9f4a2cd12 Conditional Accessor is done. 2014-08-15 03:34:04 +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
a9010b529b readme fix 2014-08-02 02:32:40 +07:00
Onoshko Dan
8d600533ac Arrow functions bug-fix 2014-07-29 14:32:56 +07:00
Onoshko Dan
bd86f0d5ce type check progress 2014-07-29 01:51:41 +07:00
Onoshko Dan
e6a49779ae bug fix 2014-07-29 01:51:23 +07:00
Onoshko Dan
e5d3cb56c0 in progress... 2014-07-03 01:08:24 +07:00
Onoshko Dan
14eb63b057 Functions translation bug fix 2014-07-03 01:08:11 +07:00
Onoshko Dan
c635d9e1f1 Some info was added 2014-07-03 01:07:41 +07:00
Onoshko Dan
1b36947fc7 TODO Updated 2014-07-03 01:06:31 +07:00
Onoshko Dan
552c4220a5 logo fixed 2014-06-30 01:55:09 +07:00
Onoshko Dan
862c7e4061 logo added 2014-06-30 01:53:48 +07:00
Onoshko Dan
3a08d8ebce TypeChecker: vars, args and functions registration 2014-06-30 01:49:54 +07:00
Trigen Software
fea0f353c7 c9 test 2014-06-29 03:19:41 -04:00
Onoshko Dan
c72d6f0a4a Prepare to typing. 2014-06-12 02:14:36 +07:00
Onoshko Dan
a46c1f21a0 Some refactoring. 2014-06-12 02:14:01 +07:00
Onoshko Dan
fc6ba0c28c To-do updated. 2014-06-12 02:13:38 +07:00
Onoshko Dan
efe3183540 Some recoding. 2014-06-01 03:21:52 +07:00
Onoshko Dan
ab6fde9252 fix. 2014-06-01 03:21:29 +07:00
Onoshko Dan
3e4589b331 Prepare code to the static typing. 2014-06-01 03:14:13 +07:00
Onoshko Dan
cdf1161409 Fixes. 2014-05-30 01:59:56 +07:00
Onoshko Dan
945967cdc7 Fixes. 2014-05-30 01:49:27 +07:00
Onoshko Dan
e7c016fae8 Fixes. 2014-05-30 01:34:32 +07:00
Onoshko Dan
965d94c636 Fixes. 2014-05-30 01:33:48 +07:00
Onoshko Dan
fd2264d611 Fixed. 2014-05-30 01:15:37 +07:00
Onoshko Dan
ba27794eb3 Updated. 2014-05-30 01:14:09 +07:00
Onoshko Dan
f835d72e08 Updated. 2014-05-30 00:09:01 +07:00
Onoshko Dan
e9cf3ba8a9 Updated. 2014-05-29 23:28:08 +07:00
Onoshko Dan
333d5bda4e Updated. 2014-05-29 22:38:41 +07:00
Onoshko Dan
d6ef6fb207 Updated. 2014-05-29 18:25:22 +07:00
Onoshko Dan
3822a3a902 Updated. 2014-05-29 18:15:06 +07:00
Onoshko Dan
931a546932 Updated. 2014-05-29 01:11:43 +07:00
Onoshko Dan
7f93a474c9 "use asmjs" -> "use asm" fix 2014-05-29 01:11:30 +07:00
Onoshko Dan
9bb898f87b for-in bug fix 2014-05-27 19:10:44 +07:00
Onoshko Dan
53df087ee9 Additional source using fixed. 2014-05-26 19:43:41 +07:00
Onoshko Dan
a91ec70cfa fixes 2014-05-24 01:13:43 +07:00
Onoshko Dan
9a72bc48d0 Browser-Cola fixed. 2014-05-24 00:00:21 +07:00
Onoshko Dan
5158fadfd3 Updated. 2014-05-23 21:07:15 +07:00
Onoshko Dan
555546c57a Exports updated. 2014-05-23 18:06:40 +07:00
Onoshko Dan
1382b1c8e9 :: prototype accessor done. npm published. 2014-05-23 17:14:16 +07:00
Onoshko Dan
00623e5e4c Browser-Cola added. 2014-05-22 22:44:11 +07:00
Onoshko Dan
428438c4a0 updated 2014-05-22 01:02:17 +07:00
Onoshko Dan
fb8ccc644f @require and @include done. 2014-05-22 01:01:32 +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
af6f8ebf7b Cascade operator added, function arguments fixed. 2014-05-03 18:40:47 +07:00
Onoshko Dan
ff64dec3f7 Demo updated. 2014-04-28 15:20:12 +07:00