ThesaHelp: references g-h
ThesaHelp: ACM references f-l
Topic: pattern matching
Topic: understanding systems
Topic: pattern brackets
Topic: accessing a sequence
Topic: pattern components
Topic: access by current position
Topic: string operations
Topic: current position in a user interface; cursor
Topic: backtracking
Topic: control returning functions and expressions
Topic: failure returning functions and expressions
Topic: sequence generators
Topic: restricted use of global variables
| |
Reference
Griswold, R.E., Hanson, D.R.,
"An alternative to the use of patterns in string processing",
ACM Transactions on Programming languages and systems, 2, 2, pp. 153-172, April 1980.
Google
Quotations
157 ;;Quote: pattern matching in SNOBOL4 can be very arcane, even to the point of needing the system's source listings
| 161 ;;Quote: instead of constructing patterns, Icon uses 'scan s using e' to establish a context for pattern matching by e
| 161 ;;Quote: Icon numbers the positions between characters, from either end of the string
| 162 ;;Quote: the 'upto(...)' operation in Icon, scans until the first occurrence of a letter
| 162 ;;Quote: in Icon, set the current subject and cursor position by setting variables; programs often set them explicitly
| 163 ;;Quote: in Icon, use 'move' and 'tab' to move cursor and return the intervening substring
| 163 ;;Quote: Icon has scanning operations for upto©, many©, any©, find(s), match(s), &, |
| 163 ;;Quote: Icon's scanning operation for balanced characters specifies left and right sets and following characters
| 165 ;;Quote: in Icon, tab (10|5) == tab(10)|tab(5) because a failure of tab(10) invokes the alternative value
| 165 ;;Quote: an Icon generator is an operation that returns alternative values when the first value fails
| 165 ;;Quote: the Icon scanning operation, upto©, is a generator that returns values until the expression succeeds
| 167 ;;Quote: unlike SNOBOL4, Icon allows matching procedures in the form of a generator; returns a value when 'suspend' is done
| 169 ;;Quote: Icon uses two globals &subject and &pos heavily, causes trouble but is also convenient
|
Related Topics
ThesaHelp: references g-h (299 items)
ThesaHelp: ACM references f-l (241 items)
Topic: pattern matching (42 items)
Topic: understanding systems (48 items)
Topic: pattern brackets (15 items)
Topic: accessing a sequence (9 items)
Topic: pattern components (15 items)
Topic: access by current position (7 items)
Topic: string operations (20 items)
Topic: current position in a user interface; cursor (23 items)
Topic: backtracking (30 items)
Topic: control returning functions and expressions (6 items)
Topic: failure returning functions and expressions (24 items)
Topic: sequence generators (16 items)
Topic: restricted use of global variables (22 items)
|