[Snek] [keith-packard/snek] 37a2c3: Add smaller set of math builtins

Keith Packard noreply at github.com
Wed Nov 20 22:22:13 PST 2024


  Branch: refs/heads/update-avr
  Home:   https://github.com/keith-packard/snek
  Commit: 37a2c33a8fc3f2c2418efb1395c8f8b9c7c2f43b
      https://github.com/keith-packard/snek/commit/37a2c33a8fc3f2c2418efb1395c8f8b9c7c2f43b
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    R ports/mega/snek-mega-math.builtin
    A snek-math-small.builtin
    M snek-math.c

  Log Message:
  -----------
  Add smaller set of math builtins

This includes most of the math builtins except for hyperbolic trig,
error and gamma functions.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: f815e5f1ba17ac8c6008707cbda58ce4ead60115
      https://github.com/keith-packard/snek/commit/f815e5f1ba17ac8c6008707cbda58ce4ead60115
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    A chips/atmega/snek-atmega-flash.c
    M chips/atmega/snek-atmega-serial.c
    M chips/atmega/snek-atmega-time.c
    M chips/atmega/snek-atmega.defs
    M chips/atmega/snek-atmega.h

  Log Message:
  -----------
  chips/atmega: Add flash writing code for ATmega4809

This chip has a tiny EEPROM block but lots of flash. Use flash to
store the program instead of EEPROM.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: aa13e91d3dd2b476b38970416d6c1c85e816cce5
      https://github.com/keith-packard/snek/commit/aa13e91d3dd2b476b38970416d6c1c85e816cce5
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M ports/nano-every/Makefile
    M ports/nano-every/snek-nano-every-install.in
    M ports/nano-every/snek-nano-every.builtin
    M ports/nano-every/snek-nano-every.c

  Log Message:
  -----------
  ports/nano-every: Use the new ATmega4809 flash driver for storage

Wire up the new driver, including changing the installer to program
the fuses to reserve 4kB of flash.

Use a smaller set of math builtins to save a bit of space to make room.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 80e03bc2f0989498ab67d71aeecbd898e72c37a9
      https://github.com/keith-packard/snek/commit/80e03bc2f0989498ab67d71aeecbd898e72c37a9
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M snek-lex.c

  Log Message:
  -----------
  Stop processing comment when ^C is seen

Avoids having the lexer stuck in the comment loop when
the interpreter is supposed to be interrupted.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: a6adedf69245a758b1775282de556a5dd7bfa732
      https://github.com/keith-packard/snek/commit/a6adedf69245a758b1775282de556a5dd7bfa732
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M examples/morse.py

  Log Message:
  -----------
  examples: Update morse example

Use LED. Use new callsign.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: ede11ba438526bcb92651003200aeaf2bbc8bbd9
      https://github.com/keith-packard/snek/commit/ede11ba438526bcb92651003200aeaf2bbc8bbd9
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M .github/Dockerfile

  Log Message:
  -----------
  .github: Modify Dockerfile to force package reload

Get the new version of lola

Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/fc5d52062bfe...ede11ba43852

To unsubscribe from these emails, change your notification settings at https://github.com/keith-packard/snek/settings/notifications


More information about the Snek mailing list