ScriptBasic

The basic scripting language
Download

ScriptBasic Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Free
  • Price:
  • Free
  • Publisher Name:
  • By Peter Verhas
  • Operating Systems:
  • Windows 2003, Windows 2000, Windows Vista, Windows 98, Windows Me, Windows, Windows NT, Windows 7, Windows XP
  • Additional Requirements:
  • None
  • File Size:
  • 3.92MB
  • Total Downloads:
  • 329

ScriptBasic Tags


ScriptBasic Description

The ScriptBasic application was developed to be a code compiler that implements a rich set of instructions that are available under Win32 as well as under Linux/UNIX. Programs written in ScriptBasic are portable unless you work hard to insert some system specific code. If you miss some functions in the language itself there are external modules that implement several features, like CGI handling, MySQL access, regular expressions, graphical user interface, NT/UNIX specific functions (in case you really need something system dependant) and several others. ScriptBasic is fast, it generates a compact internal code, which is interpreted. This internal code occupies a single, continuous memory chunk and is usually saved into a cache file. The cache file is automatically checked by ScriptBasic and thus it compiles the source only when needed. Usage: basic program.bas options: -o file_name specify output file, save binary format to file but don't execute -b file_name load binary format from file and execute -n do not use cache (no save, no load) -e execute after binary format was saved -v print version info and stop -c inform scriba that this is a CGI script. -C save C program output. -E save executable output. (may not work under some OS) -p preprocessor specify external preprocessor. -i preprocessor specify internal preprocessor. -f configurationfile specify configuration file -d debug module error (UNIX only) -k text_config_file compile the configuration file to binary -D dump the configuration file in text format Main features: BASIC: No question, this is the MOST important feature of ScriptBasic. There are a lot of people who can program BASIC and only BASIC. There are many people, who can not really program. Those who do not really know what programming is, and still: they write their five-liners in BASIC to solve their simple problems. They never write Perl, Tcl, Java or C. Therefore it is BASIC. SCRIPTING language: Variables are typeless. You can store real numbers, integer numbers and strings in any variable. You can mix them and conversion is done automatically. PORTABLE: Available in C source and can be compiled on UNIXes as well as on Windows NT. There are precompiled binary setup packages from Linux (Debian and RedHat) and for Win32. 4E LANGUAGE: which means easy to extend, easy to embed. ScriptBasic was developed to provide clean and clear interfaces around it, and inside it. It is easy to embed the language to an application and use it as a macro language just like TCL. It is also easy to implement new built-in function and new commands. You can develop dynamically loaded libraries that ScriptBasic may load at run time. COMPILE BASIC: programs can be compiled to standalone executable. ScriptBasic creates pseudo compiled code, which is interpreted afterwards. Syntax analysis is done at first and only syntactically perfect programs start to run. The compiled code is put into a continuous memory space and compiled code can be saved and loaded again to run without recompilation. This is vital for CGI scripts and is not available for most scripting programming languages. Compiled code is binary, not readable. Therefore you can develop and distribute programs and getting some help to protect your intellectual property. You need not give the source code. The compiled code can be saved into a text file having C programming language syntax. Compiling this file with a C compiler and linking with the ScriptBasic run-time library you get a standalone binary executable. MULTI-THREAD aware: All the code was designed to be thread-safe. You can embed the code into systems that run multiple interpreters in the same process. An example is the Eszter SB Engine variation of the interpreter, which is a standalone http daemon that runs several threads of execution of different BASIC scripts in a single process.


ScriptBasic Related Software