Yves Lepage
Easier C programming
Input/output facilities
Abstract:This report describes the input/output facilities developed
for om studies of distances between linguistic objects. We propose two general functions, similar to the standard C library
functions fscanf and fprintf. For input, description of an
object syntax is possible, thanks to a set of macros which allow one to transform a BNF description into a fragment of C
code. For interpretation, a backtracking mechanism has been
implemented.
Keywords: Programming in C, input, output, BNF, backtracking mechanism.