Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C Preprocessor for JS (or anything, really)
C JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
.gitignore
Makefile
README.md
beautify.js
macnjs

README.md

macnjs

Pronounced Mac'n'Cheese, this is a very very simple shell script that uses the C preprocessor to add macros, includes, compiler errors and so forth to your JavaScript.

Installation

You can temporarily install macnjs by running this command, of course with your own path applied.

export PATH=$PATH:/path/to/the/repo

Usage

Simple:

macnjs <inputfiles> > <outputfile>

Have fun!

License

macnjs and all the examples are released under WTFPL.

Something went wrong with that request. Please try again.