skip to main content
10.1145/602231.602246acmconferencesArticle/Chapter ViewAbstractPublication PagesaplConference Proceedingsconference-collections
Article

An interface for user-defined functions in a database application

Published:01 June 2002Publication History

ABSTRACT

This paper describes a database application, which permits users to write their own functions in a limited way using a scripting language consisting of a set of canned functions written in APL. Inputs to the function can be database fields and/or constant values. This provides users with additional flexibility in generating reports and selection statements.The user must first define the function inputs and outputs assigning names, position, data types, default values and descriptions for each. Then the user writes a script in the database language, making reference to the named input and output fields. The scripting language is limited to a defined set of functions and certain ASCII symbols.A limited set of control structures are permitted, such as if-then-else, and while loops.The application consists of an editor, which allows the user to describe the inputs and write the script, and a "compiler", which generates an APL function, which behaves in a similar manner to the canned functions, provided with the database application. The "compiler" inserts data assignment and input checking into the function based on the data type and data structure permitted by the user.

References

  1. {Man98} MANSOUR, Paul and Stephen, Using APL Expressions in Database Operations, APL98 Conference Proceedings, APL Quote Quad---Vol. 29, No 3, March 1999 Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. {Bk91} BENKARD, J. Philip, Extending Structure, Type and Expression in APL2, APL91 Conference Proceedings, APL Quote Quad---Vol 21 No. 4, August 1991 Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. {Dav87} DAVIES, Harvey, Infinity Arithmetic, Comparisons and J. APL87 Conference Proceedings, APL Quote Quad---Vol 25, No. 4, June 1995 Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    APL '02: Proceedings of the 2002 conference on APL: array processing languages: lore, problems, and applications
    July 2002
    235 pages
    ISBN:1581135777
    DOI:10.1145/602231

    Copyright © 2002 Author

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 1 June 2002

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • Article
  • Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader