Menu

requirements

Newton

This page describes the requirements for slang.

  1. Syntax
    1. Syntax must take simple grammar.
    2. The syntax must provide following data types.
      1. A complex number
      2. A closure(named and unnamed)
      3. A class
    3. The syntax must provide following container types.
      1. A vector
      2. A matrix
      3. A hash map
    4. The syntax provides dynamic prototyping of variables.
    5. The syntax provides scoping.
      1. The scope traces a closure or a class in the original source code.
    6. The syntax provides coercion.
  2. Class
    1. slang class consists of variables.
    2. Each element has an attribute of public and private.
      1. public variable can be invoked from closures out of the class.
      2. private variable cannot be invoked from closures out of the class.
    3. Default attribute is private.
    4. slang class doesn't inherit.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.