Skip to content

Commit

Permalink
Snek version 1.9
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 Dec 24, 2022
1 parent 5489d41 commit 79076ee
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
40 changes: 18 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,24 @@ described below.

Here's some places that have seen recent work

* [Mu](https://codewith.mu/) version 1.2.0 has Snek support built in
now. Mu is an IDE designed for new Python users that offers a more
polished alternative to the simple Snek IDE provide with snek.

* Fixed a couple of `input` bugs compared with Python—input
returned None instead of the empty string when nothing was
typed before the return and input printed an arbitrary list of
parameters rather than just the first one. Thanks to Justin Miller
and Mikael Bonnier for reporting these issues.

* Store the most recently printed repl value in `_`. Thanks to Justin
Miller for this suggestion.

* For the Windows native port, add the input module and increase the
heap size to 256kB.

* Update the docs to format correctly with asciidoctor-pdf version 2.3

* [LilyPad Arduino 328](https://www.sparkfun.com/products/13342)
port. This is a round ATmega328p-based board designed for wearable
projects. This board runs at 8MHz, which can't run the serial port
Expand All @@ -121,28 +139,6 @@ Here's some places that have seen recent work
* Fixed incorrect precedence between bitwise and (&) and bitwise xor
(^) operators.

* Lots of improvements to the EV3 port making it more like
other Snek devices.

* [Narrow 1284](https://www.crowdsupply.com/pandauino/narrow) port.
This is a small board with the ATmega1284 SoC which is like the
ATmega328 but with much more Flash and RAM which provides way more
room for Snek to run.

* [Seeed Grove Beginner Kit](https://www.seeedstudio.com/Grove-Beginner-Kit-for-Arduino-p-4549.html)
port. This is another ATmega328p based board but with a range of
devices provided in the kit. Snek supports the LED, Buzzer, Light,
Sound, OLED Display, Button, Rotary Potentiometer and 3-axis
Accelerometer.

* [Seeeduino XIAO](https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html)
port. This is a SAMD21-based device on a tiny board with a USB-C
connector.

* [Arduino Nano Every](https://store.arduino.cc/usa/nano-every) port.
This uses the ATmega4809 which has 6kB of RAM, providing much more
space for Snek programs.

## Build and Run!

If you want to build Snek yourself, you'll need to have the build
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.8
SNEK_DATE = 2022-03-26
SNEK_VERSION = 1.9
SNEK_DATE = 2022-12-20

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

Expand Down

0 comments on commit 79076ee

Please sign in to comment.