• DocumentCode
    724732
  • Title

    On the Generality and Convenience of Etypes

  • Author

    Petullo, W. Michael ; Suh, Joseph

  • Author_Institution
    Dept. of Electr. Eng. & Comput. Sci., United States Mil. Acad., West Point, NY, USA
  • fYear
    2015
  • fDate
    21-22 May 2015
  • Firstpage
    117
  • Lastpage
    124
  • Abstract
    The Ethos operating system provides a number of features which aid programmers as they craft robust computer programs. One such feature of Ethos is its distributed, mandatory type system -- Etypes. Etypes provides three key properties: (1) every Ethos object (e.g., A file or network connection) has a declared type, (2) Ethos forbids programs from writing ill-formed data to an object, and (3) Ethos forbids programs from reading ill-formed data from an object. In any case, programmers declare ahead of time the permitted data types, and Ethos´ application of operating-system-level recognition simplifies their programs. This paper first investigates the generality of Etypes. Toward this end, we describe how to convert a grammar in Chomsky normal form into an Ethos type capable of expressing exactly the set of syntax trees which are valid vis-a-vis the grammar. Next, the paper addresses the convenience of Etypes. If Etypes does not make it easier to craft programs, then programmers will avoid the facilities it provides, for example by declaring string types which in fact serve to encode other types (here Etypes would check the string but not the encoded type). Finally, we present a sample distributed program for Ethos which makes use of the techniques we describe.
  • Keywords
    computational linguistics; formal languages; grammars; operating systems (computers); Chomsky normal form; Ethos operating system; Etypes; distributed mandatory type system; grammar; ill-formed data types; operating-system-level recognition; string types; syntax trees; Encoding; Grammar; HTML; Operating systems; Production; Protocols; Syntactics; formal languages; operating systems; recognizers; type systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Security and Privacy Workshops (SPW), 2015 IEEE
  • Conference_Location
    San Jose, CA
  • Type

    conf

  • DOI
    10.1109/SPW.2015.16
  • Filename
    7163215