ΑΡΧΩΝ
HomeIntroductionCourse
FR
Course
  1. 1First steps
    1. 1.1Introduction
    2. 1.2My first Archon program
      1. 1.2.1Naming the arguments
      2. 1.2.2Comments and documentation
  2. 2Values
    1. 2.1Declaring a value
    2. 2.2Showing a value
    3. 2.3Numbers
  3. 3Deciding
    1. 3.1Comparing
    2. 3.2if and else
    3. 3.3Combining conditions
  4. 4Control structures
    1. 4.1While loop
    2. 4.2For loop
    3. 4.3For in loop
    4. 4.4Switch case
  5. 5Functions
    1. 5.1Returning a value
    2. 5.2Every path must return
    3. 5.3Only a call stands alone
    4. 5.4Default values
  6. 6Arrays
    1. 6.1Taking and changing an element
    2. 6.2Traversing by index
    3. 6.3An array parameter
  7. 7Archetypes
    1. 7.1The philosophy
    2. 7.2A shape, and its instances
    3. 7.3State, and self
    4. 7.4The constructor
  8. 8Errors
    1. 8.1Throwing and catching
    2. 8.2The language's errors, and finally
  9. 9Text
    1. 9.1The vocabulary is imported
    2. 9.2Searching a text
    3. 9.3From text to number, and back
HomeIntroductionCourseFrançais
  1. 1First steps
    1. 1.1Introduction
    2. 1.2My first Archon program
      1. 1.2.1Naming the arguments
      2. 1.2.2Comments and documentation
  2. 2Values
    1. 2.1Declaring a value
    2. 2.2Showing a value
    3. 2.3Numbers
  3. 3Deciding
    1. 3.1Comparing
    2. 3.2if and else
    3. 3.3Combining conditions
  4. 4Control structures
    1. 4.1While loop
    2. 4.2For loop
    3. 4.3For in loop
    4. 4.4Switch case
  5. 5Functions
    1. 5.1Returning a value
    2. 5.2Every path must return
    3. 5.3Only a call stands alone
    4. 5.4Default values
  6. 6Arrays
    1. 6.1Taking and changing an element
    2. 6.2Traversing by index
    3. 6.3An array parameter
  7. 7Archetypes
    1. 7.1The philosophy
    2. 7.2A shape, and its instances
    3. 7.3State, and self
    4. 7.4The constructor
  8. 8Errors
    1. 8.1Throwing and catching
    2. 8.2The language's errors, and finally
  9. 9Text
    1. 9.1The vocabulary is imported
    2. 9.2Searching a text
    3. 9.3From text to number, and back
Section 7.1

The philosophy

What an archetype is, and why the whole language carries its name.

← 7 Archetypes7.2 A shape, and its instances →
Archon — ΑΡΧΩΝ · version 0.0.40Examples run in an isolated sandbox: no network, limited time and memory.