Skip to content
Programming Language for API design
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
examples
README.md

README.md

Rhovas

Rhovas is an experimental programming language for API design. Some of the features Rhovas introduces are:

  • Mutability
    • Types are mutable, immutable, or viewable (const)
    • Instances are either mutable or immutable
    • Function are mutable, immutable (pure), or unspecified (side effects)
  • Exceptions
    • Exceptions are declared when thrown and checked at compilation
    • Functions that throw exceptions end with !
    • Exceptions can be suppressed or silenced to become unchecked
  • Function Conditions
    • Functions may define preconditions and postconditions
    • Conditions are retained through inheritance
    • Conditions can optionally be verified at runtime
  • Static Classes and Interfaces
    • Allow non-instantiable classes consisting of static members
    • Allow interfaces to be implemented statically (singletons)
  • Operator Overloading
    • Under consideration, but would support overloading certain operators
    • Operators can be commutative, which would be enforced through inheritance.
You can’t perform that action at this time.