Looks like JavaScript, feels like Ruby, and it is a script language fitting in C programmers.
Updates from v1.1.0 to v1.1.1.
Updates from v1.0.0 to v1.1.0.
Kip
.
operator[]
in Range
.$pwd
for getting a current directory.read
/write
in File
.chmod
in File
.Integer.toString()
method.using SemanticVersion;
.==
and !=
in Boolean class.String#isIntegerString
.Array
itself._
outside a function.const
declaration for the same variable.File.open
failed.File.setFiledate
does not work correctly.=~
or !~
.ctx
after cleanup.This is a minor update to fix some bugs or improvements.
This is a minor update to fix some bugs.
File.open
failed.File.setFiledate
does not work correctly.=~
or !~
.Updates from v1.0.0
Array
itself.$pwd
for getting a current directory._
outside a function.This is a 1st official release version.
Small updates from v0.22.0
Functional
.
Updates from v0.21.0
a |> b
which is just same as b(a)
.a <| b
which is just same as a(b)
.a +> b
which is like { => b(a(_1)) }
.a <+ b
which is like { => a(b(_1)) }
.var cb = new Clipboard();
, then you can:
cb.write(str)
to write str
to clipboard, orcb.read()
to read a text from clipboard.Updates from v0.20.1
.abc
which means "abc"
.
.abc
is a function object which means { => _1.abc.isFunction ? _1.abc() : _1.abc }
..is***
like .isFunction
to check a type is a function object which means { => _1.is*** }
.Array#map
, Array#filter
, and so on.when
clause in case-when
.case-when
features.
^
as a pin operator.when
condition.|
operator for multiple conditions called as alternative pattern at when
condition.when
condition._
means to ignore binding a value at when
condition.when
label in switch
statement.
case
label, and it will do break
automatically by default.fallthrough;
at the last statement of a when
clause, it will be fallthrough.default:
is else:
which will do break
automatically at the end of statements.fallthrough
keyword in a case
is meaningless and it will be ignored.case
label and a when
label, but it is not recommended.switch-when
is a statement and it is same as switch-case
except a behavior of break
and fallthrough
.native:int
native funcname(args):int
function funcname(args):int
public funcname(args):int
private funcname(args):int
Updates from v0.19.3
using
.File#getUtf8Char()
to get directly UTF8 character from a File object including $stdin
.case-when
expression for trial.
var { x: a, y: b } = { x: 10, y: 100 }
means a = 10, b = 100
.var { x: a, y: 100 } = { x: 10, y: m }
means a = 10
if m == 100
, otherwise an exception occurs.{ x, y } = { x: 10, y: 100 }
means x = 10, y = 100
.build
directory and moved files needed at building to the build
directory.Updates from v0.18.0
NEWS!