This repository was archived by the owner on Mar 31, 2025. It is now read-only.
·
13 commits
to main
since this release
Added
return
keyword in multi-line functions to return a valuecontinue
keyword to skip to the next iteration infor
andwhile
loopsbreak
keyword to stop the loop infor
andwhile
loopsexec()
function to execute a code in a string or a filelength()
function to return the length of a string or a list- Comments starting by the
#
symbol and ending by a new line.
Changed
- The list concatenation, so now we need to add two list together to concatenate them:
instead of the old confusing syntax where we needed to add the element to the list:
(MathScript) >>> (1, 2, 3, 4, 5) + (6, 7, 8, 9, 10) (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
(MathScript) >>> (1, 2, 3, 4, 5) + 6 + 7 + 8 + 9 + 10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
- Create automatically the ZIP file in the build process & always undo the changes to the
shell.py
script, altrough if there was an error.
Fixed
- Now functions that only execute code will return
null
(instead of Python'sNone
), but this won't be shown in the interactive shell because it's an implicit return.
Next version changes
In the next minor versions of MathScript will be implemented these changes:
- A class & modules system
- Instance functions for the built-in data-types
- (Not sure) A package manager, MathGet
Installer
Added
- An update feature to be able to update MathScript without having to uninstall & reinstall it completely
- Now there's also an
AppImage
version of the installer, for Linux. - Now uses threads for downloading, unzipping and uninstalling
Fixed
- Since the installer accept now the fact that you can don't update, the repair feature now reinstall the current installed version
- Now the icon size range from 16×16 to 256×256, instead of the only 16×16 icon of before