41
views
0
recommends
+1 Recommend
1 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

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

      Preprint

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          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.

          Related collections

          Most cited references16

          • Record: found
          • Abstract: not found
          • Article: not found

          Literate Programming

          D. Knuth (1984)
            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            A logic-based calculus of events

              Bookmark
              • Record: found
              • Abstract: not found
              • Book Chapter: not found

              Logic Programs with Annotated Disjunctions

                Bookmark

                Author and article information

                Journal
                24 August 2018
                Article
                1808.08042
                6c94248d-0704-421a-b47e-69f04ca82dd9

                http://arxiv.org/licenses/nonexclusive-distrib/1.0/

                History
                Custom metadata
                Under consideration in Theory and Practice of Logic Programming (TPLP)
                cs.PL

                Programming languages
                Programming languages

                Comments

                Comment on this article