From c93d8ca204cdb845810798b925110af031f9f62e Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Thu, 19 Mar 2015 04:31:54 +0100 Subject: [PATCH] Add explanations about preprocessor. --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index e5e7168..49db90b 100644 --- a/index.html +++ b/index.html @@ -46,7 +46,7 @@ pre code { padding: 0px; }
  • Allow multiple labels with the same name in the same function.
  • switch() statements, for compatibility with Firestorm.
  • Lazy list syntax (identifier[index]), for compatibility with Firestorm.
  • -
  • As of version 0.1.2alpha, it can invoke the preprocessor on its own (the default parameters require the GNU C preprocessor cpp to be installed, but other preprocessors can be used).
  • +
  • As of version 0.1.3alpha, it can invoke the preprocessor on its own, providing defaults for the GNU C preprocessor cpp and for mcpp).
  • Optimizations supported:

    @@ -375,7 +375,9 @@ notepad temp.opt

    to copy the optimized output to the clipboard. Under OS X, it seems pbcopy does the same as xclip and clip.

    -

    Future plans include writing a patch for Firestorm to enable it to run external script filtering programs instead of the internal preprocessor and optimizer. That would allow this program to be run using Firestorm's integrated machinery, making usage pretty transparent to the programmer.

    +

    An external preprocessor is supported. If your system has a GNU C Compiler suite already installed, then the cpp that comes with it (or gcc adding the -E option) should be enough. If you don't have it, the recommended preprocessor is mcpp, because it's a standalone executable, easy to install. Download it from http://mcpp.sourceforge.net/download.html, unpack the executable somewhere in the system path (or specify the path to the executable every time with the --precmd option of the program) and you're ready to go.

    + +

    Future plans include writing a patch for Firestorm to enable it to run external script filtering programs instead of Firestorm's internal preprocessor and optimizer. That would allow this program to be run using Firestorm's integrated machinery, making usage pretty transparent to the programmer.

    Support for other IDEs like Eclipse is not planned, but the author encourages others to write it. Please notify Sei Lisa if you write one, so that it can be listed in this page.