TkScript

a portable and free "glue" scripting language for C++ frameworks


 
Table of Contents:
  • 1. Introduction » 
  • 2. License » Software licenses
  • 3. NewsFixes, changes and additions (changelog)
    • 3.1. 2012 » Latest news
    • 3.2. 2001-2011Old news from 2001 - 2011
  • 4. Downloads » 
  • 5. Hacks » Core examples and simple SDL/OpenGL based graphics effects and games
    • 5.1. Screenhacks » Some simple click-to-start screen hacks
    • 5.2. Games » Some small games written in TkScript
    • 5.3. Apps » Some applications written in TkScript
  • 6. Documentation » 
    • 6.1. TkScript reference guide » TkScript Reference Guide ..with examples..
      • 6.1.1. System requirements and installation » How to download/install TkScript
      • 6.1.2. License » Legal stuff, please read before using TkScript
      • 6.1.3. User Interface » Command line arguments, MIME types, env. variables..
      • 6.1.4. VFS » Projects, the virtual filesystem and TKX packages
      • 6.1.5. Modules » Script source files
      • 6.1.6. Scanner » Identifiers, keywords, literals, constants, comments, ..
      • 6.1.7. Variables » Values, variables and datatypes
      • 6.1.8. Objects » Objects, pointers and memory managment
      • 6.1.9. Strings » A word or two about strings
      • 6.1.10. Operators » Operators and priorities, arrays, hashtables and streams
      • 6.1.11. Expressions » Standard and special purpose expressions
      • 6.1.12. Statements » Statements, flow control and statement sequences
      • 6.1.13. Functions » Functions and static methods
      • 6.1.14. Exceptions » Exception and error handling
      • 6.1.15. Classes » Script classes
    • 6.2. API referenceNative API reference documentation
      • 6.2.1. core » TkScript Core API reference
      • 6.2.2. tkchipmunkBindings for the Chipmunk physics engine
      • 6.2.3. tkcgBindings for the NVidia Cg OpenGL shader language
      • 6.2.4. tkfreeglutBindings for (some of) the GLUT functions
      • 6.2.5. tkfreetype2 » Bindings for freetype2, a true type font rendering library
      • 6.2.6. tkmath » tkmath API reference
      • 6.2.7. tkmidi » Bindings for MIDI (currently only for Win32)
      • 6.2.8. tkopengl » Bindings for OpenGL (version 1.1 with some exceptions)
      • 6.2.9. tksdl » Bindings for Simple Direct Layer (SDL), a portable hardware abstraction layer which supports OpenGL. Also includes bindings for SDL_net (TCP/IP networking)
      • 6.2.10. tksqliteBindings for sqlite, a file-based and SQL compatible database engine
      • 6.2.11. YAC » The YInG/YAC C++ plugin interface
  • 7. Script library/tool documentationLibraries(.tsl) and tools(.tkx) written in TkScript
    • 7.1. DOG » The Documentation Generator
    • 7.2. RIO » A http based remote procedure call (RPC) server
    • 7.3. tkui » A user interface toolkit written in TkScript
    • 7.4. tkunit » A unit testing framework for TkScript
    • 7.5. YInGYAC Interface Generator (for C++ plugins)
  • 8. AuthorsList of contributors
  • 9. LinksOther interesting things

 
3. News

You can find the latest news here: News 2011.
 
Since this site has been rebuilt almost from scratch in 2008, the old 2001-2008 news pages use the old site CSS.
 
3.2. 2001-2011
6.2. API reference
6.2.2. tkchipmunk
<documentation incomplete, work in progress>
6.2.3. tkcg
<documentation incomplete, work in progress>
6.2.4. tkfreeglut
<documentation incomplete, work in progress>
6.2.10. tksqlite
<documentation incomplete, work in progress>
7. Script library/tool documentation
7.5. YInG
<documentation incomplete, work in progress>
 
I have not got gotten around to writing a proper plugin tutorial, yet.
 
Please take a look at the source code of the yingtest example plugin (see Plugin source code packages).
 
Also see the YInG/YAC plugin SDK (C++).
8. Authors

TkScript is (c) 2001-2012 by Bastian Spiegel (bs_AT_tkscript_DOT_de)
 
Thanks to Carsten Busse for his work on the tkmath, tkcg and tkfreeglut plugins, the X86/32 and X64 backends of the upcoming new JIT compiler and finally for beta-testing TkScript and plugins on PC Linux/X86,X64 and PS3 Linux/PPC.
 
The Win32 TkScript installer uses Inno Setup by Jordan Russell.
 
9. Links
9.1. Third party libraries
TkScript respectively some of the plugins use the following libraries:
 
- www.zlib.net/ -- Home of the zlib (de-)compression library
 
- www.libsdl.org/ -- Home of the SDL simple direct layer library
 
- www.freetype.org/ -- Home of the freetype font library
 
- http://chipmunk-physics.net/ -- Home of the chipmunk 2D physics library
 
- www.sqlite.org/ -- Home of the sqlite file-database library
 
- www.khronos.org/ -- Home of OpenGL
 
- http://developer.nvidia.com/page/cg_main.html -- Home of the Cg toolkit
9.2. Other scripting languages

- www.tcl.tk/ -- Home of the TCL script language
 
- www.perl.org/ and www.perl.com -- Home of the Perl script language
 
- www.python.org/ -- Home of the Python script language
 
- www.lua.org/ --- Home of the Lua script language
 
- http://pike.ida.liu.se/ --- Home of the Pike script language
 
- www.php.net/ --- Home of the PHP script language
 
- www.ruby-lang.org/ -- Home of the Ruby script language
 
- www.rebol.com/ --- Home of the Rebol script language
 
- www.vitanuova.com/inferno/limbo.html --- Home of the Limbo language and Inferno OS
 
- http://en.wikipedia.org/wiki/Javascript --- The ECMA script language (aka JavaScript)
 
- http://java.sun.com/ --- Home of the Java language (not exactly a script language but used to accelerate Python/Ruby/Groovy/..)
 
- http://www.mono-project.com/ --- A free implementation of the Microsoft C# ISO language standard and parts of the .NET framework
 
There are, of course, other languages like Lisp, Smalltalk or UCSDPascal that may be considered precursors to today's (script-) languages !


auto-generated by "DOG", the TkScript document generator. Mon, 31/Dec/2012 13:40:58