New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts with a dash in the file name produces invalid --java output #138

Closed
HamletDRC opened this Issue Sep 1, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@HamletDRC
Contributor

HamletDRC commented Sep 1, 2011

scripts with a dash in the file name produces invalid --java output

From the command line:

echo "puts 'hello world'" > my-sample.mirah
mirahc --java my-sample.mirah
cat My-sample.java

The Java output is a class named "My-sample". The dash is invalid.

@baroquebobcat

This comment has been minimized.

Show comment
Hide comment
@baroquebobcat

baroquebobcat Sep 1, 2011

Member

So, should it work like it does with snake case?

foo-bar -> FooBar?

Member

baroquebobcat commented Sep 1, 2011

So, should it work like it does with snake case?

foo-bar -> FooBar?

@HamletDRC

This comment has been minimized.

Show comment
Hide comment
@HamletDRC

HamletDRC Sep 1, 2011

Contributor

That's a good idea. It is more Java-like, and makes calling the class easier from Java.

Contributor

HamletDRC commented Sep 1, 2011

That's a good idea. It is more Java-like, and makes calling the class easier from Java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment