Skip to content

Commit

Permalink
Snek version 1.8
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Mar 27, 2022
1 parent df43534 commit b233bf8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,25 @@ mailing list here](https://keithp.com/mailman/listinfo/snek)

Here are more specific notes about Snek releases.

### Version 1.8

* Add 'str' builtin. Just like Python, the str builtin converts any
value to a string.

* Fix 'chained' comparisons (e.g. a < b < c). These generated
incorrect code that left the stack messed up unless all comparisons
were true.

* Allow 3 * 'a' as well as 'a' * 3. The code for evaluating
expressions only permitted the string to be on the left side.

* Add support in snekde for auto-detecting device baud rate between
57600 and 115200 baud.

* Add port to the ATMega 328 based LilyPad, in both the regular size
as well as the big version which replaces the boot loader to gain
more functionality.

### Version 1.7

* Fix NaN comparisons and make dicts containing NaN keys work.
Expand Down
4 changes: 2 additions & 2 deletions snek.defs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ vpath %.ll $(SNEK_LOCAL_VPATH):$(SNEK_ROOT)
vpath %.py $(SNEK_LOCAL_VPATH):$(SNEK_ROOT)
vpath %.builtin $(SNEK_LOCAL_VPATH):$(SNEK_ROOT)

SNEK_VERSION = 1.7
SNEK_DATE = 2021-09-25
SNEK_VERSION = 1.8
SNEK_DATE = 2022-03-26

SNEK_VERSION_DASH = $(shell echo $(SNEK_VERSION) | sed 's/\./-/g')

Expand Down

0 comments on commit b233bf8

Please sign in to comment.