Cheddar Documentation
  • Introduction
  • Syntax
  • Literals
    • Comment
    • String
    • Number
    • Array
    • Boolean
  • Mathematics
    • Addition
    • Subtraction
    • Multiplication
    • Division
    • Exponentiation
    • Remainder
    • Negation
    • Sign
    • Root
    • Bitwise AND
    • Bitwise OR
    • Bitwise XOR
    • Bitwise NOT
    • Bitwise Left Shift
    • Bitwise Right Shift
  • Variables
  • Functions
    • Defining
      • Lambda
      • Functionized Operators
      • Functionized Properties
    • Operations
      • Functional Bonding
      • Functional Composition
  • Default Operators
    • What Is
    • Instance-of
    • Actually Is
  • Control Flow
    • Conditional
    • Loops
      • For Loops
      • While Loops
  • Standard Library
    • String
      • Bytes
      • Count
      • Length
      • Match
      • Slice
      • Tail
      • Chars
      • Head
      • Lines
      • Ord
      • Split
      • Test
      • Chunk
      • Index
      • Lower
      • Reverse
      • Substitute
      • Upper
  • Developing
    • Structure
    • Primitive Objects
      • Scope
      • Class
      • Variable
      • Namespace
    • Getting Started
    • API
      • Primitives
        • string
        • number
        • array
        • bool
        • func
        • nil
Powered by GitBook
On this page
  • API Contents
  • Primitives
  • Classes
  • Symbols
  • Helper Functions

Was this helpful?

  1. Developing

API

PreviousGetting StartedNextPrimitives

Last updated 4 years ago

Was this helpful?

In order for Standard Library development to be as quick, efficient, and powerful as possible, requiring each file from the depths of the source was not going to be pratical. For this reason, an API has been created, which can be accessed by using the following template:

export default function(cheddar) {
    // API is now exposed as `cheddar`
}

For more information, reference the article.

API Contents

Primitives

  • string

  • number

  • array

  • bool

  • func

  • nil

Classes

  • variable

  • class

  • scope

Symbols

  • error

Helper Functions

  • init

  • make

  • var

  • prop

  • namespace

Getting Started