Skip to content

Releases: TabulateJarl8/ti842py

Fix output overwriting bug

10 Jul 01:34
Compare
Choose a tag to compare

Calling Prompt and Disp after Output would overwrite Output's output if the output was on the same line as the Prompt or Disp output.

In a blank terminal:

Output(2,1,"HELLO")
Prompt X

Turbo Draw

08 Jul 21:33
Compare
Choose a tag to compare

Add --turbo-draw option which removes the delay between drawing operations

Minor Importing Fix

02 Jul 02:04
Compare
Choose a tag to compare

Fix ImportError

Floating Point Errors fix

02 Jul 02:01
Compare
Choose a tag to compare

Made a decorator that attempts to fix floating point arithmetic errors within a function. On by default, but can be disabled with the --no-fix-floating-point flag. May still be unstable, as this feature hasn't been fully tested yet. Will fix any errors that come up

Example:

# Without fix:
print(1.1 * 3) # 3.3000000000000003

# With fix:
print(1.1 * 3) # 3.3

Improvements

26 May 23:21
Compare
Choose a tag to compare

Fix lists that use subscripts (L₃) and improve automatic decompile detection.

Improve implicit multiplication

26 May 14:26
Compare
Choose a tag to compare

Slight improvement to implicit multiplication support

A(3) -> A*(3)
a(3) -> a(3) - will only add multiplication if the preceding token is capital, since that is a variable

Re-implement implicit multiplication

25 May 01:05
Compare
Choose a tag to compare

Re-implement implicit multiplication support in a way that mostly works.

Remove implicit multiplication support

21 May 21:49
Compare
Choose a tag to compare

Implicit multiplication was breaking variables that were more than 1 letter long.

BLUE -> B*L*U*E

Implicit multiplication

21 May 18:07
Compare
Choose a tag to compare

Added support for implicit multiplication (turning on and off) and some bug fixes. Turn off support for implicit multiplication with the --no-fix-multiplication argument. Also fix closeOpen function and init [A-Z] + theta variables. Support for : after lbl

AB -> A*B
A(1) -> A*(1)

Fix Output formatting

21 May 13:22
Compare
Choose a tag to compare

Fixed Output string being cut off and added -V/--version argument