Umka: a statically typed embeddable scripting language
BSD-2-CLAUSE License
Bot releases are hidden (Show)
Published by vtereshkov 5 months ago
a::b
syntax for imported identifiers to distinguish them from field/method access%lv
and %llv
format specifiers for pretty-printing with printf()
main()
is optionalstd::assert()
and improved std::exitif()
Published by vtereshkov 8 months ago
for..in
now allows accessing collection items by pointererror()
is removedexit()
now accepts an error code returned to the OS and an optional error messageumkaRun()
and umkaCall()
now return an error code (0 on success)umkaAlive()
is added to check if the interpreter can still execute umkaRun()
or umkaCall()
std.Err
, std.error()
, std.exitif()
are added for graceful error handlingprintf()
on Windows fixedumkaInit()
is deprecatedPublished by vtereshkov 9 months ago
std.stdin()
, std.stdout()
, std.stderr()
, std.fflush()
umkaGetAPI()
without linking against UmkaumkaGetType()
replaced with typeptr()
Published by vtereshkov about 1 year ago
Published by vtereshkov over 1 year ago
a ? b : c
repr
replaced with %v
format specifier in printf
, sprintf
, fprintf
Published by vtereshkov over 1 year ago
new()
len()
for stringsstd.rand()
Published by vtereshkov almost 2 years ago
append()
, insert()
, delete()
cap()
for dynamic arrays, copy()
for mapsany
as an alias for interface{}
+=
for strings_windows
or _linux
) are allowed in UMI file namesPublished by vtereshkov about 2 years ago
copy
, insert
ceil
, floor
and the %
operator for realsstd.localtime
, std.gmtime
, std.mktime
, std.timestr
exit
sprintf
, std.fread
, std.fwrite
Published by vtereshkov over 2 years ago
map.um
is deprecated)Published by vtereshkov over 2 years ago
fiber
is now a pointer; ^fiber
is no longer neededvalid()
checks if a dynamic array, interface or function variable is not nullPublished by vtereshkov almost 3 years ago
sizeof(T)
and std.system(command)
void *
rather than int64_t
in VM stackumkaInit()
Published by vtereshkov about 3 years ago
Published by vtereshkov over 3 years ago
Published by vtereshkov over 3 years ago
slice()
for strings-check
command-line optionPublished by vtereshkov over 3 years ago
slice()
, clock()
, getenv()
Published by vtereshkov almost 4 years ago
Published by vtereshkov almost 4 years ago
Published by vtereshkov almost 4 years ago
append()
Published by vtereshkov almost 4 years ago