• Home
  • Search
  • Kima - an Automated Error Correction System for Concurrent Logic Programs.
  • Cite Icon2
  • https://doi.org/10.11309/jssst.18.122Copy DOI Icon

Kima - an Automated Error Correction System for Concurrent Logic Programs.

Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

We have implemented Kima, an automated error correction system for concurrent logic programs. Kima corrects near-misses such as wrong variable occurrences in the absence of explicit declarations of program properties. Strong moding/typing and constraint-based analysis are turning out to play fundamental roles in debugging concurrent logic programs as well as in establishing the consistency of communication protocols and data types. Mode/type analysis of Moded Flat GHC is a constraint satisfaction problem with many simple mode/type constraints, and can be solved efficiently. We proposed a simple and efficient technique which, given a non-well-moded/typed program, diagnoses the “reasons” of inconsistency by finding minimal inconsistent subsets of mode/type constraints. Since each constraint keeps track of the symbol occurrence in the program, a minimal subset also tells possible sources of program errors. Kima realizes automated correction by replacing symbol occurrences around the possible sources and recalculating modes and types of the rewritten programs systematically. As long as bugs are near-misses, Kima proposes a rather small number of alternatives that include an intended program. Search space is kept small because the minimal subset confines possible sources of errors in advance. This paper presents the basic algorithm and various optimization techniques implemented in Kima, and then discusses its effectiveness based on quantitative experiments.

Similar Papers
  • Conference Article
  • Citations10

Program dependence analysis of concurrent logic programs and its applications

  • Jun 03, 1996
  • J Zhao +2
  • Book Chapter
  • Citations7

Prototyping a Requirements Specification through an Automatically Generated Concurrent Logic Program

  • Jan 01, 1998
  • Patricio Letelier +2
  • Research Article
  • Citations4

Debugging Tools for Concurrent Logic Programming

  • Apr 01, 1992
  • The Computer Journal
  • T Conlon +1
  • Conference Article
  • Citations7

Feature selection in haptic-based handwritten signatures using rough sets

  • Jul 01, 2010
  • Nizar Sakr +4
  • Research Article
  • Citations6

Actors as a special case of concurrent constraint (logic) programming

  • Sep 01, 1990
  • ACM SIGPLAN Notices
  • K Kahn +1
  • Book Chapter
  • Citations3

A compile-time memory-reuse scheme for concurrent logic programs

  • Sep 17, 1992
  • S Duvvuru +5
  • Book Chapter
  • Citations15

Resource-Passing Concurrent Programming

  • Jan 01, 2001
  • Kazunori Ueda
  • Conference Article
  • Citations5

Proving proof rules: a proof system for concurrent programs

  • Jan 01, 1990
  • D.M Goldschlag
  • Research Article
  • Citations170

Variable and value ordering heuristics for the job shop scheduling constraint satisfaction problem

  • Sep 01, 1996
  • Artificial Intelligence
  • Norman Sadeh +1
  • Single Book
  • Citations300

Research Directions in Concurrent Object-Oriented Programming

  • Nov 19, 1993
  • Dissertation

A Structural Approach to Constraint Satisfaction Problems

  • Mar 26, 2025
  • Michel Medema
  • Conference Article
  • Citations1

The Cut Tool for QCSP

  • Nov 01, 2014
  • Barichard Vincent +1
  • Single Book
  • Citations1457

Handbook of Constraint Programming

  • Jan 01, 2006
  • Francesca Rossi +2
  • Video Transcripts

Automated Justification of Collective Decisions via Constraint Solving

  • May 06, 2020
  • Underline Science Inc.
  • Ulle Endriss +1
  • Research Article
  • Citations11

Available Bilirubin Binding Sites of Serum from Newborns Determined by a Direct Spectrometric Method Using Bromphenol Blue

  • Jan 01, 1975
  • Scandinavian Journal of Clinical & Laboratory Investigation
  • H Hertz
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.