Skip to content

Japt 1.3: string compression, Unicode shortcuts, and many new functions

Compare
Choose a tag to compare
@ETHproductions ETHproductions released this 23 Nov 02:40
· 488 commits to master since this release

Over the last few days, vihanb and I have implemented a bunch of new features, bug fixes and enhancements:

  • String functions:
    • d - Recursive replace
    • e - Single-char replace and multiple-replace
    • o - Select chars
  • Array functions:
    • u - Unshift
    • v - Shift
  • Number functions:
    • a - absolute value
    • j - primality test
    • k - prime factorization
    • l - factorial
  • Math functions:
    • t - atan2
    • g - fibonacci
    • r - random
    • P - PI
  • String compression (using the shoco library):
    • Oc - compress ASCII text
    • Od - decompress pre-compressed text
    • text wrapped in backticks - auto-decompress
  • Unicode shortcuts:
    • ¡ - Um@
    • ¢ - Us2
    • £ - m@
    • ¤ - s2
    • ¥ - ==
    • ¦ - !=
    • § - <=
    • ¨ - >=
    • © - &&
    • ª - ||
    • « - &&!