configurator icon indicating copy to clipboard operation
configurator copied to clipboard

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

Open dbp opened this issue 10 years ago • 0 comments

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).

dbp avatar Sep 15 '14 20:09 dbp