fglock / Perlito

"Perlito" Perl programming language compiler
http://fglock.github.io/Perlito/
Other
414 stars 47 forks source link

Perlito java generates "random" java code #39

Closed potyl closed 8 years ago

potyl commented 8 years ago

I need to keep under revision control the java file that perlito generates is always changing. Methods in classes are never in the same order. I suspect this to be to perl's internal hashes which don't guarantee order even among program reruns.

I tried changing the sort order in my branch https://github.com/potyl/Perlito/tree/emo/java-sorted but there are still some methods that keep changing places in the resulting output file.

Can you advice me on how to finish this patch?