Seed7 - The extensible programming language
Seed7 FAQ Manual Screenshots Examples Libraries Algorithms Download Links
Manual Introduction Tutorial Declarations Statements Types Parameters Objects File System Syntax Tokens Expressions OS access Actions Foreign funcs 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-step-statement
    6. for-each-statement
    7. if-statement
    8. 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 Seed7 Structured Syntax Description
    3. The syntax of a statement
    4. Priority and associativity
    5. The syntax of operators
    6. Syntax of predefined statements
    7. Advanced syntax definitions
    8. 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. BigInteger literals
      3. Float literals
      4. String literals
      5. Character literals
  11. EXPRESSIONS
    1. Parentheses
    2. Call expressions
    3. Dot expressions
  12. OPERATING SYSTEM ACCESS
    1. Standard path representation
    2. readDir
    3. openDir
    4. getcwd
    5. chdir
    6. mkdir
    7. homeDir
    8. fileType
    9. fileMode
    10. setFileMode
    11. fileSize
    12. getATime
    13. getCTime
    14. getMTime
    15. setATime
    16. setMTime
    17. readlink
    18. symlink
    19. removeFile
    20. removeAnyFile
    21. copyFile
    22. cloneFile
    23. moveFile
    24. argv(PROGRAM)
    25. name(PROGRAM)
    26. path(PROGRAM)
    27. dir(PROGRAM)
    28. file(PROGRAM)
    29. getenv
    30. setenv
    31. environment
  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 text (console) screen output
    9. Actions for declarations
    10. Actions to do graphic output
    11. Actions for enumeration types
    12. Actions for the type clib_file
    13. Actions for the type float
    14. Actions to support the graphic keyboard
    15. Actions for hash types
    16. Actions for the type integer
    17. Actions for interface types
    18. Actions to support the text (console) screen keyboard
    19. Actions for the list type
    20. Actions for the type process
    21. Actions for the type pollData
    22. Actions for proc operations and statements
    23. Actions for the type program
    24. Actions for the type reference
    25. Actions for the type ref_list
    26. Actions for struct types
    27. Actions for set types
    28. Actions for the type PRIMITIVE_SOCKET
    29. Actions for the types database and sqlStatement
    30. Actions for the type string
    31. Actions for the type time
    32. Actions for the type type
    33. Actions for the type utf8_file
  14. FOREIGN FUNCTION INTERFACE
    1. C types used by the implementation
    2. String and path conversions
    3. Macros to access the action parameters
    4. Functions to create action results
  15. ERRORS
    1. Compile time errors
    2. Exceptions
      1. MEMORY_ERROR
      2. NUMERIC_ERROR
      3. OVERFLOW_ERROR
      4. RANGE_ERROR
      5. FILE_ERROR
      6. ILLEGAL_ACTION
    3. Handlers
    4. Stack trace
    5. Signals
    6. Other errors and warnings

 previous   up   next