• 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

2. Instructions

A instruction represents any single, top-level part of Jam’s syntax.

2.1. Syntax

Instruction    ::=  Comment | Value | Assignment | FlowControl | Import | Unittest
InstructionSet ::=  ( Instruction \n )*

Back to top

Source