Skip to content

Releases: scraterpreter/scrape

20.09.0

17 Sep 17:05
cb37488
Compare
Choose a tag to compare

This major release brings a type system to Scrape. It solves the issue of inaccurate and inefficient floating point arithmetic.

Before, all Scratch variables were stored as C++ strings in Scrape. The problem with this representation is that whenever a mathematical operation needs to be done on two variables (e.g. division), the strings need to be converted into doubles, and then the result of the operation needs to be converted back into a string. These conversions are inefficient, and they also cause floating point arithmetic to be inaccurate.

Now, Scratch variables are represented using MultiType objects. A MultiType object can be either a string or a double. A MultiType object keeps track of its own type, and it can change its own type when requested by the Scrape interpreter. This ensures that type conversions are only performed when necessary.

20.06.5

08 Jun 18:39
Compare
Choose a tag to compare

Fixes end-of-file (EOF) input bug.

20.06.4

08 Jun 18:37
Compare
Choose a tag to compare

Fixes #4 in LooksThink.

20.06.3

03 Jun 00:51
00ea9b5
Compare
Choose a tag to compare

Fixes #4.

20.06.2

02 Jun 18:04
ffde6fe
Compare
Choose a tag to compare

20.06.1

01 Jun 17:24
Compare
Choose a tag to compare

Fixed #2.

20.06.0

01 Jun 01:17
2b418de
Compare
Choose a tag to compare

Our first release! 🎊