Skip to content

A docopt compiler written in C that generates C code to parse command line options.

Notifications You must be signed in to change notification settings

madmann91/docoptc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docoptc

A docopt compiler written in C that generates C code to parse command line options.

Building

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=<Debug|Release>
cmake --build .

Running

Simply run the compiler with an input text file to generate C code:

docoptc file.txt

Why?

Because the python implementation mandates a dependency on Python. This project only requires a C compiler.

About

A docopt compiler written in C that generates C code to parse command line options.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published