TODO Updated
This commit is contained in:
parent
552c4220a5
commit
1b36947fc7
20
README.md
20
README.md
|
|
@ -383,7 +383,8 @@ Future plans
|
||||||
arr[%index] = 34; // arr[index %% arr.length];
|
arr[%index] = 34; // arr[index %% arr.length];
|
||||||
|
|
||||||
- static typing
|
- static typing
|
||||||
- declaration function by object's property
|
- rename runtime prefix `$_cola` to `_crt$$`
|
||||||
|
- dotal names of refs
|
||||||
|
|
||||||
String String::replaceAll(a, b){
|
String String::replaceAll(a, b){
|
||||||
String res = this;
|
String res = this;
|
||||||
|
|
@ -396,6 +397,10 @@ Future plans
|
||||||
Object data = someData;
|
Object data = someData;
|
||||||
int data.getFriendsCount() => this.friends.length;
|
int data.getFriendsCount() => this.friends.length;
|
||||||
|
|
||||||
|
// or
|
||||||
|
|
||||||
|
Cola.AST_Node node = new Cola.AST_Node;
|
||||||
|
|
||||||
- intarface
|
- intarface
|
||||||
|
|
||||||
inerface UserProfile {
|
inerface UserProfile {
|
||||||
|
|
@ -501,6 +506,19 @@ Future plans
|
||||||
this; // parent context
|
this; // parent context
|
||||||
});
|
});
|
||||||
|
|
||||||
|
- namespaces
|
||||||
|
|
||||||
|
@use namespace Cola {
|
||||||
|
|
||||||
|
class AST_Node {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Cola.AST_Node node = new Cola.AST_Node();
|
||||||
|
|
||||||
|
|
||||||
- write documentation of tokenizer/parser methods
|
- write documentation of tokenizer/parser methods
|
||||||
- more informative exceptions
|
- more informative exceptions
|
||||||
- better source maps
|
- better source maps
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user