Source Files Manifest

This lists the source files provided with the Proparse distribution, and a short summary description of each.

The files listed here are open source, and may be used for anything without restriction.

The Topmost Proparse Directory

try_me.p A very simple demonstration program which can be run from within the Proparse directory, without any databases connected.
launcher.w A crude UI for launching Proparse tests and examples. Is intended to be run from within your development environment.

The API Directory

comparecfg.p Determines if the schema needs to be reloaded, due to change in what databases are connected.
loaddb1.p Used by the 4GL part of the API to load schema names into Proparse. See proparse.p.
loaddb2.p Second part of loaddb1.p.
proparse.i Forward-declarations to the functions defined in proparse.p
proparse.p 4GL API to Proparse.
testrun.p Tag program to run testrun2.p.
testrun2.p Parses, and validates the parse, of each program listed in the input fileList, displays the results out to an edit/window. For each program parsed, if the input actionProgram is not blank, the actionProgram gets run against the parse results.
tokenlister.p Utility program. Displays all tokens in a syntax tree.
uglynode.p Utility program. Walks a syntax tree and writes the source code out, with its own twisted sense of indenting style.

The Examples Directory

codeprint1.p Lead-in program for codeprint1a.p.
codeprint1a.p Prints preprocessed source code, showing where include files start and end.
query_length.p Queries a syntax tree for LENGTH function calls which do not specify the second LENGTH parameter.
query_noundo.p Queries a syntax tree for DEFINE...VARIABLE statements which do not use the NO-UNDO option.

The Utilities Directory

attrs_prompt.w Used by launcher.w when calling tokenlister. Prompts for which node attributes to display.
build_proglist.p Simple script for building a list of compilable program filenames, based on .r code found in an input directory name.
resultswindow.p Utility program for displaying text in an edit widget in a dialog.
scanlister.p Walks through a scan list, and for each node, displays the node's type, text, line, and column.
textprompt.w Simple, general-purpose dialog to prompt for a character value.