v0.1.0
A preview of what's been accomplished so far. There's still much to do, but this feels like a good milestone to rest on for now.
Enjoy :3
Implemented Funcs
Core
Operators
- Arithmetic:
++
--
+
+=
-
-=
*
*=
/
/=
%
%=
mod
div_rem
- Bitwise:
&
&=
|
|=
^
^=
~
mask_eq
- Logical:
&&
||
^^
!
- Comparison:
==
!=
>
>=
<
<=
- Escape:
quote
quasiquote
unquote
eval
'
`
,
Blocks
- Control flow:
if
if_else
unless
- Loops:
while
foreach
foreach_int
- Scoping:
do
Variable
- Macros:
kDataInt
kDataFloat
kDataString
kDataSymbol
kDataVar
kDataArray
kDataCommand
kDataProperty
kDataUnhandled
- Types:
type
- Meta:
set
set_var
var
Numeric
- Macros:
TRUE
FALSE
- Bits:
highest_bit
lowest_bit
count_bits
- Sign:
abs
sign
- Limit:
min
max
clamp
min_eq
max_eq
clamp_eq
- Rounding:
ceil
floor
trunc
round
- Conversion:
int
float
Array
- Size:
size
resize
reserve
- Elements:
elem
first_elem
last_elem
set_elem
- Manipulation:
push_back
pop_back
insert_elem
insert_elems
remove_elem
remove_elems
- Searching:
find
find_exists
find_elem
contains
- Sorting:
sort
sort_by
Stdlib
Math
- Macros:
PI
TAU
EULER
- Exponential:
pow
sqrt
cbrt
hypot
exp
exp2
expm1
log
log10
log2
- Trigonometry:
sin
cos
tan
asin
acos
atan
atan2
sinh
cosh
tanh
asinh
acosh
atanh
File System
basename
dirname
read_file
write_file
run
file_exists
file_read_only
Process
exit
abort
Stdio
print