module lang::cobol85::Preprocess
rascal-0.43.3
org.rascalmpl.cobol-air-0.1.2
Usage
import lang::cobol85::Preprocess;
Dependencies
import String;
import List;
import IO;
function preprocess
COBOL pre-processing involves (mostly) replacing the margins with a control character.
str preprocess(str src)
function rtrim
str rtrim(str s)
function margin
str margin(str s)
function indicator
str indicator(str line)