[Snek] [keith-packard/snek] baf890: doc: Fix minor typo in snek.adoc
Keith Packard
noreply at github.com
Sun Mar 27 12:35:35 PDT 2022
Branch: refs/heads/debian
Home: https://github.com/keith-packard/snek
Commit: baf890d47a9077dbebda3ff918ad35cca64bec5f
https://github.com/keith-packard/snek/commit/baf890d47a9077dbebda3ff918ad35cca64bec5f
Author: Keith Packard <keithp at keithp.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Fix minor typo in snek.adoc
Was using % instead of `%`.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f1ade4a8cba6128998eefee0731b6807238c9efb
https://github.com/keith-packard/snek/commit/f1ade4a8cba6128998eefee0731b6807238c9efb
Author: Keith Packard <keithp at keithp.com>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Add documentation for the 'abs' function
Somehow this function got missed!
Closes #40
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 095da868ee7fdf3de70552360b2cd43f1becf95c
https://github.com/keith-packard/snek/commit/095da868ee7fdf3de70552360b2cd43f1becf95c
Author: Keith Packard <keithp at keithp.com>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M chips/atmega/snek-328p.builtin
Log Message:
-----------
chips/atmega: Reduce pool on 328p to 900 bytes
This leaves more space for the stack, which is required to run
the f_to_c demo (at least).
Closes #37
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 16d11fe87d526c758f0b9f27ca36fb9792cc8335
https://github.com/keith-packard/snek/commit/16d11fe87d526c758f0b9f27ca36fb9792cc8335
Author: Keith Packard <keithp at keithp.com>
Date: 2021-11-21 (Sun, 21 Nov 2021)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Remove attempts at character formatting in source samples
asciidoctor source mode doesn't handle character attributes like _foo_
in source blocks; it ends up leaving HTML style bits in the output.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 65bf10d8f4a462d8fd4f99f1a63f6b4c4dce05d1
https://github.com/keith-packard/snek/commit/65bf10d8f4a462d8fd4f99f1a63f6b4c4dce05d1
Author: Keith Packard <keithp at keithp.com>
Date: 2021-11-21 (Sun, 21 Nov 2021)
Changed paths:
M snek-code.c
Log Message:
-----------
Del opcode has an 'id' parameter
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: a6d591dfb0f194d97798181f8c46effc8acdd9df
https://github.com/keith-packard/snek/commit/a6d591dfb0f194d97798181f8c46effc8acdd9df
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-builtin.py
M snek-frame.c
Log Message:
-----------
Initialize snek_globals from snek_init macro
This gets rid of a conditional needed in snek_pick_frame and avoids a
crash in snek_id_del if called before snek_globals was initialized.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: e65b93a8adddfc3c0f8416946403adc807672d59
https://github.com/keith-packard/snek/commit/e65b93a8adddfc3c0f8416946403adc807672d59
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-print.c
Log Message:
-----------
Remove line number from function print result
Printing the line number where a function was defined was kinda nice,
but it takes a bunch of code space which can be better used for other
things.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ff3e4c532eb8d2b9ed5db6a5b86e8ab4ad339e21
https://github.com/keith-packard/snek/commit/ff3e4c532eb8d2b9ed5db6a5b86e8ab4ad339e21
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-print.c
Log Message:
-----------
Initialize the format for printing more efficiently
Putting the format on the stack and initializing it with statements
takes less space than having it static and initialized partially at
boot time and partially at runtime.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f5c97a443e316fae0f96337106c910a322229104
https://github.com/keith-packard/snek/commit/f5c97a443e316fae0f96337106c910a322229104
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-gram.ll
Log Message:
-----------
Merge a couple of actions together in 'DEF'
Setting nformal/nnamed can wait until the NAME is lexed, merging these
actions together saves a bit of text space.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 7637490bbd7a3872fc767786e32c1bb0ca7b2deb
https://github.com/keith-packard/snek/commit/7637490bbd7a3872fc767786e32c1bb0ca7b2deb
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-print.c
Log Message:
-----------
Fix list printing to use 'a' format for elements
Lists/dicts/tuples always have their elements printed in 'a' format so
that you can see the strings clearly.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: baaf73b54620fcc135326fe872b0061a31512e6a
https://github.com/keith-packard/snek/commit/baaf73b54620fcc135326fe872b0061a31512e6a
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-input.builtin
M snek-string.c
M test/Makefile
A test/pass-str.py
Log Message:
-----------
Add 'str' builtin
This is the same as using %s format on the object
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: c54a506f54e1724f6f9b8ec39d8d8cb336af14a6
https://github.com/keith-packard/snek/commit/c54a506f54e1724f6f9b8ec39d8d8cb336af14a6
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M .github/Dockerfile
Log Message:
-----------
.github: Use debian versions of qemu
Don't need custom version of qemu for risc-v any more.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 392c63d63ebe923b3843786a1100a492aec1422c
https://github.com/keith-packard/snek/commit/392c63d63ebe923b3843786a1100a492aec1422c
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths:
A ports/duemilanove-big/.gitignore
A ports/duemilanove-big/Makefile
A ports/duemilanove-big/snek-duemilanove-big-install.1.in
A ports/duemilanove-big/snek-duemilanove-big-install.in
M ports/duemilanove/Makefile
A ports/uno-big/.gitignore
A ports/uno-big/Makefile
M snek-install.defs
Log Message:
-----------
ports/duemilanove-big,ports/uno-big: Add bigger duemilanove and uno ports
These overwrite the bootloader, requiring a dongle to flash them. This
allows adding all of the input builtins to the image.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 8bb17e7426f3ca440f86728d140f1d445bbad92d
https://github.com/keith-packard/snek/commit/8bb17e7426f3ca440f86728d140f1d445bbad92d
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths:
M snek-gram.ll
Log Message:
-----------
Accept missing newline at end of file
Accept either 'NL' or 'END' at the end of a simple statement so that
programs that end without a NL will still work correctly.
Closes #39
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 182063dad54bd96bd85d7f62884e8e84265cf3b2
https://github.com/keith-packard/snek/commit/182063dad54bd96bd85d7f62884e8e84265cf3b2
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Spelling fixes
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ad7d5444f6f0ffd36d738c56210f33db7dac22b4
https://github.com/keith-packard/snek/commit/ad7d5444f6f0ffd36d738c56210f33db7dac22b4
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Add 'Input functions' section
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 1e76bd806ba0e66d1ce7ddbd457bf5e704448643
https://github.com/keith-packard/snek/commit/1e76bd806ba0e66d1ce7ddbd457bf5e704448643
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-13 (Mon, 13 Dec 2021)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Add docs about “big” version for 328 boards
Also mention that the duemilanove version runs on the Arduino Nano.
Closes #42
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5028f35ce08caab42b8cc260ac53df9fd6c21985
https://github.com/keith-packard/snek/commit/5028f35ce08caab42b8cc260ac53df9fd6c21985
Author: Keith Packard <keithp at keithp.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M snek-exec.c
M snek-gram.ll
M test/pass-chain-op.py
Log Message:
-----------
Correct stack usage during chained comparison operations
Chained comparison operators (a < b < c) use a "short-circuit"
mechanism much like the boolean operators 'and' and 'or'. This
requires some fancy hacks in snek and there were a few mistakes:
1. The left-hand operand ('a') was left on the stack
2. The second operator (b < c) would set the 'push' bit, which is on
the first comparison operator so that 'b' would be on the
stack. If the first comparison was false, that push wouldn't be
appropriate. So, we reset the 'push' flag when branching.
3. We need an instruction to land on after branching that can get the
'push' bit set in case the following operations need it. So we
insert a 'nop' there, just like the short-circuited 'and'/'or'
does.
Also add some tests which detect these mistakes.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 361151f2a4e349ad2f5fd37a64ece124fdf0fe5b
https://github.com/keith-packard/snek/commit/361151f2a4e349ad2f5fd37a64ece124fdf0fe5b
Author: Keith Packard <keithp at keithp.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M chips/atmega/snek-atmega.defs
M chips/atmega/snek-atmega.h
M chips/avr/snek-avr.defs
M chips/avr/snek-avr.h
M snek-error.c
M snek-lex.c
M snek.defs
M snek.h
Log Message:
-----------
avr/atmega: snek_file doesn't change. stdout == stderr
Reduce code size by
1. Realizing that snek_file is always "<stdin>" on boards without a
file system.
2. Noting that stdout == stderr, so we can use printf instead of
fprintf
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ffdb245d5b1bf54fbfa20eeec4b64c18d06f2c57
https://github.com/keith-packard/snek/commit/ffdb245d5b1bf54fbfa20eeec4b64c18d06f2c57
Author: Keith Packard <keithp at keithp.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M snek-exec.c
M test/Makefile
A test/pass-str-op.py
Log Message:
-----------
Allow 3 * 'a' as well as 'a' * 3
Replication of strings and lists is supposed to work with operands in
either order, so check for that and flip them around.
Add tests for string operators.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 0f4900019c68ff3fbd8a79c61cdecc877118c0a0
https://github.com/keith-packard/snek/commit/0f4900019c68ff3fbd8a79c61cdecc877118c0a0
Author: Keith Packard <keithp at keithp.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M test/pass-while-break.py
M test/pass-while-else.py
M test/pass-while.py
Log Message:
-----------
test: Add 'assert' to check in pass-while tests
This makes sure an error message is printed if these tests fail.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 43ad466e0bf0f13959b338c86f2390ba74b7ed09
https://github.com/keith-packard/snek/commit/43ad466e0bf0f13959b338c86f2390ba74b7ed09
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-12 (Sat, 12 Feb 2022)
Changed paths:
M .github/Dockerfile
Log Message:
-----------
.github: Switch back to vanilla debian qemu
Now that qemu supports semihosting on risc-v, we can use the standard
debian version again.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 52e408ee27728b07c2eab41e1ce8db7665994fcd
https://github.com/keith-packard/snek/commit/52e408ee27728b07c2eab41e1ce8db7665994fcd
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-12 (Sat, 12 Feb 2022)
Changed paths:
M .github/workflows/snek.yml
Log Message:
-----------
.github: Cache dockerfile
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ab9f6dbb9a31b430bd237b3baac9b5e2287ad7b1
https://github.com/keith-packard/snek/commit/ab9f6dbb9a31b430bd237b3baac9b5e2287ad7b1
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-12 (Sat, 12 Feb 2022)
Changed paths:
M .github/Dockerfile
R .github/Dockerfile-black
R .github/workflows/black.yml
M .github/workflows/snek.yml
Log Message:
-----------
.github: Run 'black' check in the regular snek test build
Don't create a whole separate container just to run 'black'.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 323480a205aeb646908088c1de78988950b9d621
https://github.com/keith-packard/snek/commit/323480a205aeb646908088c1de78988950b9d621
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M chips/atmega/snek-328p.c
M ports/grove/snek-grove.builtin
Log Message:
-----------
chips/atmega: Use BUILTIN defines to select tone code
Instead of requiring a separate SNEK_TONE define, use the existing
SNEK_BUILTIN_tone and SNEK_BUILTIN_tonefor defines to select whether
the tone code is included in the 328p io driver.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 8e1641fbd6efe568e1eaad50ad52d3ef1cb39b34
https://github.com/keith-packard/snek/commit/8e1641fbd6efe568e1eaad50ad52d3ef1cb39b34
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M chips/atmega/snek-328p.c
M ports/grove/snek-grove.builtin
Log Message:
-----------
chips/atmega: Add tonefor builtin to 328p io driver
This adds a function for this chip that is part of the usual tone
support.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: d8ae7845063fef718b500c7c8f5b5415bfe03e19
https://github.com/keith-packard/snek/commit/d8ae7845063fef718b500c7c8f5b5415bfe03e19
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M chips/atmega/snek-atmega-serial.c
Log Message:
-----------
chips/atmega: Echo '^T' in serial ISR
This lets the host perform automatic baud rate detection even if
snek is not reading input.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: a8b7900c8a57458f587d4f3ee51a01b584aad1b5
https://github.com/keith-packard/snek/commit/a8b7900c8a57458f587d4f3ee51a01b584aad1b5
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M chips/atmega/snek-328p.c
Log Message:
-----------
chips/atmega: Fix digital reads from "analog" pins
When a pull-up value is applied to an analog pin, snek is supposed to
go into digital mode, however, the function responsible for returning
the correct pin register wasn't set to return PINC for the analog pins.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: c13d6f2890a02a46ada8f1d0379e9414fb075d86
https://github.com/keith-packard/snek/commit/c13d6f2890a02a46ada8f1d0379e9414fb075d86
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M chips/qemu/snek-qemu.c
Log Message:
-----------
chips/qemu: Use semihost_elapsed for time values
QEMU returns processor time for sys_semihost_clock, so switch to
sys_semihost_elapsed(), which provides wall time instead.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ff3200dd38869c85307696dde2e1f922f3a8e7cc
https://github.com/keith-packard/snek/commit/ff3200dd38869c85307696dde2e1f922f3a8e7cc
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M chips/samd21/ao-usb-samd21.c
Log Message:
-----------
chips/samd21: Scan for ^C even if input is full
This lets the user interrupt the device even if some data
has been sent.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ee8f5ed6085efb72584fc53f64c8ad6bbc63f8bf
https://github.com/keith-packard/snek/commit/ee8f5ed6085efb72584fc53f64c8ad6bbc63f8bf
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M README.md
M snekde/snekde.py
Log Message:
-----------
snekde: Support 57600 and 115200 baud
8MHz atmega devices cannot use 115200 baud because the clock
resolution isn't fine enough to get a close match in bit rate. So,
those devices will run at 57600 baud instead.
Support this by using the new ^T handling in the 328p chip code to
auto-detect the device baud rate when initially opening the device and
also adding a baud rate selection key (F8) which switches between
115200 and 57600 baud.
Display this in the status bar along with the device name.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ae9cca6f26db60568aeb8d30ec3da4a7779d8d99
https://github.com/keith-packard/snek/commit/ae9cca6f26db60568aeb8d30ec3da4a7779d8d99
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M ports/duemilanove-big/Makefile
Log Message:
-----------
ports/duemilanove-big: Change Makefile extensions to optional
This lets ports using this as a base override the settings for extra
source and builtins.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 54ec5f895e73da0833f652b347a3f032f60ccfc9
https://github.com/keith-packard/snek/commit/54ec5f895e73da0833f652b347a3f032f60ccfc9
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M ports/duemilanove/Makefile
M ports/uno/Makefile
Log Message:
-----------
ports/duemilanove: Move vpath from uno/Makefile to duemilanove/Makefile
This will let other ports share this bit.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: fe4a379230829a951fdbfe5f9fda699beea26a9c
https://github.com/keith-packard/snek/commit/fe4a379230829a951fdbfe5f9fda699beea26a9c
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M ports/duemilanove/Makefile
M ports/duemilanove/snek-duemilanove-install.in
Log Message:
-----------
ports/duemilanove: Make baud and clock configurable
This allows other 328 ports to have different values
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: c6dea835842c10c1009681065b363dcb8de3949c
https://github.com/keith-packard/snek/commit/c6dea835842c10c1009681065b363dcb8de3949c
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M ports/uno/Makefile
Log Message:
-----------
ports/uno: Remove duplicate code to generate snek-uno-install
The duemilanove Makefile already has this bit
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ecac504fad1c710f4c56ed89ffdd92db150d7bb7
https://github.com/keith-packard/snek/commit/ecac504fad1c710f4c56ed89ffdd92db150d7bb7
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M README.md
M doc/snek.adoc
A ports/lilypad/.gitignore
A ports/lilypad/Makefile
M snek-install.defs
Log Message:
-----------
Add port to standard LilyPad
This is an ATMega 328P running at 8MHz because of the 3.3V power
supply. This port includes the basic I/O code along with the 'tone'
builtins to support the LilyPad beeper when connected to pin 5. This
required leaving out dictionary and slice support to save flash.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 8db04a237e7a35f590ba94726385ff13149c44f7
https://github.com/keith-packard/snek/commit/8db04a237e7a35f590ba94726385ff13149c44f7
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M doc/snek.adoc
A ports/lilypad-big/.gitignore
A ports/lilypad-big/Makefile
M snek-install.defs
Log Message:
-----------
Add 'big' port to standard LilyPad
Port to LilyPad that takes all available ROM instead of leaving space
for optiboot. This uses the duemilanove-big port as a template,
dropping dict and adding tone
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 74e19c3245ed25a53ff7f205f410b50414623dde
https://github.com/keith-packard/snek/commit/74e19c3245ed25a53ff7f205f410b50414623dde
Author: Keith Packard <keithp at keithp.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M ports/esp32/Makefile
M ports/esp32/main/snek-main.c
Log Message:
-----------
ports/esp32: Update to current esp32 sdk
The name of the 'tick' type changed. Also added more cleaning.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 53a3d3c75b1db1c901ac82c63c751fc5261a0e03
https://github.com/keith-packard/snek/commit/53a3d3c75b1db1c901ac82c63c751fc5261a0e03
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M chips/qemu/snek-qemu.c
M chips/qemu/snek-qemu.defs
M ports/qemu-arm/snek-arm.in
M ports/qemu-riscv/snek-riscv.in
Log Message:
-----------
ports/qemu-{arm,riscv}: Use Picolibc 1.7.5 --crt0=semihost
This new crt0 provides argc/argv from the semihost command line rather
than requiring parsing inside the application. Version 1.7.5 also
provides a working gettimeofday.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 92d59459bd080e117d3ea60a2d1a97c9466b8b21
https://github.com/keith-packard/snek/commit/92d59459bd080e117d3ea60a2d1a97c9466b8b21
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M test/Makefile
Log Message:
-----------
test: Always test on risc-v now
upstream qemu has risc-v semihosting support, and that's packaged in
debian so we can always test the risc-v version too.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5015f83edc3dc3e569a8f0e3f4ef47634a074ead
https://github.com/keith-packard/snek/commit/5015f83edc3dc3e569a8f0e3f4ef47634a074ead
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M README.md
Log Message:
-----------
Add release notes to README.md
Stick the per-release notes at the bottom of README.md
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: fb33a886e549b82b1c598481bffc7423cbf67523
https://github.com/keith-packard/snek/commit/fb33a886e549b82b1c598481bffc7423cbf67523
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M snekde/snekde.py
M test/pass-op.py
M test/pass-trailing-comma.py
Log Message:
-----------
Reformat a few files with black
Black appears to have changed it's mind about how some code should be
formatted.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: a27d492d764fab90cea87ec9bff0a6d3e5b72d61
https://github.com/keith-packard/snek/commit/a27d492d764fab90cea87ec9bff0a6d3e5b72d61
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Fix a typo in snek.adoc
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 9bd4e47fd749dea71c216541d1351aa114998dc6
https://github.com/keith-packard/snek/commit/9bd4e47fd749dea71c216541d1351aa114998dc6
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M chips/samd21/snek-gpio.c
M doc/snek.adoc
Log Message:
-----------
chips/samd21: Accept a single list of three numbers to neopixel
This makes boards with a single neopixel easier to use
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: cb2fc3cbea4fd00ba78b367953083358a0c3b9b0
https://github.com/keith-packard/snek/commit/cb2fc3cbea4fd00ba78b367953083358a0c3b9b0
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M ports/duemilanove-big/snek-duemilanove-big-install.1.in
M ports/duemilanove-big/snek-duemilanove-big-install.in
M ports/duemilanove/Makefile
M ports/duemilanove/snek-duemilanove-install.1.in
M ports/duemilanove/snek-duemilanove-install.in
M ports/grove/snek-grove-install.in
M ports/lilypad/Makefile
M ports/uno-big/Makefile
M ports/uno/Makefile
Log Message:
-----------
ports/*328*: Add -mcu option to all of the m328/m328p install scripts
It seems that some of these boards have m328 and others have m328p;
allow the user to select which their board has on the command line.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 11f9d67ed7e3540f874e25b01ef61766fbee7d82
https://github.com/keith-packard/snek/commit/11f9d67ed7e3540f874e25b01ef61766fbee7d82
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M ports/itsybitsy5v/snek-itsybitsy-install.in
Log Message:
-----------
ports/itsybitsy5v: Only program high fuse byte
Leave the other two alone as they control brown-out and clock
configuration bits.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f0a87c8477eeb2791c9b6c1c45bd75d7fcf5691b
https://github.com/keith-packard/snek/commit/f0a87c8477eeb2791c9b6c1c45bd75d7fcf5691b
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M ports/itsybitsy5v/snek-itsybitsy5v.builtin
Log Message:
-----------
ports/itsybitsy5v: Add 'LED' define in builtins
This lets the user talkto(LED)
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b609a021465a7d640a8e7a2243ffe7c5081c8f99
https://github.com/keith-packard/snek/commit/b609a021465a7d640a8e7a2243ffe7c5081c8f99
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M ports/itsybitsym0/snek-itsybitsym0.builtin
Log Message:
-----------
ports/itsybitsym0: Add 'LED' builtin
Allows the user to use talkto(LED)
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 3d174a102cfa74225d9e3c99728ab9c5420c5aff
https://github.com/keith-packard/snek/commit/3d174a102cfa74225d9e3c99728ab9c5420c5aff
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M ports/nano-every/Makefile
Log Message:
-----------
ports/nano-every: Install 'snek-nano-every-reset-port' helper
This gets the board reset and ready for programming
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 44834831cf8124baafd0333968c13ab36a1e9ec9
https://github.com/keith-packard/snek/commit/44834831cf8124baafd0333968c13ab36a1e9ec9
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M ports/xiao/snek-xiao.builtin
Log Message:
-----------
ports/xiao: Add 'LED' builtin
Allows the use of talkto(LED)
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: df435341fd3dd52e86c6827470ab7391fd42f2c5
https://github.com/keith-packard/snek/commit/df435341fd3dd52e86c6827470ab7391fd42f2c5
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Update manual flashing commands for ATmega boards
These have been updated to match what the install scripts do, mostly
removing setting fuse bytes that shouldn't be touched.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b233bf87811b49a7ad2ede7b9c79cdae631a6461
https://github.com/keith-packard/snek/commit/b233bf87811b49a7ad2ede7b9c79cdae631a6461
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M README.md
M snek.defs
Log Message:
-----------
Snek version 1.8
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 224ca877e4d27a6baa75c8f25a8d96001ca113ab
https://github.com/keith-packard/snek/commit/224ca877e4d27a6baa75c8f25a8d96001ca113ab
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M .github/Dockerfile
R .github/Dockerfile-black
R .github/workflows/black.yml
M .github/workflows/snek.yml
M README.md
M chips/atmega/snek-328p.builtin
M chips/atmega/snek-328p.c
M chips/atmega/snek-atmega-serial.c
M chips/atmega/snek-atmega.defs
M chips/atmega/snek-atmega.h
M chips/avr/snek-avr.defs
M chips/avr/snek-avr.h
M chips/qemu/snek-qemu.c
M chips/qemu/snek-qemu.defs
M chips/samd21/ao-usb-samd21.c
M chips/samd21/snek-gpio.c
M doc/snek.adoc
A ports/duemilanove-big/.gitignore
A ports/duemilanove-big/Makefile
A ports/duemilanove-big/snek-duemilanove-big-install.1.in
A ports/duemilanove-big/snek-duemilanove-big-install.in
M ports/duemilanove/Makefile
M ports/duemilanove/snek-duemilanove-install.1.in
M ports/duemilanove/snek-duemilanove-install.in
M ports/esp32/Makefile
M ports/esp32/main/snek-main.c
M ports/grove/snek-grove-install.in
M ports/grove/snek-grove.builtin
M ports/itsybitsy5v/snek-itsybitsy-install.in
M ports/itsybitsy5v/snek-itsybitsy5v.builtin
M ports/itsybitsym0/snek-itsybitsym0.builtin
A ports/lilypad-big/.gitignore
A ports/lilypad-big/Makefile
A ports/lilypad/.gitignore
A ports/lilypad/Makefile
M ports/nano-every/Makefile
M ports/qemu-arm/snek-arm.in
M ports/qemu-riscv/snek-riscv.in
A ports/uno-big/.gitignore
A ports/uno-big/Makefile
M ports/uno/Makefile
M ports/xiao/snek-xiao.builtin
M snek-builtin.py
M snek-code.c
M snek-error.c
M snek-exec.c
M snek-frame.c
M snek-gram.ll
M snek-input.builtin
M snek-install.defs
M snek-lex.c
M snek-print.c
M snek-string.c
M snek.defs
M snek.h
M snekde/snekde.py
M test/Makefile
M test/pass-chain-op.py
M test/pass-op.py
A test/pass-str-op.py
A test/pass-str.py
M test/pass-trailing-comma.py
M test/pass-while-break.py
M test/pass-while-else.py
M test/pass-while.py
Log Message:
-----------
Merge tag '1.8' into debian
Snek version 1.8
Commit: 4ad4a10b49b002c11a51f8c25aeab86624ca3a1f
https://github.com/keith-packard/snek/commit/4ad4a10b49b002c11a51f8c25aeab86624ca3a1f
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M debian/control
Log Message:
-----------
debian: Add build depend on qemu-system-misc
This gets the risc-v qemu needed for testing.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 364ed0353fb6714832d14f23c5876c6bcca92696
https://github.com/keith-packard/snek/commit/364ed0353fb6714832d14f23c5876c6bcca92696
Author: Keith Packard <keithp at keithp.com>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M debian/changelog
Log Message:
-----------
debian: Version 1.8-1
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/a7c9d9517242...364ed0353fb6
More information about the Snek
mailing list