Skip to content

Version 0.2.0

Latest

Choose a tag to compare

@claycuy claycuy released this 11 Oct 12:01
· 20 commits to main since this release

What's new?

  • Bug fixes:
    • Fixes for end translation results
    • Fix for untranslated comments
    • And fixes untranslated functions
  • Added Err, URIErr, EvalErr, TypeErr, RangeErr, SyntaxErr, InternalErr, ReferenceErr, float, continue, is_error, super, throw, handle, recovery, and final
  • Delete isNull
  • Changed the way some functions and statements are written:
    • is_includes === "World!" to is_includes("World!")
    • is_start === "Hello" to is_start("Hello")
    • is_end === "There!" to is_end("There!")
    • is_matched === "/Hey/g" to is_matched(/Hey/g)
    • is_design === "display: none" to is_design("display: none")
    • isStr, isNum, isBool, isFunc, isBig, isUndef, isObj, isSym to is_type
    • break: to break
      For details on how to use, you can see the list of functions of BynixScript.
  • Added property watch to bsconfig.json:
{
  "extension": {
    "primary": ".bs",
    "secondary": ".bynixscript",
    "module": ".mbs"
  },
  "toFolder": "./dist/",
  "readFolder": "./src/",
  "allowJs": false,
  "watch": false
}
  • The function of the watch property 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