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

Broaden allowed syntax for DSL #31

Merged
merged 3 commits into from
Sep 24, 2015
Merged

Broaden allowed syntax for DSL #31

merged 3 commits into from
Sep 24, 2015

Commits on Sep 23, 2015

  1. #30 Broaden allowed syntax for DSL

    Until now a command must start with a keyword. This has been relaxed
    and a command can now start with a keyword, a symbol, or a string.
    
    This means that all of the following are legal ways to represent a
    click:
    
    [click] [:click] ["click"] (click) (:click) ("click")
    Emil Holm Nauerby committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    6c23db0 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2015

  1. Improve error reporting

    #30
    
    Using a wrong command name will now produce an error message
    including the names of all currently implemented commands. This is
    fetched dynamically by inspecting the MultiFn and should always be
    up to date.
    Emil Holm Nauerby committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    1fc5688 View commit details
    Browse the repository at this point in the history
  2. Move util function to new namespace

    #30
    
    The function to look up functions contained in a multimethod has been
    moved to a utils namespace and now sports a proper docstring.
    Emil Holm Nauerby committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    b76d913 View commit details
    Browse the repository at this point in the history