new julia support inspired from ruby.c