Skip to content

Releases: valoeghese/Jason-Basic

v1.4.0

Choose a tag to compare

@valoeghese valoeghese released this 13 Sep 03:28
  • New Trig and Maths builtin functions (e.g. SIN, ATAN, COSH, SQRT, FLOOR)
  • New operators: ** (exponent) and ^ (xor)
  • Macros! (@NathanSnail) define a macro with :DEFINE NAME "expression" and expand it with :EXPAND NAME (parameters). Parameters can be done with {{1}} etc. The macros are part of the new preprocessor.
  • Builtin functions that take in one input (like SQRT, ROUND, SIN, etc...) can now be used inline! Can be applied to an expression in brackets (e.g. a = SIN (5+2*a)) or to a number, variable, or string without brackets. (e.g. a = COS b)

v1.3.5

Choose a tag to compare

@valoeghese valoeghese released this 12 Aug 04:23

= and <= now work again
New operator /= added for not equals

v1.3.4

Choose a tag to compare

@valoeghese valoeghese released this 12 Aug 04:11

Fix number tokeniser not supporting floating point numbers

v1.3.3

Choose a tag to compare

@valoeghese valoeghese released this 12 Aug 04:04

Fix string escaping being broken

v1.3.2

Choose a tag to compare

@valoeghese valoeghese released this 11 Aug 22:20

Fix issue with compiler compiling multiple for loops

v1.3.1

Choose a tag to compare

@valoeghese valoeghese released this 11 Aug 22:08

Fix infinite loop in tokeniser

v1.3.0

Choose a tag to compare

@valoeghese valoeghese released this 09 Aug 05:19

Language

  • New TONUMBER statement to convert string to number.
  • builtins that write to a variable like (but not limited to) INPUT TO, RANDOM and ROUND can now handle array elements.

Discord Bot

  • Replying to a message with [prefix]/msg or [prefix]/msg detach now stores the content of that message in a variable called content.

Implementation

  • New tokeniser. Now with 90% less jank
  • Now properly asserts variables exist before running a line.

v1.2.0

Choose a tag to compare

@valoeghese valoeghese released this 01 Aug 01:59
5f56016

Added FOR each loops, and dynamic GOTO that jumps to a label parsed by an expression

v1.1.1

Choose a tag to compare

@valoeghese valoeghese released this 28 May 07:01
23e4fe9

1.1.1
Fix bugs in the interpreter that led to exploits and unbreakable infinite loops.

1.1.0
Add arrays