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

Keith Packard noreply at github.com
Wed Nov 13 08:16:08 PST 2024


  Branch: refs/heads/from-import
  Home:   https://github.com/keith-packard/snek
  Commit: 274c6b8907c233f5b4420090418965bb04ab2de1
      https://github.com/keith-packard/snek/commit/274c6b8907c233f5b4420090418965bb04ab2de1
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-13 (Wed, 13 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: 79cd80596f7d9bad1d7df45c7338e31adad78fd2
      https://github.com/keith-packard/snek/commit/79cd80596f7d9bad1d7df45c7338e31adad78fd2
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-13 (Wed, 13 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: 85108d7bcfe98293c33299d5f9300e4362a4f7ee
      https://github.com/keith-packard/snek/commit/85108d7bcfe98293c33299d5f9300e4362a4f7ee
  Author: Keith Packard <keithp at keithp.com>
  Date:   2024-11-13 (Wed, 13 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/6043de497171...85108d7bcfe9

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