𝔖 Bobbio Scriptorium
✦   LIBER   ✦

XGLR—an algorithm for ambiguity in programming languages

✍ Scribed by Andrew Begel; Susan L. Graham


Publisher
Elsevier Science
Year
2006
Tongue
English
Weight
404 KB
Volume
61
Category
Article
ISSN
0167-6423

No coin nor oath required. For personal study only.

✦ Synopsis


Automatically generated lexers and parsers for programming languages have a long history. Although they are well suited for many languages, many widely used generators, among them Flex and Bison, fail to handle input stream ambiguities that arise in embedded languages, in legacy languages, and in programming by voice. We have developed Blender, a combined lexer and parser generator that enables designers to describe many classes of embedded languages and to handle ambiguities in spoken input and in legacy languages. We have enhanced the incremental lexing and parsing algorithms in our Harmonia framework to analyse lexical, syntactic and semantic ambiguities. The combination of better language description and enhanced analysis provides a powerful platform on which to build the next generation of language analysis tools.


📜 SIMILAR VOLUMES


An algorithm for quadratic programming
✍ Marguerite Frank; Philip Wolfe 📂 Article 📅 1956 🏛 John Wiley and Sons 🌐 English ⚖ 744 KB

Pr in c e t o n Un i v e r s i t y A finite iteration method for calculating the solution of quadratic Extensions to m o r e general nonprogramming problems is described.r linear Droblems a r e suggested.

An algorithm for indefinite integer quad
✍ S.S. Erenguc; H.P. Benson 📂 Article 📅 1991 🏛 Elsevier Science 🌐 English ⚖ 551 KB

Atmtract--We present an algorithm for finding the global minimum of an indefinite quadratic function over the integers contained in a compact, convex set. To find this minJmmn, the algorithm first transforms the problem into an equivalent problem with a separable objective function. It then uses a b