Skip to content

maandree/jpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash based preprocessor for Java


jpp is simple, at least if you know GNU Bash.
Add lines beginning with # in your Java files,
shebangs are ignored, the rest consists of
directives coded in GNU Bash. An example is
located in ‘test/’. Files named .jpp will be
renamed to end with .java.

In addition to # lines, variables can be included
in a Java code line by placing the name inside
dollar signes inside double quotes that are in turn
in sharp angle brackets. Like this: <"$VARIABLE$">.
‘<"">’ is treated as ‘//’ in normal mode and ignored
in debug mode which is active if the varible DEBUG
is exported with -D.

Variables are specified when running jpp by -D
(also known as --export) options, the argument
should be as if declared in Bash, the code argument
actually just pasted. Just setting a name in
the argument is mote and can not be used to
declare boolean variables as true.

About

[UNMAINTAINED] Bash based preprocessor for Java

Topics

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published