updated README.md

This commit is contained in:
hyunghwan.chung 2019-08-02 16:12:12 +00:00
parent 763d7f965e
commit f3218dc90a

View File

@ -41,18 +41,16 @@
* #[] ByteArray. Comma as element delimiter is optional * #[] ByteArray. Comma as element delimiter is optional
* #{} Dictionary - not supported yet * #{} Dictionary - not supported yet
The following are not literals. The followings forms expressions. The followings are not literals. The followings forms expressions.
* ##() Array expression. Comma required to delimit elements * ##() Array expression. Comma required to delimit elements
* ##[] ByteArray expression. Comma required to delimit elements * ##[] ByteArray expression. Comma required to delimit elements
* ##{} Dictionary expression. Comma required to delimit elements * ##{} Dictionary expression. Comma required to delimit elements
* S%[] String literal with each character specified The followings are not implemented. but can i do something like these?
** S%{A B C '\n'} * S#[] String literal with each character specified. S%{A B C '\n'}
* S#{} String with dynamic expression
* S%{} String with dynamic expression * S#{ 65 asCharacter, 64 asCharacter }
* S%{ 65 asCharacter, 64 asCharacter }
### Class ### Class
``` ```
@ -72,8 +70,7 @@ if (a < 10) { ... }
elif (a < 20) { ... } elif (a < 20) { ... }
else { ... }. else { ... }.
ifnot (i < 20) { 30 } else { 40 }. ifnot (i < 20) { 30 } else { 40 }. /* TODO: ifnot or nif? elifnot or elnif? */
nif (i < 20) { 30 } else { 40 }.
if (a < 10) { .. } if (a < 10) { .. }
elifnot (a > 20) { ... } elifnot (a > 20) { ... }
@ -133,7 +130,7 @@ useful to make a block return
can i deprecate the ^^ operator? can i deprecate the ^^ operator?
``` ```
[ 1 + 2. goto r. 3 + 4. r::] [ 1 + 2. goto r. 3 + 4. r:]
``` ```
goto must not cross the boundary of the block context. goto must not cross the boundary of the block context.
@ -142,7 +139,7 @@ goto must not cross the boundary of the block context.
this is invalid. cannot jump into a block from outside this is invalid. cannot jump into a block from outside
and vice versa. and vice versa.
goto x. goto x.
[ x:: [ x:
1 + 2 ]. 1 + 2 ].
``` ```