pith. sign in

arxiv: 1308.4452 · v4 · pith:U4OA2GIVnew · submitted 2013-08-21 · 💻 cs.PL

A New Statement for Selection and Exception Handling in Imperative Languages

classification 💻 cs.PL
keywords statementselectionlanguagessimplechoosecommonlydiverseexamples
0
0 comments X
read the original abstract

Diverse selection statements -- if-then-else, switch and try-catch -- are commonly used in modern programming languages. To make things simple, we propose a unifying statement for selection. This statement is of the form seqor(G_1,...,G_n) where each $G_i$ is a statement. It has a a simple semantics: sequentially choose the first successful statement $G_i$ and then proceeds with executing $G_i$. Examples will be provided for this statement.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.