skip to main content
10.1145/2892664.2892668acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmodularityConference Proceedingsconference-collections
short-paper

Toward a new constraint imperative programming language for interactive graphics

Published: 14 March 2016 Publication History

Abstract

To construct interactive graphics such as graphical user interfaces and interactive webpages is an important matter in computer programming. For this purpose, imperative programming usually has been used. On the other hand, researchers have been attempting to apply constraint programming to interactive graphics. Furthermore, the paradigm of constraint imperative programming has been proposed. This position paper reports our ongoing work on P5CP, a new constraint imperative programming language for interactive graphics. To integrate imperative and constraint programming, we adopt the notion of events in imperative programming and the notion of guards in concurrent constraint programming. We show a simple example program in this language.

References

[1]
A. Borning and R. Duisberg. Constraint-based tools for building user interfaces. ACM Trans. Gr., 5(4):345–374, 1986.
[2]
T. Bourke and M. Pouzet. Zélus: A synchronous language with ODEs. In Proc. HSCC, pages 113–118, ACM, 2013.
[3]
C. Elliott and P. Hudak. Functional reactive animation. In Proc. ACM ICFP, pages 263–273, 1997.
[4]
T. Felgentreff, A. Borning, and R. Hirschfeld. Babelsberg: Specifying and solving constraints on object behavior. J. Object Tech., 13(4):1:1–38, 2014.
[5]
B. Freeman-Benson and A. Borning. The design and implementation of Kaleidoscope’90, a constraint imperative programming language. In Proc. ACM ICCL, pages 174–180, 1992.
[6]
V. Gupta, R. Jagadeesan, and V. Saraswat. Computing with continuous change. Sci. Comput. Program., 30(1–2):3–49, 1998.
[7]
L. McCarthy. P5.js overview, 2014. https://github.com/processing/p5.js/ wiki/p5.js-overview. K. Ueda, S. Matsumoto, A. Takeguchi, H. Hosobe, and D. Ishii. HydLa: A high-level language for hybrid systems. In Proc. Workshop on Logics for System Analysis (LfSA), pages 3–17, 2012.

Index Terms

  1. Toward a new constraint imperative programming language for interactive graphics

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    MODULARITY Companion 2016: Companion Proceedings of the 15th International Conference on Modularity
    March 2016
    217 pages
    ISBN:9781450340335
    DOI:10.1145/2892664
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    In-Cooperation

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 14 March 2016

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Constraint imperative programming
    2. Interactive graphics
    3. Programming languages

    Qualifiers

    • Short-paper

    Conference

    Modularity '16

    Acceptance Rates

    Overall Acceptance Rate 41 of 139 submissions, 29%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 90
      Total Downloads
    • Downloads (Last 12 months)4
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 15 Sep 2024

    Other Metrics

    Citations

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media