Nocog

Free and fast drop-in no-op replacement for the Cog code generator
Download

Nocog Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Larry Hastings
  • Publisher web site:
  • http://www.midwinter.com/~lch/programming/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 21 KB

Nocog Tags


Nocog Description

Free and fast drop-in no-op replacement for the Cog code generator Cog is a clever programmer's tool. In essense, it's a Python-based text preprocessor; you can embed Python code inside C, or C++, or Python, or HTML, or any kind of text file really, then run Cog on it to automatically generate part of it.However, while Cog is plenty fast, perhaps you have a massive build system, and you don't want to run Cog automatically over every source file in your tree. This in and of itself is no problem; you just configure your build process such that you only run Cog on the files where you actually have Cog code.But! What happens when you add Cog to an existing file, and forget to move that file from the "doesn't need Cog" list to the "needs Cog" list? Why, you've introduced a bug into your build process, that's what.You need Nocog! Nocog is a free tool designed to catch exactly that problem. Nocog will scan over its input files, and if any of them contain Cog code, it will print an error and return -1. If none of them contain any Cog code, it will print nothing and r Here are some key features of "Nocog": · Written in C so it's lightning-fast. · Portable to Win32, UNIX, and Macintosh OS X. · Works as a drop-in replacement for Cog; it accepts the exact same command-line parameters, though it ignores most of them. · You can specify an alternate marker using -marker STRING, so you can also use Nocog with Argent (like Cog but for Ruby). · Almost completely useless! It's so Chindogu! · Was fun to write. Requirements: · Apple Xcode (to build the program from source) What's New in This Release: · Added support for Cog 2.0's new command-line options. · Changed -marker to --marker.


Nocog Related Software