Project

rubypp

0.0
No commit activity in last 3 years
No release in over 3 years
Rubypp is a preprocessor that uses ruby to transform text. Syntax is similar to the C preprocessor, e.g.: #include <stdio.h> #ruby <<END a = 42 nil # the last value of the block gets inserted into the output stream END int main() { printf("The answer is: #{a}\n"); }
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Rubypp is a preprocessor that uses ruby to transform text. Syntax is similar to the C preprocessor, e.g.:

#include <stdio.h>

#ruby <<END
  a = 42
  nil # the last value of the block gets inserted into the output stream
END

int main()
{
  printf("The answer is: #{a}\n");
}