[Snek] [keith-packard/snek] bbe46b: Test on ARM, now that picolibc 1.2 has semihost su...

Keith Packard noreply at github.com
Thu Nov 28 23:04:33 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: bbe46b973643506e3c3323c1cbc4685f64a9c9ff
      https://github.com/keith-packard/snek/commit/bbe46b973643506e3c3323c1cbc4685f64a9c9ff
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M test/Makefile

  Log Message:
  -----------
  Test on ARM, now that picolibc 1.2 has semihost support for fopen

Testing on ARM requires fopen support to open the test files within
qemu. Now that picolibc 1.2 is released, we can rely on that.

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


  Commit: 93cd59e79fa67dfa5c8f6da1f4a36d793947e6c0
      https://github.com/keith-packard/snek/commit/93cd59e79fa67dfa5c8f6da1f4a36d793947e6c0
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M snek-code.c
    M snek.h

  Log Message:
  -----------
  Use snek_code_add_op_offset and snek_code_add_op_uint8 more often

Use these functions to avoid lots of similar bits in other functions.
This saves a bunch of text space. A nice side-effect is that
compile_extend is now no longer called with data == NULL, so we
can remove that test.

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


Compare: https://github.com/keith-packard/snek/compare/33dec7d97a32...93cd59e79fa6


More information about the Snek mailing list