Seed7 
 FAQ 
 Manual 
 Screenshots 
 Examples 
 Algorithms 
 Download 
 Links 

 Manual 
 Introduction 
 Tutorial 
 Declarations 
 Statements 
 Types 
 Parameters 
 Objects 
 File System 
 Syntax 
 Tokens 
 Expressions 
 OS access 
 Actions 
 Errors 
 Manual 
 previous   up   next 


Manual for the Seed7 programming language


CONTENTS

  1. INTRODUCTION
    1. What is Seed7?
    2. Why a new programming language?
    3. Features of Seed7
    4. How to read the manual
  2. TUTORIAL
    1. Hello world
    2. Local declarations and expressions
    3. For loop and float expressions
    4. Parameters
    5. Declare a statement
    6. Template declaring a statement
  3. DECLARATIONS
    1. Normal declarations
    2. Syntax declarations
    3. System declarations
  4. PREDEFINED STATEMENTS
    1. Assignment
    2. while-statement
    3. repeat-statement
    4. for-statement
    5. for-each-statement
    6. if-statement
    7. case-statement
  5. PREDEFINED TYPES
    1. boolean
    2. integer
    3. bigInteger
    4. rational
    5. bigRational
    6. float
    7. complex
    8. char
    9. string
    10. array
    11. hash
    12. set
    13. struct
    14. category
    15. reference
    16. ref_list
    17. program
    18. ptr
    19. ENUMERATION
    20. color
    21. time
    22. duration
    23. file
    24. text
    25. func
    26. varfunc
    27. void
    28. proc
    29. type
    30. object
    31. expr
  6. PARAMETERS
    1. 'val' parameter
    2. 'ref' parameter
    3. 'in' parameter
    4. 'in var' parameter
    5. 'inout' parameter
    6. Symbol parameter
    7. 'attr' parameter
  7. OBJECT ORIENTATION
    1. Interface and implementation
    2. Dynamic dispatch
    3. Inheritance
    4. Class methods
    5. Multiple dispatch
    6. Replacing pointers with interface types
  8. THE FILE SYSTEM
    1. Conversion to strings and back
    2. Basic input and output operations
    3. Input and output with conversion
    4. Simple read and write statements
    5. Standard input and output files
    6. Access to operating system files
    7. Keyboard file
    8. Files with line structure
    9. Sockets
    10. User defined file types
    11. Scanning a file
  9. STRUCTURED SYNTAX DEFINITION
    1. The Extended Backus-Naur Form
    2. The syntax of a statement
    3. Priority and associativity
    4. The syntax of operators
    5. Syntax of predefined statements
    6. Advanced syntax definitions
    7. Comparison of EBNF and S7SSD
  10. TOKENS
    1. White space
      1. Spaces
      2. Comments
      3. Line comments
    2. Identifiers
      1. Name identifiers
      2. Special identifiers
      3. Parentheses
    3. Literals
      1. Integer literals
      2. String literals
      3. Character literals
  11. EXPRESSIONS
    1. Parentheses
    2. Call expressions
    3. Dot expressions
  12. OPERATING SYSTEM ACCESS
    1. Directory access
    2. Other directory operations
    3. fileType
    4. fileMode
    5. setFileMode
    6. fileSize
    7. getATime
    8. getCTime
    9. getMTime
    10. setATime
    11. setMTime
    12. readlink
    13. symlink
    14. removeFile
    15. removeAnyFile
    16. copyFile
    17. cloneFile
    18. moveFile
    19. argv
    20. getenv
  13. PRIMITIVE ACTIONS
    1. Actions for the type ACTION
    2. Actions for array types
    3. Actions for the type bigInteger
    4. Actions for the type boolean
    5. Actions for byte strings
    6. Actions for the type char
    7. Actions for various directory, file and other commands
    8. Actions for declarations
    9. Actions to do graphic output
    10. Actions for enumeration types
    11. Actions for the type PRIMITIVE_FILE
    12. Actions for the type float
    13. Actions to support the graphic keyboard
    14. Actions for hash types
    15. Actions for the type integer
    16. Actions for interface types
    17. Actions to support the text (console) screen keyboard
    18. Actions for the list type
    19. Actions for proc operations and statements
    20. Actions for the type program
    21. Actions for the type reference
    22. Actions for the type ref_list
    23. Actions for text (console) screen output
    24. Actions for struct types
    25. Actions for set types
    26. Actions for the type PRIMITIVE_SOCKET
    27. Actions for the type string
    28. Actions for the type time
    29. Actions for the type type
    30. Actions for the type utf8_file
  14. ERRORS
    1. Compile time errors
    2. Exceptions
    3. Handlers
    4. Stack trace
    5. Other errors and warnings


 previous   up   next