Age | Commit message (Collapse) | Author |
|
flow out
|
|
|
|
|
|
|
|
AOT now only produces __init.class by default, load uses that class only
must have at least (:gen-class) ns clause to create named class for ns
gen-class can now be called stand-alone
new options allow for control of mapping to implementing namespace,
name of class, loading of implementing namespace, and method name prefix
(doc ns) and (doc gen-class) and http://clojure.org/compilation for details
|
|
|
|
|
|
added while
|
|
|
|
|
|
|
|
Breaking change - fn? now tests for Fn, not IFn
Added ifn? which will test for anything callable (IFn)
Added trampoline, implements trampoline protocol for TCO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!! Note - breaking change - you must now use .method instead of just method:
(def frame (doto (new JFrame) (add panel) pack show))
becomes:
(def frame (doto (new JFrame) (.add panel) .pack .show))
|
|
!!!Note - breaking change to gen-class!!!
Do not move to this version if you use gen-and-xxx-class until you are ready to port to new system.
Adds :gen-class clause to ns, which can be used to configure the class generated for the namespace
|
|
|
|
|
|
|
|
|
|
|
|
applied to command line string args
|
|
|
|
|
|
Stuart Sierra
|
|
|
|
|
|
languages
|
|
|
|
|
|
|
|
breaking change to load - no longer takes extension
load will load from classfile if newer than source
to compile, source dir and compile dir must be in classpath
(compile 'my.cool.ns)
will compile my/cool/ns.clj and anything it loads directly or indirectly
|
|
Unless you are interested in helping test:
AOT compiler!
build and start Clojure with: -cp ./classes:./src/clj:clojure.jar
try:
(do
(compile 'clojure.core)
(compile 'clojure.set)
(compile 'clojure.xml)
(compile 'clojure.zip))
restart Clojure - faster?
rebuild Clojure w/o clean, should get faster start from jar alone
deleted set/xml etc dirs
Moved clojure ns to clojure.core, moved set/xml etc up out of dirs
New binding syntax (breaking change) for:
doseq
dotimes
with-open
when-first
if-let
when-let
plus:
new print-dup functionality for replica generation of compilation constants
new *print-dup* flag, prints duplicators
back to simplified readably printing for repl
readable fns, as long as they are not closures
|
|
Unless you are interested in helping test:
deleted set/xml etc dirs
Moved clojure ns to clojure.core, moved set/xml etc up out of dirs
New binding syntax (breaking change) for:
doseq
dotimes
with-open
when-first
if-let
when-let
plus:
new print-dup functionality for replica generation of compilation constants
new *print-dup* flag, prints duplicators
back to simplified readably printing for repl
readable fns, as long as they are not closures
|
|
Unless you are interested in helping test:
Moved clojure ns to clojure.core, moved set/xml etc up out of dirs
New binding syntax (breaking change) for:
doseq
dotimes
with-open
when-first
if-let
when-let
plus:
new print-dup functionality for replica generation of compilation constants
new *print-dup* flag, prints duplicators
back to simplified readably printing for repl
readable fns, as long as they are not closures
|
|
Unless you are interested in helping test:
New binding syntax (breaking change) for:
doseq
dotimes
with-open
when-first
if-let
when-let
plus:
new print-dup functionality for replica generation of compilation constants
new *print-dup* flag, prints duplicators
back to simplified readably printing for repl
readable fns, as long as they are not closures
|
|
Unless you are interested in helping test:
new print-dup functionality for replica generation of compilation constants
new *print-dup* flag, prints duplicators
back to simplified readably printing for repl
readable fns, as long as they are not closures
|
|
first
|
|
|
|
|
|
|
|
|