Author Topic: The SICK project  (Read 3989 times)

eoredson

  • Guest
The SICK project
« on: July 09, 2018, 09:37:07 PM »
Attached is The Symbolic Instruction Code Kit which is a pseudo-BASIC interpreter written in
BASIC for QB64 windows..

The Symbolic Instruction Code Kit, which contains a QB64 program named SIC64.BAS
and several smaller utility programs. The source code is public domain and can be
found on several sites, including, www.filegate.net and www.keepandshare.com

This program uses a recursive descent parser to interpret a psuedo-basic language
written in a line number oriented fashion and can be used for small programming chores.

The archive also contains some further imbedded .zip files which contain several
QB64 sample programs, and some .SIC programs which are used by the SIC engine.

List of Sic64 commands:
Code: [Select]

 ANALYZE     -  Error checks the current Sic64 program.
 AUTOINDENT  -  Toggles autoindenting of current program.
 CLOCK       -  Displays date/time.
 CONTINUE    -  Continues program processing.
 DATE        -  Displays date.
 DEBUG       -  Starts debug mode.
 DECRYPT     -  Decrypts a file.
 DIRS        -  Displays Sic64 directories.
 DRIVES      -  Lists the currently available drives.
 ENCRYPT     -  Encrypts a file.
 FILES       -  Displays Sic64 program files.
 HELP        -  Displays commands.
 INDENT      -  Reformats current Sic64 program.
 KILL        -  Deletes a Sic64 program file.
 LIST        -  Display the current Sic64 program.
 LOAD        -  Reads a Sic64 program file.
 NEW         -  Clears the current Sic64 program.
 PRINT       -  Prints the current Sic64 program.
 QUIT        -  Exit backs to DOS.
 RENUMBER    -  Renumbers the program line numbers,
 RUN         -  Starts the current Sic64 program.
 SAVE        -  Stores the current Sic64 program.
 SEARCH      -  Prompts for keyword to search the currently loaded program.
 SET         -  Displays menu for setting prompt.
 SHELL       -  Exits to DOS allowing commands to be entered.
 SYSTEM      -  Quits to dos without saving program. 
 TIME        -  Displays time.
 VERSION     -  Display current Sic64 version.
 WHATIS      -  Starts immediate mode.


List of Sic64 keywords:

Code: [Select]

 ENDIF, END IF, STOP, REM, MID$, LEFT$, RIGHT$, PRINT #, DPRINT
 LPRINT USING, SPRINT, UPRINT, INPUT;, FORIF, FOR, NEXTIF, NEXT, CONTINUE FORIF, CONTINUE FOR
 EXIT FORIF, EXIT FOR, DO UNTIL, LOOP WHILE, EXIT DO, CONTINUE DO, GOTO, GOSUB, RETURN, DO WHILE
 DO, OFF, IF, ELSEIF, CASEIF ELSE, CASEIF, SELECT CASE, END SELECTIF, BEEP, SOUND
 COLOR, LOCATE, CLS, SCREEN, WIDTH, WRITE #, LINE INPUT;, LINE INPUT #, INPUT #, WEND
 WHILE, CONTINUE WHILE, EXIT WHILE, ELSE, LOOP UNTIL, LOOPIF, END LOOPIF, EXIT LOOPIF, LOOP, RANDOMIZE
 POKE, INT86, DEFSEG, ABSOLUTE, OUT, WAIT, SLEEP, PAUSE, SELECTIF CASE, END SELECT
 CASE ELSE, CASE, CONTINUE LOOPIF, END, CLEAR, SYSTEM, SWAP, ERROR, ON ERROR GOTO, ON ERROR RESUME PREVIOUS
 ON ERROR RESUME SAME, ON ERROR RESUME NEXT, ON ERROR STOP, RESUME PREVIOUS, RESUME SAME, RESUME NEXT, RESUME, ON, DATE$, TIME$
 CHDRIVE, CD, CHDIR, MD, MKDIR, RD, RMDIR, KILL, DELETE, RENAME
 NAME, SHELL, CHAIN, LET, CLOSE #, OPEN #, FIELD #, WRITE, PRINT USING, INPUT
 LINE INPUT, LSET #, RSET #, PUT #, GET #, READ #, DATA, READ, RESTORE, CIRCLE STEP
 LINE STEP, PSET STEP, PRESET STEP, PAINT STEP, DRAW, PLAY, GET STEP, PUT STEP, BSAVE, BLOAD
 VIEW SCREEN, VIEW, WINDOW SCREEN, WINDOW, CIRCLE, LINE, CLOSE, DEF FN, ENVIRON, PAINT
 PSET, PRESET, GET, PUT, DIM, COMMON, DECLARE, LOCK #, UNLOCK #, PRINT
 LPRINT, TRIANGLE, POLYGON

« Last Edit: August 18, 2018, 01:05:20 AM by eoredson »