[Snek] [keith-packard/snek] 7fa1d0: Expose both namespaced and bare names with --alias...

Keith Packard noreply at github.com
Wed Nov 13 07:54:02 PST 2024


  Branch: refs/heads/from-import
  Home:   https://github.com/keith-packard/snek
  Commit: 7fa1d046387a5c7e8be611a2db95006f8fcbc8ec
      https://github.com/keith-packard/snek/commit/7fa1d046387a5c7e8be611a2db95006f8fcbc8ec
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M ports/duemilanove/Makefile
    M snek-builtin.py
    M snek.defs

  Log Message:
  -----------
  Expose both namespaced and bare names with --alias option

This makes sin available as both sin and math.sin for backwards
compatibility with existing code. Smaller devices can disable this
where needed.

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


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

  Changed paths:
    M chips/atmega/snek-atmega.defs
    M chips/avr/snek-avr.defs
    M ports/duemilanove/Makefile
    M ports/grove/Makefile
    M ports/mega/Makefile
    M ports/nano-every/Makefile
    M ports/narrow-1284/Makefile

  Log Message:
  -----------
  Move AVR compile options to chips defs files

Make these options common across all ports instead of copy/pasting
them into each port Makefile. Also use the distro version of avr-gcc
for nano-every as it has been updated.

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


  Commit: 6043de497171d446377825f1c216ba86d997e722
      https://github.com/keith-packard/snek/commit/6043de497171d446377825f1c216ba86d997e722
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M chips/atmega/snek-atmega-math.h
    M snek-atof.c

  Log Message:
  -----------
  chips/atmega: Adapt to more recent avr libc

avr libc has changed how float and double stuff is managed; a couple of
minor changes are needed to cope.

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


Compare: https://github.com/keith-packard/snek/compare/d2b66704f8a0...6043de497171

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