Genesys-Manual

Using the Compiler

You get primary help by using the –help or -h parameter

gsys --help

Part I: Basics

Primary Knowledge

  • Installation
    How to install Genesys on your Linux or Windows system
  • Hello World
    Learn how to write text and results to the console
  • Expressions
    What is the difference between a value and an expression?
  • Operators
    How can we assemble values to more complex expressions?
  • Postfix-Operators
    Learn how combine more than one operator
  • Conditions
    Make a decision and learn to control the program flow
  • Loops
    Iterative tasks - how to repeat something
  • Functions
    Assemble often used code to a reusable function

Playing with data

  • Array
    Assemble variables to arrays and what can we do with it?
  • Arguments
    Get the command line arguments
  • References
    Referencing data
  • Pointer
    What is the difference between a reference and a pointer?
  • Memory
    How to get dynamic memory and how to get rid of it.
  • Attributes
    Specify your Ideas
  • Structures
    How to structure your data and why
  • Files
    Read and write files
  • Castings
    How to convert data from one type to an other.

Part II: Class Oriented Programming

  • Class
    Classify your data! How to construct and destruct an object.
  • Accessibility
    How to define who may have access to your class
  • Methods
    The difference between a Function and a method
  • Namespaces
    How to put data and code into a namespace?
  • Overloading
    What is overloading and which ways do we have to implement it?
  • Inheritance
    How to create connections between classified data
  • MultipleInheritance
    What is multiple inheritance and why does Genesys support this feature
  • VirtualInheritance
    How to prevent diamonds in your software architecture

Part III: Datatype- and Object Oriented Programming

  • VirtualFunctions
    Select an method depending on the data type of your object.
  • MethodReferences
    Select an method depending on the object you are using
  • MethodPointer
    Allow an interface which does nothing.
  • Slicing
    What is slicing and when does it happen?
  • Type
    Get runtime information of your type and reflect it

Part IV: Generic Oriented Programming

Reference

Types