• About
  • Documentation
  • Github
  • Jam v0.0.1 Documentation
    • The Jam Language Reference
      • 1. Comments
      • 2. Instructions
      • 3. Values
      • 4. Identifiers
      • 5. Literals
      • 6. Operations
      • 7. Variables
      • 8. Assignments
      • 9. Flow Control
      • 10. Methods
      • 11. Lambdas
      • 12. Types
      • 13. Type Casting
      • 14. Arrays
      • 15. Associative Arrays
      • 16. Enumerations
      • 17. Modifiers
      • 18. Imports
      • 19. Traits
      • 20. Dependent Types
    • Library Reference
    • The Jam Tutorial
    • Jam Roadmap

The Jam Language Reference

The Jam Language Reference describes the syntax, grammar and compilation of Jam.

It is supposed to provide a comprehensive language reference that acts as a goal for the current implementation(s) of Jam.

Each section will feature a worded description, a formal syntax definition and where possible, coded examples to demonstrate a feature in Jam.

Note

This is currently a work in progress is highly subject to change.

  • 1. Comments
  • 2. Instructions
  • 3. Values
  • 4. Identifiers
  • 5. Literals
    • 5.1. Integers
    • 5.2. Floats
    • 5.3. Strings
    • 5.4. Symbols
    • 5.5. Booleans
    • 5.6. Null
  • 6. Operations
  • 7. Variables
  • 8. Assignments
  • 9. Flow Control
    • 9.1. Loops
    • 9.2. Conditionals
  • 10. Methods
  • 11. Lambdas
  • 12. Types
  • 13. Type Casting
  • 14. Arrays
  • 15. Associative Arrays
  • 16. Enumerations
  • 17. Modifiers
    • 17.1. Constant
    • 17.2. Visibility
    • 17.3. Pragma
  • 18. Imports
  • 19. Traits
  • 20. Dependent Types

Back to top

Source