CWB
Functions

llquery.c File Reference

This file contains the main function for CQP (interactive loop) More...

#include <stdio.h>
#include <signal.h>
#include "../cl/macros.h"
#include "cqp.h"
#include "eval.h"
#include "options.h"
#include "macro.h"
#include "variables.h"
#include "output.h"
#include "ascii-print.h"

Functions


Detailed Description

This file contains the main function for CQP (interactive loop)

In addition, it contains the functions that interactive CQP will need if command-line editing with GNU Readline is enabled.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main function for the interactive CQP program.

Doesn't do much except call the initialisation function, and then one of the loop-and-parse-input functions.

Parameters:
argcNumber of commandline arguments.
argvPointer to commandline arguments.
Returns:
Return value to OS.

References batchfd, batchmode, child_process, cqp, cqp_parse_file(), get_colour_escape(), get_typeface_escape(), initialize_cqp(), install_signal_handler(), macro_debug, macro_statistics(), use_colour, use_readline, VERSION, and which_app.