Skip to content
Commits on Jul 25, 2012
  1. @zachallaun

    Support code reflection in the cljs repl.

    zachallaun committed with David Nolen Jul 9, 2012
    A few changes have been made to support runtime code reflection in a
    cljs repl. These include small changes to cljs.analyzer, a separation of
    the server element of cljs.repl.browser into cljs.repl.server, and the
    addition of two new namespaces: cljs.repl.reflect (in src/clj) and
    clojure.reflect (in src/cljs).
    
    cljs.analyzer:
    - Arbitrary metadata declared on symbols will now be added to the AST.
      This supports the addition of docstrings.
    - Fix a subtle bug in cljs.analyzer/analyze-file, where an uncommon
      code-path would lead to the failed coercion of an absolute-path into a
      URL. An absolute path, including a `file://` protocol, can now be
      passed into the function successfully.
    
    cljs.repl:
    - Add function to analyze source on repl-env -setup. This is used to
      support reflection on user-defined cljs source files, as well as to
      populate the cljs.analyzer/namespaces atom on repl startup.
    
    cljs.repl.browser:
    - The server element of this namespace has been factored out into
      cljs.repl.server to support other services that may require that
      functionality.
    
    cljs.repl.server:
    - Expose a simple HTTP method and predicate dispatch system to register
      handler functions for incoming requests. (Note: this system seems to
      be relatively brittle, and future change may be warranted.)
    
    cljs.repl.reflect:
    - Registers a server handler for incoming requests to "/reflect".
    - Queries cljs.analyzer/namespaces for meta information relevant to a
      symbol, responding to requests with compiled javascript.
    - Can use "fixed point" macroexpansion on cljs macro forms.
    
    clojure.reflect:
    - Expose a set of simple functions for querying meta information of a
      symbol, as well as macroexpanding a cljs form.
Commits on May 10, 2012
  1. @fogus

    Update gi

    fogus committed May 10, 2012
Commits on Jul 20, 2011
  1. @stuarthalloway

    tweaks

    stuarthalloway committed Jul 20, 2011
Commits on Jun 24, 2011
  1. ignore core.js, coresimple.js, coreadvanced.js

    Alan Dipert, Aaron Bedra and Brenton Ashworth committed Jun 24, 2011
Commits on Jun 11, 2011
  1. @richhickey
Commits on Jun 10, 2011
  1. @abedra

    adding some initial scripts

    abedra committed Jun 10, 2011
Commits on Jun 2, 2011
  1. @richhickey

    added .gitignore

    richhickey committed Jun 2, 2011
Something went wrong with that request. Please try again.