Path: BASIC :
Path: Compilers : Basic compiler :

BASIC Compiler/Interpreter BASIC interpreter and compiler...

  basic32-2.0.zip - archive of the basic 2.0 files compiled for 32 bit windows.
  basic64-2.0.zip - archive of the basic 2.0 files compiled for 64 bit windows.
  basic.exe - this is the basic interpreter.
  winbasic.exe - this is the graphical basic interpreter.
  bc.exe - this is the basic compiler.
  nasm.exe - this is the NASM assembly language.
  GoLink.exe - this is the GoLink linker.
  basic.dll - this is the basic dynmaic linked library (DLL).
  macros64.asm - this is the basic 64 bit macro definition file.
  macros.asm - this is the basic 32 bit macro definition file.

The BASIC programming language is a beginners all purposse compuer programming language.

This implementation of BASIC allows you to call machine language functions in DLL files. This offers a grate deal of functionality.

The compiler/interpreter has an eval() function.

The BASIC interpreter and compiler are written in STL standard C++.

The BAISC compiler and interpreter are similar to DOS qBASIC.

You will need nasm assembly language and a linker if you want to use the BASIC compiler.

If you want the source code please fill out the request form: click the link here...

Class, interface and function object programming language features are not yet implemented.

How to interpret a program:

C:\basic> basic hello_world.bas
Hello, World!

How to compile a program:

C:\basic> bc hello_world.bas -o hello_world.exe
C:\basic> hello_world.exe
Hello, World!

This is how you run a basic program that uses graphics:

C:\basic> winbasic graphics.bas

Exampe programs:

  array.bas
  cfun.bas
  concat.bas
  do_until.bas
  eval.bas
  exit.bas
  expr.bas
  for.bas
  function.bas
  goto.bas
  hello_world.bas
  if.bas
  io.bas
  loop.bas
  math.bas
  printf.bas
  select.bas
  shell.bas
  str.bas
  sub.bas
  test.bas
  until.bas
  while.bas
  type_test.bas
  mysql.bas
  chatd.bas
  chat.bas
  wget.bas
  wget2.bas
  tftp.bas
  smtp.bas
  tts.bas
  csvfile.bas
  graphics.bas
  popen.bas
  curses.bas
  cmd.bas
  sound.bas
  type_array.bas
  args.bas
  alert.bas
  io.bas
  file.bas
  thread.bas
  shell.bas
  server.bas
  clinet.bas