- Added module
regex
(GH-129) - Added
$os.pwd
variable inos
module (GH-158) - Added Traits for OOP system (GH-164, GH-165)
- Added keyword
end
to close blocks instead ofendif
,endwhile
... previous keywords still work (GH-171)
- Added support for
list
datatype forimport
syntax (GH-155)
- Only some improvements in the interpreter core
- Fixed windows path spliter bug and changed from
:
to;
(read more, GH-133)
- Fixed a critical bug in windows while importing scripts in non-relative mode like
$__dir__ + '/something...'
(read more, GH-132)
- Added command
clear
for shell (GH-123)
- Fixed shared frame variables bug (accessiblity of parent frame variables in child frame). (GH-124)
- Added
debug()
and debug system (read the doc) (GH-112) - Added interactive builtin shell (command
pashmak @shell
) (GH-113) - Added function
load_so()
for loading shared objects (DLLs), (read the doc) (GH-117) - Added error hiding feature (read the doc) (GH-122)
- Renamed
section
command tolabel
, stillsection
works and is backward compatible (GH-110) - Some optimizations in builtin modules and program bootstrap speed (GH-111)
- Improve base structure of lexer and parser and optimizations in speed (GH-118)
- Some changes in error rendering style (GH-120)
- Improve error rendering in web environment (GH-121)
- Fixed invalid line number bug in parser and while raising errors (GH-119)
- Changed
-
to<stdin>
as file name while reading code from stdin
- Handle
return
in importing system byimport()
(read the doc) (GH-109)
- Changed string of classes from default to
<class 'NameOfClass'>
(GH-108)
- Fixed
typeof()
bug when checking type of a object from a class (GH-108)
- Added docstring for function
py_load_module
- Fixed shutdown events not running while using
exit()
bug (GH-105) - Fixed mulltiline syntax bug white writing empty lines
- Some optimizations in builtin modules
- Removed
shuffle
,sample
,triangular
,choices
anduniform
from modulerandom
- Added
import_run
andimport_run_once
functions (GH-84) - Added cli feature to run modules (GH-84)
- Added new functions to module
string
(GH-86) - Added python
mimetypes
module (GH-92) - Added
gget
function (GH-92) - Added
pashmakexe
variable to modulesys
(GH-92) - Added a small internal web server for pashmak in module
web.server
(GH-92) - Added base of web development features for backend with pashmak (module
@web
) (GH-92) - Added a cli behavior for
time
module to show current time (GH-89) - Added
null
keyword as a alias forNone
(GH-90) - Moved
pit(pashmhtml)
engine from a external library to a builtin module (GH-85) - Added shutdown event system and function
register_shutdown()
(GH-91) - Added
re
python regex library - Added function
die
- Moved
pashmiler
from a external library to a builtin module and renamed tocompiler
(GH-93) - Added Docstring system (GH-94)
- Added
set
andget
functions - Added name define system and
define
,is_defined
,undefine
,all_defines
andredefine
functions - Added
true
andfalse
aliases forTrue
andFalse
keywords - Added multiple arguments for functions (GH-95)
- Added keyword arguments for functions (GH-95)
- Added typed arguments for functions (GH-95)
- Added return type system for functions (GH-99)
- Added some aliases for datatypes,
string
forstr
,integer
forint
,array
forlist
- Added Core Developer guide to Documentation (GH-96)
- Added function
clone()
for copying objects (GH-97) - Added message argument for function
read()
- Added python
pickle
module - Added function
match()
(GH-100) - Added function
py_load_module
(GH-101) - Added python
io
module
- Some optimizations in multiline syntax
- Changed syntax of
free
andisset
functions - Fixed some bugs and some optimizations in eval (GH-95)
- Changed RecursionError message
- Fixed bug cached
$__ismain__
while directly running a file in command line - Fixed import command bug while writing something like
import(somefunc())
- Fixed a small problem in error rendering
- Fixed a bug in class property setting syntax, while running
$obj-><some-exists-name> = ...
- Fixed syntax bug while using variables alongside
:
- Removed unused function
required
- Removed
format_args
function
- Fixed a bug in importing modules environment conflicting
- Fixed a bug in
import_once
,import_run
andimport_run_once
functions - Fixed calling function in class block bug
- Fixed
$__dir__
,$__file__
and$__ismain__
variables bug in namespace block
- Fixed class property setting syntax bug (GH-88)
- Fixed a bug in variable frame handling
- Fixed a bug in
$__ismain__
variable for builtin modules
- Added module
string
(GH-82)
- Fixed a bug in module path system about
$__dir__
and$__file__
- Added importing sub directories/files in modules loaded from module path system (GH-80)
- Fixed import directory bug (GH-79)
- Removed cli option
-m|--modules
- Some optimizations in module importing system (GH-78)
- Fixed a bug in importing scripts related to file path contains
"
or'
(GH-78) - Fixed
$__ismain__
alwasy is True bug (GH-78)
- Added
urllib
to imported python standard modules (GH-75) - Added
platform
,sqlite3.dump
,sqlite3.dbapi2
to imported python standard modules - Added
pashmak.zen()
(GH-77)
- Also show error type and message in end of rendered error frames
- Imported
sqlite3
python module (GH-69)
- $this variable exists while calling static method bug in class is fixed (GH-71)
- Fixed try-endtry variable error handling bug (GH-73)