Skip to content

cout/rubypp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");
}

About

Preprocessor that uses ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages