An editor for helping novices to learn Standard ML

Jon Whittle, Alan Bundy, Helen Lowe

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

This paper describes a novel editor intended as an aid in the learning of the functional programming language Standard ML. A common technique used by novices is programming by analogy whereby students refer to similar programs that they have written before or have seen in the course literature and use these programs as a basis to write a new program. We present a novel editor for ML which supports programming by analogy by providing a collection of editing commands that transform old programs into new ones. Each command makes changes to an isolated part of the program. These changes are propagated to the rest of the program using analogical techniques. We observed a group of novice ML students to determine the most common programming errors in learning ML and restrict our editor such that it is impossible to commit these errors. In this way, students encounter fewer bugs and so their rate of learning increases. Our editor, C YNTHIA, has been implemented and is due to be tested on students of ML from September, 1997.

Original languageEnglish
Title of host publicationProgramming Languages: Implementations, Logics, and Programs
Subtitle of host publication9th International Symposium, PLILP'97 Including a Special Track on Declarative Programming Languages in Education Southampton, UK, September 3-5, 1997 Proceedings
Place of PublicationBerlin Germany
PublisherSpringer
Pages389-405
Number of pages17
ISBN (Electronic)9783540695370
ISBN (Print)9783540633983
DOIs
Publication statusPublished - 1997
Externally publishedYes
Event9th International Symposium on Programming Languages: Implementations, Logics, and Programs, PLILP 1997, Including a Special Track on Declarative Programming Languages in Education - Southampton, United Kingdom
Duration: 3 Sept 19975 Sept 1997

Publication series

NameLecture Notes in Computer Science
PublisherSpringer
Volume1292
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference9th International Symposium on Programming Languages: Implementations, Logics, and Programs, PLILP 1997, Including a Special Track on Declarative Programming Languages in Education
Country/TerritoryUnited Kingdom
CitySouthampton
Period3/09/975/09/97

Keywords

  • Analogy
  • Learning Environments
  • Programming Language Learning

Cite this