If You Build It, They Will Come
Technical Reports by Steven Obua
May 18th, 2021 https://doi.org/10.47757/obua.ll.1 A New Semantics for Local Lexing
A revised semantics for Local Lexing is presented that entirely avoids priority conflicts between non-empty tokens. Pyramid Grammars are introduced, and their semantics is given in terms of Local Lexing. It is demonstrated that they are more expressive than Context-Free Grammars, and at least as expressive as Parsing Expression Grammars.
May 13th, 2021 https://doi.org/10.47757/obua.cosmo-id.2 Cosmopolitan Identifiers
I propose a simple Unicode-based lexical syntax for programming language identifiers using characters from international scripts (currently Latin, Greek and Cyrillic). What makes such cosmopolitan identifiers special is that each identifier is either equivalent to a uniquely determined simple identifier consisting only of ASCII characters, or that the identifier is a symbolic identifier. This makes collaboration in an international setting easier, especially in contexts where such identifiers are not only used by professional programmers, but are also present in the domain of normal users, for example through scriptable applications.