Skip to content

Instantly share code, notes, and snippets.

@rocketnia
Created March 28, 2011 06:46
Show Gist options
  • Save rocketnia/890090 to your computer and use it in GitHub Desktop.
Save rocketnia/890090 to your computer and use it in GitHub Desktop.
Anarki and Lathe global variables.
This is a list of global variables and global-variable-like things in
the source of Anarki (https://github.com/nex3/arc) and Lathe
(https://github.com/rocketnia/lathe), excluding functions and macros,
but re-including those which are reassigned or are designed to be
reassigned or extended during load time. It may also exclude some
global-like things which are held inside other globals (like tables)
if they're non-functions or if they're designed to be load-time
reassigned or extended. Furthermore, the list excludes most kinds of
externally established Racket/Rainbow/Jarc parameters and global
state.
<anarki>/ac.scm:
$.main-namespace
ac-literal
(extend in <anarki>/table-rw.arc, extend in <anarki>/lib/binary.arc)
ac-defined-var? (redef in <anarki>/arc.arc)
+ (extend in <anarki>/lib/statistics.arc)
- (extend in <anarki>/lib/statistics.arc)
len
(namespace-undefine-variable!, then defgeneric, in <anarki>/arc.arc,
then extend in <anarki>/lib/binary.arc)
type (extend in <anarki>/lib/binary.arc, extend in <anarki>/ns.arc)
infile (let and def, complete with warning, in <anarki>/http.arc)
coerce (extend in <anarki>/lib/binary.arc)
coerce*
sref
(extend in <anarki>/lib/ns.arc, extend in
<anarki>/lib/thread-cell.arc)
$.last-condition*
that
thatexpr
$.ar-atomic-sema
$.ar-atomic-cell
$.custodians
declarations*
cos (extend in <anarki>/lib/statistics.arc)
<anarki>/app.arc:
hpwfile*
oidfile*
adminfile*
cookfile*
cookie->user*
user->cookie*
logins*
good-logins*
bad-logins*
dc-usernames*
formwid*
bigformwid*
numwid*
formatdoc-url* (= in <anarki>/news.arc)
fail*
months*
month-names*
<anarki>/arc.arc:
current-load-file*
source-file*
source*
help*
make-br-fn
(namespace-undefine-variable! in <anarki>/load/make-br-fn.arc)
setter
walk (extend in <anarki>/lib/coro.arc)
defined-variables*
templates*
load-file-stack*
bar*
vtables*
pickles*
iso (defgeneric)
len
(namespace-undefine-variable!, then defgeneric, originally from
<anarki>/ac.scm, then extend in <anarki>/lib/binary.arc)
hooks*
savers*
<anarki>/blog.arc:
postdir*
maxid*
posts*
blogtitle*
<anarki>/dispatch.arc:
litpaths*
complexpaths*
ops*
opurl*
<anarki>/html.arc:
white
black
linkblue
orange
darkred
darkblue
opmeths*
hexreps
<anarki>/http.arc:
http-ok+
http-created+
http-found+
http-notmod+
http-bad+
http-forbidden+
http-notfound+
httpd-hds*
stop-httpd*
httpd-handler
infile (let and def, complete with warning)
<anarki>/libs.arc:
required-files*
<anarki>/news.arc:
this-site*
site-url*
parent-url*
favicon-url*
site-desc*
site-color*
border-color*
prefer-url*
newsdir*
storydir*
profdir*
votedir*
votes*
profs*
initload-users*
stories*
comments*
items*
url->story*
maxid*
initload*
stemmable-sites*
kill-log*
gravity*
timebase*
front-threshold*
nourl-factor*
lightweight-factor*
lightweights*
max-delay*
up-url*
down-url*
logo-url*
pagefns*
sand
textgray
toplabels*
welcome-url*
newsop-names*
topcolor-threshold*
caching*
perpage*
threads-perpage*
maxend*
follow-threshold*
downvote-threshold*
downvote-time*
votewid*
lowest-score*
show-avg*
noob-color*
show-threadavg*
user-changetime*
editor-changetime*
everchange*
noedit*
flag-threshold*
flag-kill-threshold*
many-flags*
legit-threshold*
new-age-threshold*
new-karma-threshold*
downvote-ratio-limit*
recent-votes*
votewindow*
biased-voter (comment says "redefined later," but no evidence of that)
submit-instructions*
title-limit*
retry*
toolong*
bothblank*
toofast*
spammage*
big-spamsites*
enforce-oversubmit*
scrubrules*
multi-tld-countries*
long-domains*
ignore-log*
banned-ips*
banned-sites*
comment-kill* (disktable, then set to nil?)
comment-ignore*
ip-ban-threshold*
poll-threshold*
fewopts*
baditemreqs*
baditem-threshold*
commentable-threshold*
displayfn*
fieldfn*
noob-comment-msg*
comment-threshold*
comment-cache*
comment-cache-timeout*
cc-window*
comments-printed*
cc-hits*
comment-caching*
reply-decay*
nleaders*
leader-threshold*
update-avg-threshold*
active-threshold*
formatdoc*
<anarki>/pprint.arc:
bodops*
oneline*
<anarki>/prompt.arc:
appdir*
repl-history*
<anarki>/srv.arc:
arcdir*
logdir*
staticdir*
quitsrv*
breaksrv*
srv-noisy*
threadlife*
requests*
requests/ip*
throttle-ips*
ignore-ips*
spurned*
req-times*
req-limit*
req-window*
dos-window*
show-abuse*
show-requests*
header*
type-header*
rdheader*
srvops*
redirector*
optimes*
opcounts*
unknown-msg*
max-age*
static-max-age*
arg
(defs in <anarki>/dispatch.arc, complete with warning; merely
defined in two places)
fns*
fnids*
timed-fnids*
fnurl*
rfnurl*
rfnurl2*
jfnurl*
dead-msg*
fnform
(mac in <anarki>/dispatch.arc, complete with warning; seemingly just
a name clash)
unique-ids*
(defop || ...) (redefined using (newsop || ...) in <anarki>/news.arc)
bgthreads*
pending-bgthreads*
<anarki>/table-rw.arc:
(extend-readtable #\{ ...)
<anarki>/lib/arcscript.arc:
as-reserved-symbol-names*
as-special-forms*
as-macro-toplevel*
as-macro-env*
as-symbol-macro-toplevel
as-symbol-macro-env*
as-special-forms*
as-local-function-names*
as-enclosing-lexicals
precedence-table
(not global, not actually extensible, but could easily be)
as-compilation-level*
<anarki>/lib/arctap.arc:
curr-test (not global, but could easily be)
<anarki>/lib/extend.arc:
extensions* (but commented out)
<anarki>/lib/lang.arc:
lang* (implicit)
lcodetag*
lang-control-port*
lang-listen-port*
lang-error-key*
lang-subprocess-code*
lang-server-code*
perl2arc*
python2arc*
lang-command*
launch-locks*
lang-launched*
connection-refused*
<anarki>/lib/math.arc:
e
pi
phi
euler-gamma
<anarki>/lib/ns.arc:
rnsify (extend)
nsify (extend)
current-rns (defvar)
current-ns (defvar)
main-ns-anchor* (define-namespace-anchor)
anon-module-prefix*
racket/bare-bones--plain-module-begin
racket/bare-bones--define
racket/bare-bones--define-customvar
racket/bare-bones--quote
racket/bare-bones--datum
racket/bare-bones--set
racket/bare-bones--app
racket/bare-bones--require
racket/bare-bones--provide
($:module racket/bare-bones ...)
rmodulify (extend)
modulify (extend)
modecule-var*
<anarki>/lib/scheme.arc
scheme-f
scheme-t
<anarki>/lib/statistics.arc:
norm (defgeneric)
<anarki>/lib/template.arc:
guillemet (implicit)
(extend-readtable #\“ ...)
(FYI, if this is poorly encoded, it's a smart left double quote.)
<anarki>/lib/trace.arc:
trace-level*
trace-indent*
traced*
<anarki>/lib/wills.arc:
will-executor*
will-table*
will-executor-thread*
<anarki>/load/declare.arc:
declare-fns*
declarations*!atstrings
declarations*!direct-calls
declarations*!explicit-flush
<anarki>/load/make-br-fn.arc:
declarations*!brfn-ignore
<anarki>/load/ppr.arc:
pprsyms*
oneline*
ifline*
indent-rules*
<lathe>/arc/dyn.arc:
my.reentrant-params*
my.param-let-uses-a-tail-call*
my.passing-secretargs*
my.secretargs*
my.secretarg-aware*
<lathe>/arc/extend.arc:
my.extends*
<lathe>/arc/failcall.arc:
my.failsecret*
my.fact-cases*
<lathe>/arc/more-module-stuff.arc:
my.onces*
<lathe>/arc/patmac.arc:
my.patmacs*
<lathe>/arc/imp/jvm.arc:
my.jarcdrop*
my.rainbowdrop*
my.jvm (sometimes nil)
<lathe>/arc/imp/sniff.arc:
my.cccraziness*
my.plt (sometimes nil)
my.jarcdrop*
my.rainbowdrop*
my.anyjvmdrop*
<lathe>/arc/modules/nspace.arc:
hackable-names*
<lathe>/arc/modules/once.arc:
once-at-a-times*
<lathe>/arc/modules/package.arc:
prepared-packages*
activated-packages*
compile-dependency-rules*
deactivates-rules*
<lathe>/arc/modules/path.arc:
load-dir*
<lathe>/arc/multival/multival.arc:
my.reducers*
my.contribs*
my.multival-cache*
<lathe>/arc/multival/order-contribs.arc:
(Here, "mu" is the namespace for <lathe>/arc/multival/multival.arc.)
my.order-contribs (mu.defmultifn-stub)
<lathe>/arc/orc/oiter.arc:
(Here, "rc" is the namespace for <lathe>/arc/orc/orc.arc.)
my.opos (rc.ontype)
my.olazyentries (rc.ontype)
my.olazykeys (rc.ontype)
my.olazyvalues (rc.ontype)
my.olazylistify (rc.ontype)
my.olen (rc.ontype)
my.olen< (rc.ontype)
my.omap (rc.ontype)
<lathe>/arc/orc/orc.arc:
(Here, "rc" is the namespace for <lathe>/arc/orc/orc.arc.)
my.indirect-inheritance*
my.oiso2 (rc.ontypes)
my.otestify (rc.ontype)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment