On Wed, May 28, 2014 at 8:05 PM, Will Duquette <[email protected]> wrote:
> If there's a better place to ask this kind of question, please point me in > the right direction! > > I'm learning Clojure, and part of the project I'm making is a command > language: the user can type commands at the application in something like a > REPL, and have a dialog with the application. I want to dispatch to a > function that carries out the command based on the first word of the > command; the function then receives the remaining words in the command, and > can do with them what it likes. > Take a look at the source of some leiningen plugins for examples. https://github.com/technomancy/leiningen/blob/master/doc/PLUGINS.md https://github.com/technomancy/leiningen/wiki/Plugins -Gregg -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
