All Downloads are FREE. Search and download functionalities are using the official Maven repository.

clojure.main__init.class Maven / Gradle / Ivy

The newest version!
????1{clojure/main__initjava/lang/Objectload()Vconst__0Lclojure/lang/Var;		clojure/lang/Var
getRawRoot()Ljava/lang/Object;

clojure/lang/IFnconst__1Lclojure/lang/AFn;	invoke&(Ljava/lang/Object;)Ljava/lang/Object;clojure/lang/Symbolclojure/lang/Namespacefind/(Lclojure/lang/Symbol;)Lclojure/lang/Namespace; 
!clojure/lang/AReference#const__4%	&clojure/lang/IPersistentMap(	resetMeta<(Lclojure/lang/IPersistentMap;)Lclojure/lang/IPersistentMap;*+
$,(clojure/main$loading__7732__auto____9954.0
/13const__55	6equals(Ljava/lang/Object;)Z89
:clojure/main$fn__9956<
=1java/util/concurrent/Callable?clojure/lang/LockingTransactionArunInTransaction3(Ljava/util/concurrent/Callable;)Ljava/lang/Object;CD
BEconst__6G	H	const__13J	KsetMeta (Lclojure/lang/IPersistentMap;)VMN
O	const__14Q	R	const__19T	Uclojure/main$demungeW
X1bindRoot(Ljava/lang/Object;)VZ[
\	const__20^	_	const__23a	bclojure/main$root_caused
e1	const__24g	h	const__27j	kclojure/main$stack_element_strm
n1	const__28p	q	const__31s	tclojure/main$with_bindingsv
w1setMacroy
z	const__32|	}	const__35	?clojure/main$repl_prompt?
?1	const__36?	?	const__39?	?clojure/main$skip_if_eol?
?1	const__40?	?	const__43?	?clojure/main$skip_whitespace?
?1	const__44?	?	const__47?	?clojure/main$repl_read?
?1	const__48?	?	const__51?	?clojure/main$repl_exception?
?1	const__52?	?	const__55?	?clojure/main$repl_caught?
?1	const__56?	?	const__58?	?	const__59?	?	const__60?	?	const__63?	?clojure/main$with_read_known?
?1	const__64?	?	const__67?	?clojure/main$repl?
?1	const__68?	?	const__71?	?clojure/main$load_script?
?1	const__72?	?	const__76?	?clojure/main$init_opt?
?1	const__77?	?	const__80?	?clojure/main$eval_opt?
?1	const__81?	?	const__84?	?clojure/main$init_dispatch?
?1	const__85?	?	const__88?	?clojure/main$initialize?
?1	const__89?	?	const__92?	?clojure/main$main_opt
1	const__93		const__96	clojure/main$repl_opt	

1	const__97	

const__100	clojure/main$script_opt
1
const__101	
const__104	clojure/main$null_opt
1
const__105	
const__108!	"clojure/main$help_opt$
%1
const__109'	(
const__112*	+clojure/main$main_dispatch-
.1
const__1130	1
const__1163	4clojure/main$legacy_repl6
71
const__1179	:
const__120<	=clojure/main$legacy_script?
@1
const__123B	Cclojure/main$mainE
F1__init0clojure.coreIin-nsKclojure/lang/RTMvar8(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Var;OP
NQclojure.mainSintern;(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Symbol;UV
Wclojure/lang/IObjYdoc[keyword<(Ljava/lang/String;Ljava/lang/String;)Lclojure/lang/Keyword;]^
N_5Top-level main function for Clojure REPL and scripts.aauthorc"Stephen C. Gilardi and Rich Hickeyemap2([Ljava/lang/Object;)Lclojure/lang/IPersistentMap;gh
NiwithMeta2(Lclojure/lang/IPersistentMap;)Lclojure/lang/IObj;klZmclojure/lang/AFnomainqdeclaredsjava/lang/BooleanuTRUELjava/lang/Boolean;wx	vyline{java/lang/Integer}valueOf(I)Ljava/lang/Integer;?
~?column?file?clojure/main.clj?demunge?arglists?fn-name?clojure/lang/Tuple?create4(Ljava/lang/Object;)Lclojure/lang/IPersistentVector;??
??java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??clojure/lang/PersistentList?0(Ljava/util/List;)Lclojure/lang/IPersistentList;??
??gGiven a string representation of a fn class,
  as in a stack trace element, returns a readable version.?added?1.3?
root-cause?t?tag?	Throwable?WReturns the initial cause of an exception or error by peeling off all of
  its wrappers?stack-element-str?el?StackTraceElement?JReturns a (possibly unmunged) string representation of a StackTraceElement?
with-bindings?&?body?F(Ljava/lang/Object;Ljava/lang/Object;)Lclojure/lang/IPersistentVector;??
???Executes body in the context of thread-local bindings for several vars
  that often need to be set!: *ns* *warn-on-reflection* *math-context*
  *print-meta* *print-length* *print-level* *compile-path*
  *command-line-args* *1 *2 *3 *e?repl-prompt?"()Lclojure/lang/IPersistentVector;??
??Default :prompt hook for repl?skip-if-eol?s??If the next character on stream s is a newline, skips it, otherwise
  leaves the stream untouched. Returns :line-start, :stream-end, or :body
  to indicate the relative location of the next character on s. The stream
  must either be an instance of LineNumberingPushbackReader or duplicate
  its behavior of both supporting .unread and collapsing all of CR, LF, and
  CRLF to a single \newline.?skip-whitespace?Skips whitespace characters on stream s. Returns :line-start, :stream-end,
  or :body to indicate the relative location of the next character on s.
  Interprets comma as whitespace and semicolon as comment to end of line.
  Does not interpret #! as comment to end of line because only one
  character of lookahead is available. The stream must either be an
  instance of LineNumberingPushbackReader or duplicate its behavior of both
  supporting .unread and collapsing all of CR, LF, and CRLF to a single
  \newline.?	repl-read?request-prompt?request-exit?	Default :read hook for repl. Reads from *in* which must either be an
  instance of LineNumberingPushbackReader or duplicate its behavior of both
  supporting .unread and collapsing all of CR, LF, and CRLF into a single
  \newline. repl-read:
    - skips whitespace, then
      - returns request-prompt on start of line, or
      - returns request-exit on end of stream, or
      - reads an object from the input stream, then
        - skips the next input character if it's end of line, then
        - returns the object.?repl-exception?	throwable?$Returns the root cause of throwables?repl-caught?e?Default :caught hook for repl?
repl-requires?iA sequence of lib specs that are applied to `require`
by default when a new command-line REPL is started.?clojure.repl?refer?source?apropos?dir?pst?find-doc?X(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lclojure/lang/IPersistentVector;??
??clojure.java.javadoc?javadoc?clojure.pprintpppprintwith-read-knownlEvaluates body with *read-eval* set to a "known" value,
   i.e. substituting true for :unknown if necessary.	reploptions
?Generic, reusable, read-eval-print loop. By default, reads from *in*,
  writes to *out*, and prints exception summaries to *err*. If you use the
  default :read hook, *in* must either be an instance of
  LineNumberingPushbackReader or duplicate its behavior of both supporting
  .unread and collapsing CR, LF, and CRLF into a single \newline. Options
  are sequential keyword-value pairs. Available options and their defaults:

     - :init, function of no arguments, initialization hook called with
       bindings for set!-able vars in place.
       default: #()

     - :need-prompt, function of no arguments, called before each
       read-eval-print except the first, the user will be prompted if it
       returns true.
       default: (if (instance? LineNumberingPushbackReader *in*)
                  #(.atLineStart *in*)
                  #(identity true))

     - :prompt, function of no arguments, prompts for more input.
       default: repl-prompt

     - :flush, function of no arguments, flushes output
       default: flush

     - :read, function of two arguments, reads from *in*:
         - returns its first argument to request a fresh prompt
           - depending on need-prompt, this may cause the repl to prompt
             before reading again
         - returns its second argument to request an exit from the repl
         - else returns the next object read from the input stream
       default: repl-read

     - :eval, function of one argument, returns the evaluation of its
       argument
       default: eval

     - :print, function of one argument, prints its argument to the output
       default: prn

     - :caught, function of one argument, a throwable, called when
       read, eval, or print throws an exception or error
       default: repl-caughtload-scriptpathString?Loads Clojure source from a file or resource given its path. Paths
  beginning with @ or @/ are considered relative to classpath.init-optprivate
Load a scripteval-optstr!>Evals expressions in str, prints each non-nil result using prn#
init-dispatch%opt'/Returns the handler associated with an init opt)
initialize+args-inits/9Common initialize routine for repl, script, and null opts1main-opt3_5main-ns7j(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lclojure/lang/IPersistentVector;?9
?:WCall the -main function from a namespace with string arguments from
  the command line.<repl-opt>RStart a repl with args and inits. Print greeting if no eval options were
  present@
script-optB__init1FRun a script from a file, resource, or standard in with args and initsEnull-optG;No repl or script opt present, just bind args and run initsIhelp-optKPrint help text for mainM
main-dispatchO1Returns the handler associated with a main optionQlegacy-replSYCalled by the clojure.lang.Repl.main stub to run a repl with args
  specified the old wayU
legacy-scriptW]Called by the clojure.lang.Script.main stub to run a script with args
  specified the old wayYUsage: java -cp clojure.jar clojure.main [init-opt*] [main-opt] [arg*]

  With no options or args, runs an interactive Read-Eval-Print Loop

  init options:
    -i, --init path     Load a file or resource
    -e, --eval string   Evaluate expressions in string; print non-nil values

  main options:
    -m, --main ns-name  Call the -main function from a namespace with args
    -r, --repl          Run a repl
    path                Run a script from a file or resource
    -                   Run a script from standard input
    -h, -?, --help      Print this help message and exit

  operation:

    - Establishes thread-local bindings for commonly set!-able vars
    - Enters the user namespace
    - Binds *command-line-args* to a seq of strings containing command line
      args that appear after any main option
    - Runs all init options in order
    - Calls a -main function or runs a repl or script if requested

  The init options may be repeated and mixed freely, but must appear before
  any main option. The appearance of any eval option before running a repl
  suppresses the usual repl greeting message: "Clojure ~(clojure-version)".

  Paths may be absolute or relative in the filesystem or relative to
  classpath. Classpath-relative paths have prefix of @ or @/[H
^D
`clojure.main__initbclassForName%(Ljava/lang/String;)Ljava/lang/Class;de
Nfjava/lang/ClasshgetClassLoader()Ljava/lang/ClassLoader;jk
ilclojure/lang/CompilernpushNSandLoader(Ljava/lang/ClassLoader;)Vpq
or
tpopThreadBindingsv
wCodeLineNumberTable!<%5GJQT^agjps|?????????????????????????????!'*039<B	yD'?
???????"?$?'?)?-?/Y?2??4???7?;??W?=Y?>?@?FW?IY?L?)?P?SY?V?)?PY?XY?Y?]?`Y?c?)?PY?eY?f?]?iY?l?)?PY?nY?o?]?rY?u?)?PY?wY?x?]?r??{?r?~Y???)?PY??Y???]??Y???)?PY??Y???]??Y???)?PY??Y???]??Y???)?PY??Y???]??Y???)?PY??Y???]??Y???)?PY??Y???]??Y???)?PY???]??Y???)?PY??Y?ö]????{????Y???)?PY??Y?̶]??Y???)?PY??Y?ն]??Y???)?PY??Y?޶]??Y???)?PY??Y??]??Y???)?PY??Y??]??Y???)?PY??Y???]??Y???)?PY?Y??]?Y??)?PY?
Y??]?Y??)?PY?Y??]?Y??)?PY?Y??]? Y?#?)?PY?%Y?&?]?)Y?,?)?PY?.Y?/?]?2Y?5?)?PY?7Y?8?]?;Y?>?)?PY?@Y?A?]?IY?D?)?PY?FY?G?]?z.#-05>S?A??	HyNBJL?R??
T?X?Z?Y\?`SYbSYd?`SYfS?j?)?n?p??Y\?`SYbSYd?`SYfS?j?p?'J?X?p?7Tr?R??I?Yt?`SY?zSY|?`SY??SY??`SY??SY??`SY?S?j?p?LT??R??S?Y??`SY?Y??X??S????SY\?`SY?SY??`SY?SY|?`SY??SY??`SY	??SY
??`SY?S?j?p?VT??R??`?Y??`SY?Y??X?Z?Y??`SY??XS?j?)?n??S????SY\?`SY?SY??`SY?SY|?`SY%??SY??`SY	??SY
??`SY?S?j?p?cT??R??i?Y??`SY?Y??X?Z?Y??`SY??XS?j?)?n??S????SY\?`SY?SY??`SY?SY|?`SY2??SY??`SY	??SY
??`SY?S?j?p?lT??R??r
?Y??`SY?Y??X??X??S????SY\?`SY?SY|?`SYA??SY??`SY??SY??`SY	?S?j?p?uTĸR??~
?Y??`SY?Y??S????SY\?`SY?SY|?`SY[??SY??`SY??SY??`SY	?S?j?p??T˸R???
?Y??`SY?Y͸X??S????SY\?`SY?SY|?`SY`??SY??`SY??SY??`SY	?S?j?p??TѸR???
?Y??`SY?Y͸X??S????SY\?`SY?SY|?`SYn??SY??`SY??SY??`SY	?S?j?p??TոR???
?Y??`SY?Y׸XٸX??S????SY\?`SY?SY|?`SY???SY??`SY??SY??`SY	?S?j?p??TݸR???
?Y??`SY?Y߸X??S????SY\?`SY?SY|?`SY???SY??`SY??SY??`SY	?S?j?p??T?R???
?Y??`SY?Y?X??S????SY\?`SY?SY|?`SY???SY??`SY??SY??`SY	?S?j?p??T?R????Y\?`SY?SY|?`SY???SY??`SY??SY??`SY?S?j?p????X?`?Y?XSY?XSY??XSY??XSY\?XSY??XS?????Z?Y|?`SY???SY??`SY??S?j?)?n????X?`?Y?XS?????Z?Y|?`SY???SY??`SY"??S?j?)?n???X?`?Y?XSY?XS?????Z?Y|?`SY???SY??`SY??S?j?)?n?????p??T?R???
?Y??`SY?Y??X??X??S????SY\?`SY
SY|?`SY???SY??`SY??SY??`SY	?S?j?p??T?R???
?Y??`SY?Y??X?X??S????SY\?`SYSY|?`SY???SY??`SY??SY??`SY	?S?j?p??T?R???
?Y??`SY?Y?X?Z?Y??`SY?XS?j?)?n??S????SY\?`SYSY|?`SY??SY??`SY??SY??`SY	?S?j?p??T?R????Y?`SY?zSY??`SY?Y?X??S????SY\?`SYSY|?`SY??SY??`SY	??SY
??`SY?S?j?p??T ?R????Y?`SY?zSY??`SY?Y"?X??S????SY\?`SY$SY|?`SY??SY??`SY	??SY
??`SY?S?j?p??T&?R????Y?`SY?zSY??`SY?Y(?X??S????SY\?`SY*SY|?`SY(??SY??`SY	??SY
??`SY?S?j?p??T,?R????Y?`SY?zSY??`SY?Y.?X0?X??S????SY\?`SY2SY|?`SY0??SY??`SY	??SY
??`SY?S?j?p??T4?R????Y?`SY?zSY??`SY?Y6?X8?X??X.?X?;0?X??S????SY\?`SY=SY|?`SY8??SY??`SY	??SY
??`SY?S?j?p??T??R???Y?`SY?zSY??`SY?Y6?X??X.?X??0?X??S????SY\?`SYASY|?`SY@??SY??`SY	??SY
??`SY?S?j?p?TC?R???	DyG
;?Y?`SY?zSY??`SY?Y?X??X.?X??0?X??S????SY\?`SYFSY|?`SYL??SY??`SY	??SY
??`SY?S?j?p?TH?R???Y?`SY?zSY??`SY?Y.?X0?X??S????SY\?`SYJSY|?`SYU??SY??`SY	??SY
??`SY?S?j?p?TL?R?? ?Y?`SY?zSY??`SY?Y6?X6?X??S????SY\?`SYNSY|?`SY[??SY??`SY	??SY
??`SY?S?j?p?#TP?R??)?Y?`SY?zSY??`SY?Y(?X??S????SY\?`SYRSY|?`SY`??SY??`SY	??SY
??`SY?S?j?p?,TT?R??2?Y?`SY?zSY??`SY?Y.?X??S????SY\?`SYVSY|?`SYn??SY??`SY	??SY
??`SY?S?j?p?5TX?R??;?Y?`SY?zSY??`SY?Y.?X??S????SY\?`SYZSY|?`SYx??SY??`SY	??SY
??`SY?S?j?p?>
?Y??`SY?Y??X.?X??S????SY\?`SY\SY|?`SY???SY??`SY??SY??`SY	?S?j?p?D?	]y4 ?_?ac?g?m?s?u?x??x??




© 2015 - 2025 Weber Informatics LLC | Privacy Policy