Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.11 KB

Initial.md

File metadata and controls

62 lines (46 loc) · 1.11 KB

Initial Design Proposal

Concurrency

  • Structured Concrrency with fibers.
  • Default immutablity in functions.

Main Proposal

Type System

Unit

Type with only one value, (). It represents a useless value, similar to void in C.

Built-in Types

  • Byte
  • Character
  • Number
  • String

Built-in Data Structures

  • See Standard Library section.

Main Proposal

Memory Management Strategies

  1. Restrained

Language Specifics

First Class Citizens

  • Variables
  • Procedures
  • Functions

Expressions

  • Procedure Invocations
  • Pure Expressions
    • Function
    • Switch Expressions (Pattern Matchhing)
    • Lambda Expressions
    • Literals (Number & String)

Evaluation

  1. Eager
  2. Lazy

Subroutines

There are two types of subroutines.

Procedures

List of statements.

Functions

Single or composition of pure expressions. Main Proposal

Standard Library:

Types

  • Array
  • List