Skip to content

IKS example

Clean Importer requested to merge iks-example into master

Adds an example with dynamics 🎉 (it even works, after some fixes). The heavy use of dynamics with polymorphic expressions inspires some trust in the implementation.

Critical bugs fixed:

  • In the implementation of create_arrayBOOL and create_arrayCHAR, add 64-bit implementations which (1) use the right amount of words (~twice less than on 32-bit) and (2) fill the words completely with the element.
  • Several types in abc_instructions.c were missing (eqD_b, some push_r_args variants) or incorrect (build_r series)
  • The build_r series sometimes used A-stack elements where it should use B-stack elements

Other bugs fixed:

  • In bytecode.c, add printing for character literals (non-critical, enhances program listing in debugger)
  • In debug_curses.c, fix arity calculation (cf. #32 (closed), non-critical as this is debugger-only)

Merge request reports