57.3 F
Los Angeles
Tuesday, April 23, 2024

Trump Lawyer Resigns One Day Before Trial To Begin

Joseph Tacopina has filed with the courts that he will not represent Donald J. Trump. The E. Jean Carroll civil case is schedule to begin Tuesday January 16,...

Judge Lewis A. Kaplan Issues Order RE Postponement

On May 9, 2023, a jury found Donald J. Trump liable for sexual assault and defamation. The jury awarded Ms. Carroll $5 million in damages. Seven months ago,...

ASUS Announces 2023 Vivobook Classic Series

On April 7, 2023, ASUS introduced five new models in the 2023 Vivobook Classic series of laptops. The top laptops in the series use the 13th Gen Intel® Core™...
HardwareTablet PCWould BNF syntax be a good enough TIP extension?

Would BNF syntax be a good enough TIP extension?

Larry O’Brien ponders a BNF-like set of rules in order to extend the Tablet’s recognition capabilities.

No doubt something like this would be an improvement over the current regular expressions. Try creating a regular expression for an edit field that can have different numeric values with different scales. It’s time consuming. A BNF set of rules would be more powerful, readable, and manageable.

I wonder though if variables, programmable weights and the like wouldn’t sneak in. I imagine also that some type of interaction (feedback, for instance) would be useful between the recognizers and this higher level “language.” Or what about getting to the lower-level stroke data? That might be useful at times too.

Also, there are times when what is being recognized goes beyond the left-to-right (or right-to-left) alphanumeric set of characters. For instance, I’d like to be able to handwrite symbolic equations in the TIP just as I would write them on a piece of paper rather than using a coding-style syntax. Now in this case what would the TIP generate as output? It would probably have to conform to a simple text string that the TIP and the application could render.

Providing 3rd party programmable access would provide a simple initial path to extending the TIP. As patterns emerge, a simpler subset could be developed. Now security is probably a key issue with an approach like this. So that’s one reason I like simple interfaces. But this could be a deal killer. That’s why a development experiment might be in order. See what developers really want to do; try to facilitate it; and if it doesn’t work, so be it. But if it does, it could be a big win for the Tablet.

Loren
Lorenhttp://www.lorenheiny.com
Loren Heiny (1961 - 2010) was a software developer and author of several computer language textbooks. He graduated from Arizona State University in computer science. His first love was robotics.

Latest news

Related news

  1. You’re absolutely right that it’s easy to imagine things that go beyond BNF. My favorite is matrix notation from linear algebra: finite, easily comprehensible, and undoubtedly useful. But how do you express “Inside the big square brackets”?