Local Attractions


While travelling in the land of sensetalk be sure not to miss out on the special features and local attractions!
SenseTalk includes a number of higher-level features that set it apart from other languages and contribute to its "people oriented" nature. Some are intrinsic to the fundamentals of the language, and some are specific features. We'll describe a few of them here.
Units
Numeric values may have units associated with them. SenseTalk understands hundreds of different units and is able to perform calculations with them and conversions to related units.
put 5 ft into length
put 20 inches into width
set area to length * width
put area --> 8.333333 square feet
put area as cm^2 --> 7741.92 square centimeters
Patterns
SenseTalk's pattern language was touched on elsewhere, but is worth mentioning again. It provides all of the functionality of regular expressions, but in a highly readable (and writable) form.
put every occurrence of <digit> in "pi is 3.14 or 22/7" --> ["3","1","4","2","2","7"]