Skip to content

Releases: BHznJNs/Calculator.rs

Code editor word completion implementation test

24 May 12:56
Compare
Choose a tag to compare
1.13.0a

feat: :sparkles: code editor word completion implemented

Complex number support update

21 May 10:40
Compare
Choose a tag to compare
Pre-release
1.12.0a

docs: :memo: tutorials updated for complex number

1.11.3a

12 May 06:10
Compare
Choose a tag to compare
1.11.3a Pre-release
Pre-release
feat: :sparkles: more available keywords

Resolving algorithm for code blocks refactored && Re-implemented auto-completion for REPL Pre-release

23 Nov 02:59
Compare
Choose a tag to compare

现在代码块内的每一行代码末尾无需添加分号了
Now there is no need to append semicolon at the end of code lines in code blocks

Build-in code editor test

30 Sep 07:06
Compare
Choose a tag to compare
Pre-release
1.11.0a

feat: :sparkles: Basically implemented build-in code editor

Indent operation support in build-in editor

03 Oct 08:26
Compare
Choose a tag to compare
1.11.0b

chore: :arrow_up: crossterm dependency upgraded

New error type: MathError | Use modulo operator `%` replaced the build-in function `Math.mod`

29 Aug 09:35
Compare
Choose a tag to compare
  • MathError will be thrown when encount math calculating error. E.g. division by zero.
  • Use modulo operator % replaced the build-in function Math.mod, which can do better in the fraction calculating.

Codes refactored && Tutorials updated

17 Aug 09:09
Compare
Choose a tag to compare
  • LineEditor module refactored
  • Internal global variables refactored
  • Tutorials for Basic standard module updated

New data type: `Unique`

13 Aug 11:15
Compare
Choose a tag to compare
  • Unique is a "unique" data type, it can be constructed from Raw-String value. However, every Unique value is unique. You can create two Unique value from a same String, but the two Unique are actually different, just like Symbol in JavaScript. Unique can be constructed from standard function unique
  • Changed type constants (NUMBER, STRING etc.) from Number typed to Unique typed, and the standard function type now returns Unique typed value.
  • More type annotations added, see Tutorials - syntax - function for more detail.

New data type: `Map`

01 Aug 08:34
Compare
Choose a tag to compare
  • New data type: Raw-Map and Map-Object
  • New standard functions: Array::slice, Array::contains