Update to WASM shell

I’m happy to announce a much updated version of the WASM demo running Prolog in the browser Highlights:

  • Support trace/0
  • Make get_single_char/1, read/1,2 and read_term/2,3 read from the browser when the input stream is user_input.
  • Added handling of ANSI style/color escapes, such that ansi_format/3 works.
  • Add up and download buttons (at the bottom-right). The upload accepts multiple files. Directory management is not yet supported.
  • Fixes to file persistence and management.
  • Split the sources into multiple files to make it more manageable.

You may need a forced reload to make sure you have all latest files.

There is of course still a lot to wish for. It is becoming a usable tool though. Please try it out. Better yet, improve it!

3 Likes