An idea for a type system of multi-paradigm language with extensible syntax

  • Authors:
  • Valeri Bogdanov

  • Affiliations:
  • Technical University of Varna

  • Venue:
  • Proceedings of the 13th International Conference on Computer Systems and Technologies
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article proposes a type system for a multi-paradigm language paradigm. A practical solution that provides the benefits of both static and dynamic typing is proposed, while using the features of the prototype - extensible declarative syntax. A checking algorithm is described that covers both explicit type hierarchy definitions and subtyping based on object's methods. Both compile time and runtime checking responsibilities are added to the type system allowing fluent integration between statically and dynamically checked code segments. Declarative definition of preconditions is provided.