Releases: sacalon/sacalon
Releases · sacalon/sacalon
v1.4.1
v1.4.0
New features
- add builtin range function
function main(): int {
// prints 1 to 10
for i in range(1,11){
print(i)
}
return 0
}
- add
asin
,acos
,asinh
,acosh
,exp
,frexpr
,ldexp
,log
,log10
,fdim
,sqrt
,ceil
,floor
,NaN
,max
,min
functions tomath
library, see documentation. - Showing error for overloading function's return type.
Changes
- Speedup parsing and compiling
Bug fixes
- fix passing list to
for in
statement
v1.3.12
v1.3.11
New features
- add uniform distribution-based random number generator called
uniform
inrandom
library
Changes
- change
static
decorator name tostatic_function
name - rename
times
function tomultiplies
infunctional
library - rename
if_and
,if_or
,if_not
functions to_and
,_or
,_not
infunctional
library
Bug fixes
- fix package manager bug
v1.3.9
New features
- add
hascal list
command to list all available packages - add
hascal init
command to create a new project, that generatesconfig.json
,.gitignore
andsrc/app.has
files - add
hascal build
command to build project - add
hascal run
command to run project - add
string_reverse(str:string)
function tostrings
module - add
assert
function to runtime library - add
no_std
compiler option - add
filename
config option
Changes
- change emitting
std::string
for strings tostring
(because in showing assertion errors,std::string
is illusory). - use
sys.exit
instead ofexit
insrc/core/h_help.py
(@mmdbalkhi) - fix importing system bugs
- improve
typeof
builtin function
Bug fixes
- fix assigning
NULL
to arrays and pointers bug, #36. - fix
check_g++
config option bugs - fix not defined consts when importing packages
- fix
random
library bug - fix
browser
library bug
Removed
- remove
windows
,browser
libraries
v1.3.9-rc.2
Bug fixes
- fix a critical bug in importing system
v1.3.9-rc.1
Changes
- upgrade importing system
- some changes in self hosted compiler(NOTE: self hosted compiler is not ready yet)
Bug fixes
- fix import bug when importing one package in multiple files
- fix self hosted bugs
v1.3.9-rc
Changes
- Rewrite package manager, See new documentation
Bug fixes
- fix
http
library bug - fix cpp importing bug
v1.3.9-beta
New features
- passing functions as arguments
function f(x: int): int {
return x + 1
}
function g(func:Function[int]int): int {
return func(1)
}
- add static variables, See this example
- add
only_compile
config option
Changes
- upgrade importing system
Bug fixes
- fix pyinstaller build issue
v1.3.9-alpha.1
Changes
- add
download
,upload
,post
functions tohttp
library https
support forhttp
library- add
windows
library(that includeswindows.h
) - add
browser
library to open urls in default browser(now only supports windows)
Bug fixes
- fix linker flag import bug in
cuse
statement