Xbasic is an open source programming language created in 1988 by Max Reason.
#1532on PLDB | 36Years Old |
XBasic is a variant of the BASIC programming language that was developed in the late 1980s for the Motorola 88000 CPU and Unix by Max Reason. In the early 1990s it was ported to Windows and Linux, and since 1999 it has been available as open source software with its runtime library under the LGPL license. It should not be confused with TI Extended BASIC, which is sometimes called XBasic or X Basic. Read more on Wikipedia...
IMPORT "xst"
DECLARE FUNCTION Hello ()
FUNCTION Hello ()
XstDisplayConsole ()
PRINT "Hello World"
END FUNCTION
END PROGRAM
' Programs contain:
' 1. A PROLOG with type/function/constant declarations.
' 2. This Entry() function where execution begins.
' 3. Zero or more additional functions.
'
FUNCTION Entry()
PRINT "Hello World"
PRINT 2+2
PRINT 44/12
PRINT 33*3
END FUNCTION
Feature | Supported | Example | Token |
---|---|---|---|
Strings | ✓ | "Hello world" | " |
Print() Debugging | ✓ | ||
Comments | ✓ | ' A comment | |
Line Comments | ✓ | ' A comment | ' |
Semantic Indentation | X |