💾 Archived View for gmi.noulin.net › gitRepositories › pp › file › pp.c.gmi captured on 2023-01-29 at 13:19:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

pp

Log

Files

Refs

LICENSE

pp.c (396B)

     1 #! /usr/bin/env sheepy
     2 
     3 #include "libsheepyObject.h"
     4 #include "shpPackages/preprocessor/preprocessor.h"
     5 
     6 int argc; char **argv;
     7 
     8 int main(int ARGC, char** ARGV) {
     9 
    10   argc = ARGC; argv = ARGV;
    11 
    12   initLibsheepy(argv[0]);
    13 
    14   if (argc < 2) {
    15     puts(BLD RED "Missing file name to preprocess." RST);
    16   }
    17 
    18   smallArrayt *a = preprocess(argv[1]);
    19   logG(a);
    20   terminateG(a);
    21 
    22   finalizeLibsheepy();
    23 
    24 }