prerelease-1.1.0.0.0
Pre-release
Pre-release
Uralstech
released this
17 Jan 13:08
·
141 commits
to master
since this release
What's Changed
- Builtin
Random
library - Small builtin
STD
library - CSAELs are back, in a different form - ezr² can now load library DLLs on runtime
- Inheritance for classes - class definition is now
object (parent) name (with arg1 (, arg2)) do
,
!od (parent) name (n arg1 (, arg2)):
- optional code in brackets; A reference to the instance
of the parent class will be created in the object namedparent
- Variable assignment for objects -
Eg:item testobj.testvar: 69
wheretestobj
is an instance of a user defined class,
the value oftestvar
intestobj
will be69
- Self reference in objects - on creation, objects will have a reference of themselfs called
this
;
This is for better assignment and retrieval of variables inside objects - New bitwise operators -
and (&
), or (|
), xor (\
), not (~
) and left (<<
) and right (>>
) shift - New assignment operators for quicker variable assignment -
addition (:+
),
subtraction (:-
),
multiplication (:*
),
division (:/
),
modulo (:%
),
power (:^
),
bitwise and (:&
),
bitwise or (:|
),
bitwise xor (:\
),
bitwise left shift (:<
) and
bitwise right shift (:>
) - Special functions - to be used like magic / dunder methods in Python
- Revamped dictionary type
- Changed quick count loop syntax to
!c (start ->) end (t step) (n variable): expression
-
optional code in brackets - Count loop now supports float type
- Include statement now returns
nothing
- Added functions
current
andset_current
tofolder
class inIO
library -
current
returns path of the current working directory
set_current
sets the current working directory to givenfolderpath
- Added function
abs
to integer and float (get absolute of value) - Added new / changed functions to string and character list types -
as_boolean
- parse object to a boolean value,
try_as_boolean
- try parse object to a boolean value,
is_null_or_empty
- check if object is null or empty,
is_null_or_spaces
- check if object is null or full of whitspaces and
as_boolean_value
- return boolean value of object - Other internal changes - check the commits
Full Changelog: prereleaseV1.0.0.0.1...prereleaseV1.1.0.0.0