What's new?
- Bug fixes:
- Fixes for
endtranslation results - Fix for untranslated comments
- And fixes untranslated functions
- Fixes for
- Added
Err,URIErr,EvalErr,TypeErr,RangeErr,SyntaxErr,InternalErr,ReferenceErr,float,continue,is_error,super,throw,handle,recovery, andfinal - Delete
isNull - Changed the way some functions and statements are written:
is_includes === "World!"tois_includes("World!")is_start === "Hello"tois_start("Hello")is_end === "There!"tois_end("There!")is_matched === "/Hey/g"tois_matched(/Hey/g)is_design === "display: none"tois_design("display: none")isStr,isNum,isBool,isFunc,isBig,isUndef,isObj,isSymtois_typebreak:tobreak
For details on how to use, you can see the list of functions of BynixScript.
- Added property
watchto bsconfig.json:
{
"extension": {
"primary": ".bs",
"secondary": ".bynixscript",
"module": ".mbs"
},
"toFolder": "./dist/",
"readFolder": "./src/",
"allowJs": false,
"watch": false
}- The function of the
watchproperty is to automatically compile in a specified directory.
Installation
npm install -g bynixscript@0.2.0
Or run with CDN:
<script src="https://cdn.jsdelivr.net/npm/bynixscript@0.2.0/js/browser.min.js"></script>Create an issue if there are bugs or problems.
I hope in this version you cannot find any bugs