ScriptBasic

ScriptBasic

ScriptBasic is a scripting language variant of BASIC. The source of the interpreter is available as a C program under the LGPL license.

ScriptBasic generates intermediary code which is then interpreted by a runtime environment. ScriptBasic is available for Windows and Unix and may be embedded in other programs as well. It can create standalone executable files. A runtime library is linked into the executable. It is available in precompiled binaries (setup.exe under Windows and uninstall also supported), dpkg and rpm for Linux and in source code form. The language, the interpreter is fully documented in the Users' Guide available in text, HTML, CHM, TeX, texi and PDF formats.

ScriptBasic has been developed since 1999 and has reached a fairly matured state in terms of functions and stability. The precompiled version available for Windows and Linux includes a command line version and a standalone web server.

This BASIC can be the choice for developers, who seek a BASIC variant that runs on UNIX as well as under Windows.

ScriptBasic has an open interface for module developers. There are several external modules developed by the developer of ScriptBasic as well as by other developers. These include data base connection handling for various database systems (MySQL, PostgreSQL, ODBC, Berkeley DB and others), binding to the library CURL, PNG graphics, GTK+ graphical user interface, sockets, regular expressions, thread support, data compression and CGI.

ScriptBasic also has an open interface for preprocessor developers. These are modules that may act not only during run-time but also compile time, thus making it possible to alter the language. Currently there is a single preprocessor that delivers debugger functionality. This lets the BASIC programmer to run the BASIC program line by line, examine variable contents, set break points and all the usual debugging features. This debugger supports not only the command line version but also the web server implementation allowing full interactive debugging of CGI applications in BASIC.

The architecture of the interpreter internally is object oriented and provides a clean and well documented interface to embed the interpreter into any application written in C or C++. The whole source code is extensively documented and commented, which is an outstanding feature compared to other embeddable script language implementations. Slides in HTML format with English narration in RealAudio format are also available to get a jump start learning the architecture and module, preprocessor and embedding developments.

ScriptBasic is also supported by a mailing list and [http://www.scriptbasic.org/forum/ forum] .

Features

* Open source LGPL project
* Multi-platform (Windows, Linux, Unix, Mac OS X, ...)
* Fast multi-threaded ScriptBasic HTTP application server
* In memory session handling
* Extension module API (CGI, MySQL, ODBC, Berkeley DB, GTK, Curl, ...)
* HTML template file support
* Command line interpreter for utility applications and standard CGI programming
* Create standalone executables without compiling
* Name space support
* Relaxed / auto variable typing (forget DIM and think undef)
* TYPE, ISARRAY, ISSTRING, ISINTEGER, ISREAL, ISNUMERIC, ISDEF, ISUNDEF, ISEMPTY
* Associative arrays (reference elements by name - MySQL & ODBC modules assign columns to named arrays)
* Standard branching syntax (GOTO, GOSUB/RETURN, FOR/NEXT, DO/WHILE/UNTIL, REPEAT/UNTIL, CALL)
* Multi-function IO directives ( [LINE] INPUT, PRINT, OPEN - files, ports, standard IO)
* Time/Date formatting and math
* Extended string functions (REPLACE, SPLIT, SPLITA)
* GTK / Glade support for desktop application development
* Easy to learn and use without prior programming knowledge

External links

*http://www.scriptbasic.com/ -- ScriptBasic (Developers Site)
*http://www.scriptbasic.org/ -- ScriptBasic open source project site. (forum and wiki)


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • List of BASIC dialects by platform — List of BASIC dialects by platform: This is a list of dialects of the BASIC computer programming language, sorted into groups for better conceptual organization.There is also an alphabetical list of BASIC dialects. These two lists should contain… …   Wikipedia

  • Visual Basic — Не следует путать с Visual Basic .NET. Visual Basic Класс языка: процедурный, объектно ориентированный, компонентно ориентированный Тип исполнения: компилируемый, интерпретируемый Появился в: 1991 …   Википедия

  • QBasic — Среда разработки QBASIC 4.5 QBasic  диалект языка программирования Бейсик (BASIC), разработанный компанией Microsoft, а также среда разработки, позволяющая писать, запускать и отлаживать программы на этом языке. QBasic удобен для выпол …   Википедия

  • Visual Basic .NET — См. также: Visual Basic Visual Basic .NET Класс языка: Объектно ориентированный, Императивный, Структурный, Декларативный Тип исполнения: компилируемый, интерпретируемый Появился в: 2001 …   Википедия

  • DarkBASIC — (название образовано от английских слов  dark (темный) и BASIC)  специализированный язык программирования, созданный компанией The Game Creators специально для создания 3D и 2D игр. Структура языка заимствована из BASIC, также язык… …   Википедия

  • PowerBASIC — Имеется викиучебник по теме «PowerBASIC» …   Википедия

  • PureBasic — PureBasic  диалект языка BASIC и коммерческий компилятор для него. Предназначен для создания кроссплатформенных приложений для AmigaOS, Linux, Microsoft Windows, Windows NT и Mac OS X. Разработан компанией Fantaisie Software. Программы,… …   Википедия

  • Бейсик Вильнюс — Класс языка: алгоритмическое, процедурное Тип исполнения: Интерпретатор компилирующего типа Появился в: 1985 Расширение файлов: BAS Типизация данных …   Википедия

  • REALbasic — (RB)  кроссплатформенная объектно ориентированная среда программирования, подобная Visual Basic, для Mac OS X, Microsoft Windows, 32 bit x86 Linux[1] и для web[2][3]. Текущая версия  REALbasic 2011 Release 4.3. Содержание 1 Особенности …   Википедия

  • Sinclair BASIC — (назван по фамилии изобретателя сэра Клайва Синклера)  диалект языка программирования BASIC, применявшийся на 8 разрядных бытовых компьютерах производства Sinclair Research и Timex Sinclair. Интерпретатор Sinclair BASIC разработан компанией… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”