Navigation
Home News Examples Demo Downloads FAQ Documentation Mailing Lists License
Support GeSHi!
If you're using GeSHi, why not help GeSHi out? You can link to GeSHi with this image:
Powered by GeSHi
Get the HTML

Project Status
The latest stable version of GeSHi is 1.0.8.11, released on the 19th of Aug, 2012.

Supported Languages:
*ABAP
*Actionscript
*ADA
*Apache Log
*AppleScript
*APT sources.list
*ASM (m68k)
*ASM (pic16)
*ASM (x86)
*ASM (z80)
*ASP
*AutoIT
*Backus-Naur form
*Bash
*Basic4GL
*BlitzBasic
*Brainfuck
*C
*C for Macs
*C#
*C++
*C++ (with QT)
*CAD DCL
*CadLisp
*CFDG
*CIL / MSIL
*COBOL
*ColdFusion
*CSS
*D
*Delphi
*Diff File Format
*DIV
*DOS
*DOT language
*Eiffel
*Fortran
*FourJ's Genero
*FreeBasic
*GetText
*glSlang
*GML
*gnuplot
*Groovy
*Haskell
*HQ9+
*HTML
*INI (Config Files)
*Inno
*INTERCAL
*IO
*Java
*Java 5
*Javascript
*KiXtart
*KLone C & C++
*LaTeX
*Lisp
*LOLcode
*LotusScript
*LScript
*Lua
*Make
*mIRC
*MXML
*MySQL
*NSIS
*Objective C
*OCaml
*OpenOffice BASIC
*Oracle 8 & 11 SQL
*Pascal
*Perl
*PHP
*Pixel Bender
*PL/SQL
*POV-Ray
*PowerShell
*Progress (OpenEdge ABL)
*Prolog
*ProvideX
*Python
*Q(uick)BASIC
*robots.txt
*Ruby
*Ruby on Rails
*SAS
*Scala
*Scheme
*Scilab
*SDLBasic
*Smalltalk
*Smarty
*SQL
*T-SQL
*TCL
*thinBasic
*TypoScript
*Uno IDL
*VB.NET
*Verilog
*VHDL
*VIM Script
*Visual BASIC
*Visual Fox Pro
*Visual Prolog
*Whitespace
*Winbatch
*Windows Registry Files
*X++
*XML
*Xorg.conf

GeSHi 1.0.8.11 is the current stable release, with eighteen new languages and bug fixes over the last release.

GeSHi 1.1.2alpha5 is the current latest version from the development branch, with full C support (see the GeSHi development website).
Subscribe
RSS 2
Mailing Lists
HomeNewsExamplesDemoDownloadsFAQDocumentationMailing ListsLicense 
11:30 am GMT

GeSHi - Generic Syntax Highlighter


 

Latest News

News Archive

Random Screenshot

[small0.png: Click for a larger view]

Demonstration


Language:  

Runtime Example

Do
    DoEvents
    Form1.SetFocus
    PSet (Snakex, Snakey), vbGreen
    Line (applex - 3, appley - 5)-(applex + 3, appley), vbGreen + 1, BF
    Line (applex, appley)-(applex + 10, appley + 10), applecolor, BF
        For i = 1 To delay: Next
        Snakex = Snakex + SnakexMov
        Snakey = Snakey + SnakeyMov
        colortest = Point(Snakex + SnakexMov, Snakey + SnakeyMov)
        If colortest = vbGreen + 1 Or colortest = applecolor Then
            Line (applex - 3, appley - 5)-(applex + 10, appley + 10), vbWhite, BF
            'Line (10, 10)-(750, 750), vbWhite, BF
            score = score + 10
            delay = delay - 10000
            If score > 30 And score < 60 Then delay = delay + 5000
            If score > 60 Then delay = delay + 7500
            applex = Int(600 * Rnd) + 10
            appley = Int(600 * Rnd) + 10
        ElseIf colortest <> vbWhite Then
        Label1.Left = 250
            Label1.ForeColor = vbBlack
            Label1.BackColor = vbWhite
            Label1.Caption = "                         You Lose                  " & Chr(10) & "                 Your Score was:  " & score & "" & Chr(10) & "Press 'Enter' to play again and 'Esc' to exit"
            Label1.AutoSize = True
            Exit Do
            Exit Sub
            End
        End If
Loop