Skip to content
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

Add support for colons (':') in identifier names. #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dbp
Copy link

@dbp dbp commented Sep 15, 2014

I'm using configurator to drive a rake-like task management tool (which perhaps doesn't matter, but:) and one feature I have is to extend the commands with project specific stuff, like so:

commands {
  command1 = "some shell commands"
  command2 = "..."
}

Which works out well, except that the namespacing for commands are colons, and so I want to be able to write something like:

commands {
  db:migrate:production = "..."
}

But I can't, because colons aren't valid in identifiers. There doesn't seem to be any reason for them not to be legal (they don't appear anywhere else in the grammar or semantics), and it would be really helpful to me (and perhaps others!).

So this PR adds that support (and updates documentation / test suite).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant