[ale] Text compiler

Byron Jeff byronjeff at clayton.edu
Sat Oct 10 18:26:58 EDT 2015


On Sat, Oct 10, 2015 at 05:40:42PM -0400, Ray Vastly wrote:
>    I might be misunderstanding your requirements but I believe you could
>    just use gcc or your favorite c compiler and use the preprocessor flag
>    on your text files. The preprocessor should be able to work on any file
>    that has #include or #define, not just .c or .h files.

If that's the case then the m4 macro processor is probably a better tool.

BAJ

> 
>    On Oct 10, 2015 5:34 PM, "James Sumners" <[1]james.sumners at gmail.com>
>    wrote:
> 
>    You could use a "static site generator" to do it. They are
>    numerous. [2]http://www.metalsmith.io/ may be more than what you want,
>    but is very high on my list of candidates for when I dump Wordpress.
>    Or, just use Markdown via Pandoc ([3]http://pandoc.org/).
> 
>    On Sat, Oct 10, 2015 at 5:14 PM, Calvin Harrigan
>    <[4]calvin.harrigan at gmail.com> wrote:
> 
>      Hi all,
>          I've been looking for a tool that I can only describe as a text
>      compiler. The basic feature would be the ability to use something
>      like includes within a template file that references external files
>      and compile an output file that would be the amalgam of the text in
>      the template and the text of the referenced files.  Have you come
>      across anything that does this?  I've turned up at least one
>      candidate, but was hoping for some more ideas.  I guess I can
>      code/script something up, but time isn't on my side. Especially if
>      it has been done before.
>      Thanks
>      _______________________________________________
>      Ale mailing list
>      [5]Ale at ale.org
>      [6]http://mail.ale.org/mailman/listinfo/ale
>      See JOBS, ANNOUNCE and SCHOOLS lists at
>      [7]http://mail.ale.org/mailman/listinfo
> 
>    --
>    James Sumners
>    [8]http://james.sumners.info/ (technical profile)
>    [9]http://jrfom.com/ (personal site)
>    [10]http://haplo.bandcamp.com/ (band page)
> 
>      _______________________________________________
>      Ale mailing list
>      [11]Ale at ale.org
>      [12]http://mail.ale.org/mailman/listinfo/ale
>      See JOBS, ANNOUNCE and SCHOOLS lists at
>      [13]http://mail.ale.org/mailman/listinfo
> 
> References
> 
>    1. mailto:james.sumners at gmail.com
>    2. http://www.metalsmith.io/
>    3. http://pandoc.org/
>    4. mailto:calvin.harrigan at gmail.com
>    5. mailto:Ale at ale.org
>    6. http://mail.ale.org/mailman/listinfo/ale
>    7. http://mail.ale.org/mailman/listinfo
>    8. http://james.sumners.info/
>    9. http://jrfom.com/
>   10. http://haplo.bandcamp.com/
>   11. mailto:Ale at ale.org
>   12. http://mail.ale.org/mailman/listinfo/ale
>   13. http://mail.ale.org/mailman/listinfo

> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


-- 
Byron A. Jeff
Associate Professor: Department of Computer Science and Information Technology
College of Information and Mathematical Sciences
Clayton State University
http://faculty.clayton.edu/bjeff


More information about the Ale mailing list