Abstract
Determining whether or not a pattern of characters is present within a body of text is such a fundamental problem that it has led to a number of notations for the specification of patterns. These include regular expressions, and notations found within string processing and other application-specific languages. Too often, these approaches are either overly simplistic, offering little in the way of pattern-matching capabilities, or else they are extremely cryptic and terse.In the context of visual programming, the string- pattern-matching problem is largely unaddressed; yet the benefits ascribed to such languages offer the potential for extremely powerful and intuitively meaningful pattern notations. In the CALVIN language, designed for the creation of courseware, the authors have used purely visual constructs throughout. In particular, the content of strings may be analysed by using a graphical and augmented version of regular expressions to specify patterns. This notation, and its realization within CALVIN, is described in some detail, and comparisons are made with the more conventional textual form.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.