[fpc-pascal] for FPC JVM users: Small tool to help converting R.java to Pascal

leledumbo leledumbo_cool at yahoo.co.id
Wed Apr 11 15:31:25 CEST 2012


I've developed a small tool to help converting the autogenerated R.java to
Pascal. It's made in a quick and dirty way, but it works. It could be added
to build script to automatically do the conversion before compiling.

It takes 1 command line parameter which is the path to R.java and outputs
the result to standard output, so you might want to redirect it to a file.
Note that the tool doesn't care whether one of the classes' name is a Pascal
reserved word, please modify the source code as necessary if you want to
avoid it (e.g. when a class name is string, convert is to strings).

http://free-pascal-general.1045716.n5.nabble.com/file/n5632880/Rj2p.pas
Rj2p.pas 

--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/for-FPC-JVM-users-Small-tool-to-help-converting-R-java-to-Pascal-tp5632880p5632880.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list