Using SWISH to realise interactive web based tutorials for logic based languages

08/24/2018
by   Jan Wielemaker, et al.
0

Programming environments have evolved from purely text based to using graphical user interfaces, and now we see a move towards web based interfaces, such as Jupyter. Web based interfaces allow for the creation of interactive documents that consist of text and programs, as well as their output. The output can be rendered using web technology as, e.g., text, tables, charts or graphs. This approach is particularly suitable for capturing data analysis workflows and creating interactive educational material. This article describes SWISH, a web front-end for Prolog that consists of a web server implemented in SWI-Prolog and a client web application written in JavaScript. SWISH provides a web server where multiple users can manipulate and run the same material, and it can be adapted to support Prolog extensions. In this paper we describe the architecture of SWISH, and describe two case studies of extensions of Prolog, namely Probabilistic Logic Programming (PLP) and Logic Production System (LPS), which have used SWISH to provide tutorial sites.

READ FULL TEXT
research
05/12/2021

Iltis: Teaching Logic in the Web

The Iltis project provides an interactive, web-based system for teaching...
research
07/15/2021

Interactive GIS Web-Atlas for Twelve Pacific Islands Countries

This article deals with the development of an interactive up-to-date Pac...
research
11/03/2015

SWISH: SWI-Prolog for Sharing

Recently, we see a new type of interfaces for programmers based on web t...
research
08/23/2023

Tau Prolog: A Prolog interpreter for the Web

Tau Prolog is a client-side Prolog interpreter fully implemented in Java...
research
05/01/2018

Phylotastic: An Experiment in Creating, Manipulating, and Evolving Phylogenetic Biology Workflows Using Logic Programming

Evolutionary Biologists have long struggled with the challenge of develo...
research
11/23/2016

Browsix: Bridging the Gap Between Unix and the Browser

Applications written to run on conventional operating systems typically ...
research
09/02/2019

Collecting and Structuring Information in the Information Collage

Knowledge workers, such as scientists, journalists, or consultants, adap...

Please sign up or login with your details

Forgot password? Click here to reset