pygments.rb 1.1.0 → 2.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +13 -0
- data/.github/workflows/ci.yml +28 -0
- data/.github/workflows/release.yml +24 -0
- data/.gitignore +5 -5
- data/CHANGELOG.adoc +119 -0
- data/Gemfile +3 -1
- data/LICENSE +1 -1
- data/README.adoc +161 -0
- data/Rakefile +12 -19
- data/bench.rb +8 -7
- data/cache-lexers.rb +3 -2
- data/lexers +0 -0
- data/lib/pygments.rb +11 -16
- data/lib/pygments/lexer.rb +6 -4
- data/lib/pygments/mentos.py +23 -66
- data/lib/pygments/popen.rb +155 -207
- data/lib/pygments/version.rb +3 -1
- data/pygments.rb.gemspec +11 -9
- data/test/test_pygments.rb +53 -83
- data/vendor/pygments-main/{AUTHORS → Pygments-2.7.3.dist-info/AUTHORS} +23 -3
- data/vendor/pygments-main/Pygments-2.7.3.dist-info/INSTALLER +1 -0
- data/vendor/pygments-main/{LICENSE → Pygments-2.7.3.dist-info/LICENSE} +1 -1
- data/vendor/pygments-main/Pygments-2.7.3.dist-info/METADATA +49 -0
- data/vendor/pygments-main/Pygments-2.7.3.dist-info/RECORD +482 -0
- data/vendor/pygments-main/Pygments-2.7.3.dist-info/REQUESTED +0 -0
- data/vendor/pygments-main/Pygments-2.7.3.dist-info/WHEEL +5 -0
- data/vendor/pygments-main/Pygments-2.7.3.dist-info/entry_points.txt +3 -0
- data/vendor/pygments-main/Pygments-2.7.3.dist-info/top_level.txt +1 -0
- data/vendor/pygments-main/bin/pygmentize +8 -0
- data/vendor/pygments-main/pygments/__init__.py +6 -11
- data/vendor/pygments-main/pygments/__main__.py +18 -0
- data/vendor/pygments-main/pygments/cmdline.py +94 -41
- data/vendor/pygments-main/pygments/console.py +6 -9
- data/vendor/pygments-main/pygments/filter.py +4 -6
- data/vendor/pygments-main/pygments/filters/__init__.py +609 -21
- data/vendor/pygments-main/pygments/formatter.py +4 -4
- data/vendor/pygments-main/pygments/formatters/__init__.py +42 -6
- data/vendor/pygments-main/pygments/formatters/_mapping.py +1 -3
- data/vendor/pygments-main/pygments/formatters/bbcode.py +1 -1
- data/vendor/pygments-main/pygments/formatters/html.py +223 -135
- data/vendor/pygments-main/pygments/formatters/img.py +102 -38
- data/vendor/pygments-main/pygments/formatters/irc.py +39 -39
- data/vendor/pygments-main/pygments/formatters/latex.py +56 -26
- data/vendor/pygments-main/pygments/formatters/other.py +12 -8
- data/vendor/pygments-main/pygments/formatters/rtf.py +29 -29
- data/vendor/pygments-main/pygments/formatters/svg.py +38 -4
- data/vendor/pygments-main/pygments/formatters/terminal.py +25 -31
- data/vendor/pygments-main/pygments/formatters/terminal256.py +22 -12
- data/vendor/pygments-main/pygments/lexer.py +41 -39
- data/vendor/pygments-main/pygments/lexers/__init__.py +62 -15
- data/vendor/pygments-main/pygments/lexers/_asy_builtins.py +5 -5
- data/vendor/pygments-main/pygments/lexers/_cl_builtins.py +15 -15
- data/vendor/pygments-main/pygments/lexers/_cocoa_builtins.py +11 -12
- data/vendor/pygments-main/pygments/lexers/_csound_builtins.py +1717 -1338
- data/vendor/pygments-main/pygments/lexers/_lasso_builtins.py +8 -1
- data/vendor/pygments-main/pygments/lexers/_lua_builtins.py +2 -4
- data/vendor/pygments-main/pygments/lexers/_mapping.py +79 -33
- data/vendor/pygments-main/pygments/lexers/_mql_builtins.py +2 -2
- data/vendor/pygments-main/pygments/lexers/_mysql_builtins.py +1282 -0
- data/vendor/pygments-main/pygments/lexers/_openedge_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_php_builtins.py +17 -20
- data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +73 -16
- data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +2 -2
- data/vendor/pygments-main/pygments/lexers/_sourcemod_builtins.py +1 -3
- data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +151 -125
- data/vendor/pygments-main/pygments/lexers/_stata_builtins.py +6 -4
- data/vendor/pygments-main/pygments/lexers/_tsql_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/_usd_builtins.py +113 -0
- data/vendor/pygments-main/pygments/lexers/_vbscript_builtins.py +280 -0
- data/vendor/pygments-main/pygments/lexers/_vim_builtins.py +1 -1
- data/vendor/pygments-main/pygments/lexers/actionscript.py +8 -3
- data/vendor/pygments-main/pygments/lexers/agile.py +1 -1
- data/vendor/pygments-main/pygments/lexers/algebra.py +20 -1
- data/vendor/pygments-main/pygments/lexers/ambient.py +1 -1
- data/vendor/pygments-main/pygments/lexers/ampl.py +3 -3
- data/vendor/pygments-main/pygments/lexers/apl.py +15 -15
- data/vendor/pygments-main/pygments/lexers/archetype.py +3 -3
- data/vendor/pygments-main/pygments/lexers/arrow.py +117 -0
- data/vendor/pygments-main/pygments/lexers/asm.py +445 -70
- data/vendor/pygments-main/pygments/lexers/automation.py +3 -3
- data/vendor/pygments-main/pygments/lexers/bare.py +104 -0
- data/vendor/pygments-main/pygments/lexers/basic.py +166 -4
- data/vendor/pygments-main/pygments/lexers/bibtex.py +13 -9
- data/vendor/pygments-main/pygments/lexers/boa.py +102 -0
- data/vendor/pygments-main/pygments/lexers/business.py +69 -36
- data/vendor/pygments-main/pygments/lexers/c_cpp.py +137 -45
- data/vendor/pygments-main/pygments/lexers/c_like.py +68 -43
- data/vendor/pygments-main/pygments/lexers/capnproto.py +20 -21
- data/vendor/pygments-main/pygments/lexers/chapel.py +25 -14
- data/vendor/pygments-main/pygments/lexers/clean.py +135 -244
- data/vendor/pygments-main/pygments/lexers/compiled.py +1 -1
- data/vendor/pygments-main/pygments/lexers/configs.py +188 -37
- data/vendor/pygments-main/pygments/lexers/console.py +1 -1
- data/vendor/pygments-main/pygments/lexers/crystal.py +31 -23
- data/vendor/pygments-main/pygments/lexers/csound.py +288 -187
- data/vendor/pygments-main/pygments/lexers/css.py +18 -16
- data/vendor/pygments-main/pygments/lexers/d.py +10 -5
- data/vendor/pygments-main/pygments/lexers/dalvik.py +1 -1
- data/vendor/pygments-main/pygments/lexers/data.py +240 -97
- data/vendor/pygments-main/pygments/lexers/devicetree.py +109 -0
- data/vendor/pygments-main/pygments/lexers/diff.py +4 -4
- data/vendor/pygments-main/pygments/lexers/dotnet.py +40 -24
- data/vendor/pygments-main/pygments/lexers/dsls.py +147 -65
- data/vendor/pygments-main/pygments/lexers/dylan.py +16 -18
- data/vendor/pygments-main/pygments/lexers/ecl.py +16 -2
- data/vendor/pygments-main/pygments/lexers/eiffel.py +1 -1
- data/vendor/pygments-main/pygments/lexers/elm.py +5 -5
- data/vendor/pygments-main/pygments/lexers/email.py +151 -0
- data/vendor/pygments-main/pygments/lexers/erlang.py +29 -32
- data/vendor/pygments-main/pygments/lexers/esoteric.py +54 -25
- data/vendor/pygments-main/pygments/lexers/ezhil.py +24 -15
- data/vendor/pygments-main/pygments/lexers/factor.py +1 -1
- data/vendor/pygments-main/pygments/lexers/fantom.py +1 -1
- data/vendor/pygments-main/pygments/lexers/felix.py +1 -1
- data/vendor/pygments-main/pygments/lexers/floscript.py +83 -0
- data/vendor/pygments-main/pygments/lexers/forth.py +41 -40
- data/vendor/pygments-main/pygments/lexers/fortran.py +5 -4
- data/vendor/pygments-main/pygments/lexers/foxpro.py +2 -2
- data/vendor/pygments-main/pygments/lexers/freefem.py +898 -0
- data/vendor/pygments-main/pygments/lexers/functional.py +1 -1
- data/vendor/pygments-main/pygments/lexers/gdscript.py +346 -0
- data/vendor/pygments-main/pygments/lexers/go.py +1 -1
- data/vendor/pygments-main/pygments/lexers/grammar_notation.py +63 -6
- data/vendor/pygments-main/pygments/lexers/graph.py +14 -9
- data/vendor/pygments-main/pygments/lexers/graphics.py +272 -25
- data/vendor/pygments-main/pygments/lexers/haskell.py +52 -22
- data/vendor/pygments-main/pygments/lexers/haxe.py +6 -6
- data/vendor/pygments-main/pygments/lexers/hdl.py +176 -86
- data/vendor/pygments-main/pygments/lexers/hexdump.py +18 -12
- data/vendor/pygments-main/pygments/lexers/html.py +31 -19
- data/vendor/pygments-main/pygments/lexers/idl.py +20 -9
- data/vendor/pygments-main/pygments/lexers/igor.py +244 -112
- data/vendor/pygments-main/pygments/lexers/inferno.py +2 -2
- data/vendor/pygments-main/pygments/lexers/installers.py +1 -1
- data/vendor/pygments-main/pygments/lexers/int_fiction.py +40 -15
- data/vendor/pygments-main/pygments/lexers/iolang.py +2 -2
- data/vendor/pygments-main/pygments/lexers/j.py +3 -3
- data/vendor/pygments-main/pygments/lexers/javascript.py +100 -66
- data/vendor/pygments-main/pygments/lexers/julia.py +46 -48
- data/vendor/pygments-main/pygments/lexers/jvm.py +265 -165
- data/vendor/pygments-main/pygments/lexers/lisp.py +882 -804
- data/vendor/pygments-main/pygments/lexers/make.py +10 -6
- data/vendor/pygments-main/pygments/lexers/markup.py +213 -43
- data/vendor/pygments-main/pygments/lexers/math.py +1 -1
- data/vendor/pygments-main/pygments/lexers/matlab.py +98 -41
- data/vendor/pygments-main/pygments/lexers/mime.py +226 -0
- data/vendor/pygments-main/pygments/lexers/ml.py +198 -9
- data/vendor/pygments-main/pygments/lexers/modeling.py +26 -18
- data/vendor/pygments-main/pygments/lexers/modula2.py +25 -6
- data/vendor/pygments-main/pygments/lexers/monte.py +4 -3
- data/vendor/pygments-main/pygments/lexers/mosel.py +448 -0
- data/vendor/pygments-main/pygments/lexers/ncl.py +85 -244
- data/vendor/pygments-main/pygments/lexers/nimrod.py +4 -4
- data/vendor/pygments-main/pygments/lexers/nit.py +1 -1
- data/vendor/pygments-main/pygments/lexers/nix.py +1 -1
- data/vendor/pygments-main/pygments/lexers/oberon.py +17 -1
- data/vendor/pygments-main/pygments/lexers/objective.py +16 -16
- data/vendor/pygments-main/pygments/lexers/ooc.py +1 -1
- data/vendor/pygments-main/pygments/lexers/other.py +1 -1
- data/vendor/pygments-main/pygments/lexers/parasail.py +1 -1
- data/vendor/pygments-main/pygments/lexers/parsers.py +23 -58
- data/vendor/pygments-main/pygments/lexers/pascal.py +23 -23
- data/vendor/pygments-main/pygments/lexers/pawn.py +30 -24
- data/vendor/pygments-main/pygments/lexers/perl.py +276 -160
- data/vendor/pygments-main/pygments/lexers/php.py +64 -10
- data/vendor/pygments-main/pygments/lexers/pointless.py +71 -0
- data/vendor/pygments-main/pygments/lexers/pony.py +94 -0
- data/vendor/pygments-main/pygments/lexers/praat.py +38 -30
- data/vendor/pygments-main/pygments/lexers/prolog.py +36 -36
- data/vendor/pygments-main/pygments/lexers/promql.py +183 -0
- data/vendor/pygments-main/pygments/lexers/python.py +439 -226
- data/vendor/pygments-main/pygments/lexers/qvt.py +6 -6
- data/vendor/pygments-main/pygments/lexers/r.py +13 -275
- data/vendor/pygments-main/pygments/lexers/rdf.py +232 -39
- data/vendor/pygments-main/pygments/lexers/rebol.py +8 -8
- data/vendor/pygments-main/pygments/lexers/resource.py +2 -2
- data/vendor/pygments-main/pygments/lexers/ride.py +139 -0
- data/vendor/pygments-main/pygments/lexers/rnc.py +1 -1
- data/vendor/pygments-main/pygments/lexers/roboconf.py +1 -1
- data/vendor/pygments-main/pygments/lexers/robotframework.py +23 -31
- data/vendor/pygments-main/pygments/lexers/ruby.py +22 -24
- data/vendor/pygments-main/pygments/lexers/rust.py +86 -71
- data/vendor/pygments-main/pygments/lexers/sas.py +7 -7
- data/vendor/pygments-main/pygments/lexers/scdoc.py +83 -0
- data/vendor/pygments-main/pygments/lexers/scripting.py +75 -13
- data/vendor/pygments-main/pygments/lexers/sgf.py +61 -0
- data/vendor/pygments-main/pygments/lexers/shell.py +175 -51
- data/vendor/pygments-main/pygments/lexers/sieve.py +69 -0
- data/vendor/pygments-main/pygments/lexers/slash.py +185 -0
- data/vendor/pygments-main/pygments/lexers/smalltalk.py +2 -2
- data/vendor/pygments-main/pygments/lexers/smv.py +30 -26
- data/vendor/pygments-main/pygments/lexers/snobol.py +1 -1
- data/vendor/pygments-main/pygments/lexers/solidity.py +92 -0
- data/vendor/pygments-main/pygments/lexers/special.py +5 -3
- data/vendor/pygments-main/pygments/lexers/sql.py +333 -177
- data/vendor/pygments-main/pygments/lexers/stata.py +107 -42
- data/vendor/pygments-main/pygments/lexers/supercollider.py +6 -1
- data/vendor/pygments-main/pygments/lexers/tcl.py +1 -1
- data/vendor/pygments-main/pygments/lexers/templates.py +144 -132
- data/vendor/pygments-main/pygments/lexers/teraterm.py +335 -0
- data/vendor/pygments-main/pygments/lexers/testing.py +6 -6
- data/vendor/pygments-main/pygments/lexers/text.py +2 -1
- data/vendor/pygments-main/pygments/lexers/textedit.py +4 -4
- data/vendor/pygments-main/pygments/lexers/textfmts.py +146 -13
- data/vendor/pygments-main/pygments/lexers/theorem.py +69 -53
- data/vendor/pygments-main/pygments/lexers/tnt.py +263 -0
- data/vendor/pygments-main/pygments/lexers/trafficscript.py +1 -1
- data/vendor/pygments-main/pygments/lexers/typoscript.py +8 -14
- data/vendor/pygments-main/pygments/lexers/unicon.py +412 -0
- data/vendor/pygments-main/pygments/lexers/urbi.py +14 -1
- data/vendor/pygments-main/pygments/lexers/usd.py +90 -0
- data/vendor/pygments-main/pygments/lexers/varnish.py +5 -5
- data/vendor/pygments-main/pygments/lexers/verification.py +15 -12
- data/vendor/pygments-main/pygments/lexers/web.py +1 -1
- data/vendor/pygments-main/pygments/lexers/webidl.py +299 -0
- data/vendor/pygments-main/pygments/lexers/webmisc.py +50 -38
- data/vendor/pygments-main/pygments/lexers/whiley.py +11 -12
- data/vendor/pygments-main/pygments/lexers/x10.py +1 -1
- data/vendor/pygments-main/pygments/lexers/xorg.py +37 -0
- data/vendor/pygments-main/pygments/lexers/yang.py +104 -0
- data/vendor/pygments-main/pygments/lexers/zig.py +124 -0
- data/vendor/pygments-main/pygments/modeline.py +6 -5
- data/vendor/pygments-main/pygments/plugin.py +14 -18
- data/vendor/pygments-main/pygments/regexopt.py +1 -1
- data/vendor/pygments-main/pygments/scanner.py +2 -2
- data/vendor/pygments-main/pygments/sphinxext.py +2 -4
- data/vendor/pygments-main/pygments/style.py +61 -24
- data/vendor/pygments-main/pygments/styles/__init__.py +13 -5
- data/vendor/pygments-main/pygments/styles/abap.py +29 -0
- data/vendor/pygments-main/pygments/styles/algol.py +1 -1
- data/vendor/pygments-main/pygments/styles/algol_nu.py +1 -1
- data/vendor/pygments-main/pygments/styles/arduino.py +2 -2
- data/vendor/pygments-main/pygments/styles/autumn.py +1 -1
- data/vendor/pygments-main/pygments/styles/borland.py +1 -1
- data/vendor/pygments-main/pygments/styles/bw.py +1 -1
- data/vendor/pygments-main/pygments/styles/colorful.py +1 -1
- data/vendor/pygments-main/pygments/styles/default.py +1 -1
- data/vendor/pygments-main/pygments/styles/emacs.py +1 -1
- data/vendor/pygments-main/pygments/styles/friendly.py +1 -1
- data/vendor/pygments-main/pygments/styles/fruity.py +1 -1
- data/vendor/pygments-main/pygments/styles/igor.py +1 -1
- data/vendor/pygments-main/pygments/styles/inkpot.py +67 -0
- data/vendor/pygments-main/pygments/styles/lovelace.py +1 -1
- data/vendor/pygments-main/pygments/styles/manni.py +1 -1
- data/vendor/pygments-main/pygments/styles/monokai.py +4 -3
- data/vendor/pygments-main/pygments/styles/murphy.py +1 -1
- data/vendor/pygments-main/pygments/styles/native.py +1 -1
- data/vendor/pygments-main/pygments/styles/paraiso_dark.py +1 -1
- data/vendor/pygments-main/pygments/styles/paraiso_light.py +1 -1
- data/vendor/pygments-main/pygments/styles/pastie.py +1 -1
- data/vendor/pygments-main/pygments/styles/perldoc.py +1 -1
- data/vendor/pygments-main/pygments/styles/rainbow_dash.py +89 -0
- data/vendor/pygments-main/pygments/styles/rrt.py +1 -1
- data/vendor/pygments-main/pygments/styles/sas.py +3 -0
- data/vendor/pygments-main/pygments/styles/solarized.py +134 -0
- data/vendor/pygments-main/pygments/styles/stata_dark.py +41 -0
- data/vendor/pygments-main/pygments/styles/stata_light.py +39 -0
- data/vendor/pygments-main/pygments/styles/tango.py +1 -1
- data/vendor/pygments-main/pygments/styles/trac.py +1 -1
- data/vendor/pygments-main/pygments/styles/vim.py +1 -1
- data/vendor/pygments-main/pygments/styles/vs.py +1 -1
- data/vendor/pygments-main/pygments/styles/xcode.py +1 -1
- data/vendor/pygments-main/pygments/token.py +1 -1
- data/vendor/pygments-main/pygments/unistring.py +47 -108
- data/vendor/pygments-main/pygments/util.py +19 -95
- metadata +72 -137
- data/CHANGELOG.md +0 -89
- data/README.md +0 -121
- data/circle.yml +0 -20
- data/test/test_data.py +0 -514
- data/test/test_data_generated +0 -2582
- data/vendor/custom_lexers/github.py +0 -565
- data/vendor/pygments-main/CHANGES +0 -1163
- data/vendor/pygments-main/MANIFEST.in +0 -6
- data/vendor/pygments-main/Makefile +0 -65
- data/vendor/pygments-main/README.rst +0 -39
- data/vendor/pygments-main/REVISION +0 -1
- data/vendor/pygments-main/TODO +0 -12
- data/vendor/pygments-main/doc/Makefile +0 -153
- data/vendor/pygments-main/doc/_static/favicon.ico +0 -0
- data/vendor/pygments-main/doc/_static/logo_new.png +0 -0
- data/vendor/pygments-main/doc/_static/logo_only.png +0 -0
- data/vendor/pygments-main/doc/_templates/docssidebar.html +0 -3
- data/vendor/pygments-main/doc/_templates/indexsidebar.html +0 -25
- data/vendor/pygments-main/doc/_themes/pygments14/layout.html +0 -98
- data/vendor/pygments-main/doc/_themes/pygments14/static/bodybg.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/docbg.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/listitem.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/logo.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/pocoo.png +0 -0
- data/vendor/pygments-main/doc/_themes/pygments14/static/pygments14.css_t +0 -401
- data/vendor/pygments-main/doc/_themes/pygments14/theme.conf +0 -15
- data/vendor/pygments-main/doc/conf.py +0 -241
- data/vendor/pygments-main/doc/docs/api.rst +0 -331
- data/vendor/pygments-main/doc/docs/authors.rst +0 -4
- data/vendor/pygments-main/doc/docs/changelog.rst +0 -1
- data/vendor/pygments-main/doc/docs/cmdline.rst +0 -149
- data/vendor/pygments-main/doc/docs/filterdevelopment.rst +0 -71
- data/vendor/pygments-main/doc/docs/filters.rst +0 -41
- data/vendor/pygments-main/doc/docs/formatterdevelopment.rst +0 -169
- data/vendor/pygments-main/doc/docs/formatters.rst +0 -48
- data/vendor/pygments-main/doc/docs/index.rst +0 -66
- data/vendor/pygments-main/doc/docs/integrate.rst +0 -40
- data/vendor/pygments-main/doc/docs/java.rst +0 -70
- data/vendor/pygments-main/doc/docs/lexerdevelopment.rst +0 -689
- data/vendor/pygments-main/doc/docs/lexers.rst +0 -69
- data/vendor/pygments-main/doc/docs/moinmoin.rst +0 -39
- data/vendor/pygments-main/doc/docs/plugins.rst +0 -93
- data/vendor/pygments-main/doc/docs/quickstart.rst +0 -205
- data/vendor/pygments-main/doc/docs/rstdirective.rst +0 -22
- data/vendor/pygments-main/doc/docs/styles.rst +0 -201
- data/vendor/pygments-main/doc/docs/tokens.rst +0 -372
- data/vendor/pygments-main/doc/docs/unicode.rst +0 -58
- data/vendor/pygments-main/doc/download.rst +0 -41
- data/vendor/pygments-main/doc/faq.rst +0 -139
- data/vendor/pygments-main/doc/index.rst +0 -54
- data/vendor/pygments-main/doc/languages.rst +0 -154
- data/vendor/pygments-main/doc/make.bat +0 -190
- data/vendor/pygments-main/doc/pygmentize.1 +0 -94
- data/vendor/pygments-main/external/autopygmentize +0 -84
- data/vendor/pygments-main/external/lasso-builtins-generator-9.lasso +0 -162
- data/vendor/pygments-main/external/markdown-processor.py +0 -67
- data/vendor/pygments-main/external/moin-parser.py +0 -112
- data/vendor/pygments-main/external/pygments.bashcomp +0 -38
- data/vendor/pygments-main/external/rst-directive.py +0 -82
- data/vendor/pygments-main/pygmentize +0 -8
- data/vendor/pygments-main/pygments/lexers/github.py +0 -565
- data/vendor/pygments-main/pygments/styles/stata.py +0 -37
- data/vendor/pygments-main/requirements.txt +0 -5
- data/vendor/pygments-main/scripts/check_sources.py +0 -211
- data/vendor/pygments-main/scripts/debug_lexer.py +0 -246
- data/vendor/pygments-main/scripts/detect_missing_analyse_text.py +0 -33
- data/vendor/pygments-main/scripts/epydoc.css +0 -280
- data/vendor/pygments-main/scripts/find_error.py +0 -1
- data/vendor/pygments-main/scripts/get_vimkw.py +0 -74
- data/vendor/pygments-main/scripts/pylintrc +0 -301
- data/vendor/pygments-main/scripts/vim2pygments.py +0 -935
- data/vendor/pygments-main/setup.cfg +0 -10
- data/vendor/pygments-main/setup.py +0 -77
- data/vendor/pygments-main/tox.ini +0 -7
- data/vendor/simplejson/.gitignore +0 -10
- data/vendor/simplejson/.travis.yml +0 -5
- data/vendor/simplejson/CHANGES.txt +0 -291
- data/vendor/simplejson/LICENSE.txt +0 -19
- data/vendor/simplejson/MANIFEST.in +0 -5
- data/vendor/simplejson/README.rst +0 -19
- data/vendor/simplejson/conf.py +0 -179
- data/vendor/simplejson/index.rst +0 -628
- data/vendor/simplejson/scripts/make_docs.py +0 -18
- data/vendor/simplejson/setup.py +0 -104
- data/vendor/simplejson/simplejson/__init__.py +0 -510
- data/vendor/simplejson/simplejson/_speedups.c +0 -2745
- data/vendor/simplejson/simplejson/decoder.py +0 -425
- data/vendor/simplejson/simplejson/encoder.py +0 -567
- data/vendor/simplejson/simplejson/ordered_dict.py +0 -119
- data/vendor/simplejson/simplejson/scanner.py +0 -77
- data/vendor/simplejson/simplejson/tests/__init__.py +0 -67
- data/vendor/simplejson/simplejson/tests/test_bigint_as_string.py +0 -55
- data/vendor/simplejson/simplejson/tests/test_check_circular.py +0 -30
- data/vendor/simplejson/simplejson/tests/test_decimal.py +0 -66
- data/vendor/simplejson/simplejson/tests/test_decode.py +0 -83
- data/vendor/simplejson/simplejson/tests/test_default.py +0 -9
- data/vendor/simplejson/simplejson/tests/test_dump.py +0 -67
- data/vendor/simplejson/simplejson/tests/test_encode_basestring_ascii.py +0 -46
- data/vendor/simplejson/simplejson/tests/test_encode_for_html.py +0 -32
- data/vendor/simplejson/simplejson/tests/test_errors.py +0 -34
- data/vendor/simplejson/simplejson/tests/test_fail.py +0 -91
- data/vendor/simplejson/simplejson/tests/test_float.py +0 -19
- data/vendor/simplejson/simplejson/tests/test_indent.py +0 -86
- data/vendor/simplejson/simplejson/tests/test_item_sort_key.py +0 -20
- data/vendor/simplejson/simplejson/tests/test_namedtuple.py +0 -121
- data/vendor/simplejson/simplejson/tests/test_pass1.py +0 -76
- data/vendor/simplejson/simplejson/tests/test_pass2.py +0 -14
- data/vendor/simplejson/simplejson/tests/test_pass3.py +0 -20
- data/vendor/simplejson/simplejson/tests/test_recursion.py +0 -67
- data/vendor/simplejson/simplejson/tests/test_scanstring.py +0 -117
- data/vendor/simplejson/simplejson/tests/test_separators.py +0 -42
- data/vendor/simplejson/simplejson/tests/test_speedups.py +0 -20
- data/vendor/simplejson/simplejson/tests/test_tuple.py +0 -49
- data/vendor/simplejson/simplejson/tests/test_unicode.py +0 -109
- data/vendor/simplejson/simplejson/tool.py +0 -39
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Lexers for Lispy languages.
|
7
7
|
|
8
|
-
:copyright: Copyright 2006-
|
8
|
+
:copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS.
|
9
9
|
:license: BSD, see LICENSE for details.
|
10
10
|
"""
|
11
11
|
|
@@ -19,7 +19,7 @@ from pygments.lexers.python import PythonLexer
|
|
19
19
|
|
20
20
|
__all__ = ['SchemeLexer', 'CommonLispLexer', 'HyLexer', 'RacketLexer',
|
21
21
|
'NewLispLexer', 'EmacsLispLexer', 'ShenLexer', 'CPSALexer',
|
22
|
-
'XtlangLexer']
|
22
|
+
'XtlangLexer', 'FennelLexer']
|
23
23
|
|
24
24
|
|
25
25
|
class SchemeLexer(RegexLexer):
|
@@ -139,7 +139,7 @@ class SchemeLexer(RegexLexer):
|
|
139
139
|
(r"(?<=#\()" + valid_name, Name.Variable),
|
140
140
|
|
141
141
|
# highlight the builtins
|
142
|
-
("(?<=\()(%s)" % '|'.join(re.escape(entry) + ' ' for entry in builtins),
|
142
|
+
(r"(?<=\()(%s)" % '|'.join(re.escape(entry) + ' ' for entry in builtins),
|
143
143
|
Name.Builtin),
|
144
144
|
|
145
145
|
# the remaining functions
|
@@ -321,7 +321,7 @@ class CommonLispLexer(RegexLexer):
|
|
321
321
|
(r'#\d+#', Operator),
|
322
322
|
|
323
323
|
# read-time comment
|
324
|
-
(r'#+nil' + terminated + '\s*\(', Comment.Preproc, 'commented-form'),
|
324
|
+
(r'#+nil' + terminated + r'\s*\(', Comment.Preproc, 'commented-form'),
|
325
325
|
|
326
326
|
# read-time conditional
|
327
327
|
(r'#[+-]', Operator),
|
@@ -333,7 +333,7 @@ class CommonLispLexer(RegexLexer):
|
|
333
333
|
(r'(t|nil)' + terminated, Name.Constant),
|
334
334
|
|
335
335
|
# functions and variables
|
336
|
-
(r'\*' + symbol + '\*', Name.Variable.Global),
|
336
|
+
(r'\*' + symbol + r'\*', Name.Variable.Global),
|
337
337
|
(symbol, Name.Variable),
|
338
338
|
|
339
339
|
# parentheses
|
@@ -382,7 +382,7 @@ class HyLexer(RegexLexer):
|
|
382
382
|
# valid names for identifiers
|
383
383
|
# well, names can only not consist fully of numbers
|
384
384
|
# but this should be good enough for now
|
385
|
-
valid_name = r'(?!#)[\w
|
385
|
+
valid_name = r'(?!#)[\w!$%*+<=>?/.#:-]+'
|
386
386
|
|
387
387
|
def _multi_escape(entries):
|
388
388
|
return words(entries, suffix=' ')
|
@@ -471,785 +471,785 @@ class RacketLexer(RegexLexer):
|
|
471
471
|
|
472
472
|
# Generated by example.rkt
|
473
473
|
_keywords = (
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
474
|
+
'#%app', '#%datum', '#%declare', '#%expression', '#%module-begin',
|
475
|
+
'#%plain-app', '#%plain-lambda', '#%plain-module-begin',
|
476
|
+
'#%printing-module-begin', '#%provide', '#%require',
|
477
|
+
'#%stratified-body', '#%top', '#%top-interaction',
|
478
|
+
'#%variable-reference', '->', '->*', '->*m', '->d', '->dm', '->i',
|
479
|
+
'->m', '...', ':do-in', '==', '=>', '_', 'absent', 'abstract',
|
480
|
+
'all-defined-out', 'all-from-out', 'and', 'any', 'augment', 'augment*',
|
481
|
+
'augment-final', 'augment-final*', 'augride', 'augride*', 'begin',
|
482
|
+
'begin-for-syntax', 'begin0', 'case', 'case->', 'case->m',
|
483
|
+
'case-lambda', 'class', 'class*', 'class-field-accessor',
|
484
|
+
'class-field-mutator', 'class/c', 'class/derived', 'combine-in',
|
485
|
+
'combine-out', 'command-line', 'compound-unit', 'compound-unit/infer',
|
486
|
+
'cond', 'cons/dc', 'contract', 'contract-out', 'contract-struct',
|
487
|
+
'contracted', 'define', 'define-compound-unit',
|
488
|
+
'define-compound-unit/infer', 'define-contract-struct',
|
489
|
+
'define-custom-hash-types', 'define-custom-set-types',
|
490
|
+
'define-for-syntax', 'define-local-member-name', 'define-logger',
|
491
|
+
'define-match-expander', 'define-member-name',
|
492
|
+
'define-module-boundary-contract', 'define-namespace-anchor',
|
493
|
+
'define-opt/c', 'define-sequence-syntax', 'define-serializable-class',
|
494
|
+
'define-serializable-class*', 'define-signature',
|
495
|
+
'define-signature-form', 'define-struct', 'define-struct/contract',
|
496
|
+
'define-struct/derived', 'define-syntax', 'define-syntax-rule',
|
497
|
+
'define-syntaxes', 'define-unit', 'define-unit-binding',
|
498
|
+
'define-unit-from-context', 'define-unit/contract',
|
499
|
+
'define-unit/new-import-export', 'define-unit/s', 'define-values',
|
500
|
+
'define-values-for-export', 'define-values-for-syntax',
|
501
|
+
'define-values/invoke-unit', 'define-values/invoke-unit/infer',
|
502
|
+
'define/augment', 'define/augment-final', 'define/augride',
|
503
|
+
'define/contract', 'define/final-prop', 'define/match',
|
504
|
+
'define/overment', 'define/override', 'define/override-final',
|
505
|
+
'define/private', 'define/public', 'define/public-final',
|
506
|
+
'define/pubment', 'define/subexpression-pos-prop',
|
507
|
+
'define/subexpression-pos-prop/name', 'delay', 'delay/idle',
|
508
|
+
'delay/name', 'delay/strict', 'delay/sync', 'delay/thread', 'do',
|
509
|
+
'else', 'except', 'except-in', 'except-out', 'export', 'extends',
|
510
|
+
'failure-cont', 'false', 'false/c', 'field', 'field-bound?', 'file',
|
511
|
+
'flat-murec-contract', 'flat-rec-contract', 'for', 'for*', 'for*/and',
|
512
|
+
'for*/async', 'for*/first', 'for*/fold', 'for*/fold/derived',
|
513
|
+
'for*/hash', 'for*/hasheq', 'for*/hasheqv', 'for*/last', 'for*/list',
|
514
|
+
'for*/lists', 'for*/mutable-set', 'for*/mutable-seteq',
|
515
|
+
'for*/mutable-seteqv', 'for*/or', 'for*/product', 'for*/set',
|
516
|
+
'for*/seteq', 'for*/seteqv', 'for*/stream', 'for*/sum', 'for*/vector',
|
517
|
+
'for*/weak-set', 'for*/weak-seteq', 'for*/weak-seteqv', 'for-label',
|
518
|
+
'for-meta', 'for-syntax', 'for-template', 'for/and', 'for/async',
|
519
|
+
'for/first', 'for/fold', 'for/fold/derived', 'for/hash', 'for/hasheq',
|
520
|
+
'for/hasheqv', 'for/last', 'for/list', 'for/lists', 'for/mutable-set',
|
521
|
+
'for/mutable-seteq', 'for/mutable-seteqv', 'for/or', 'for/product',
|
522
|
+
'for/set', 'for/seteq', 'for/seteqv', 'for/stream', 'for/sum',
|
523
|
+
'for/vector', 'for/weak-set', 'for/weak-seteq', 'for/weak-seteqv',
|
524
|
+
'gen:custom-write', 'gen:dict', 'gen:equal+hash', 'gen:set',
|
525
|
+
'gen:stream', 'generic', 'get-field', 'hash/dc', 'if', 'implies',
|
526
|
+
'import', 'include', 'include-at/relative-to',
|
527
|
+
'include-at/relative-to/reader', 'include/reader', 'inherit',
|
528
|
+
'inherit-field', 'inherit/inner', 'inherit/super', 'init',
|
529
|
+
'init-depend', 'init-field', 'init-rest', 'inner', 'inspect',
|
530
|
+
'instantiate', 'interface', 'interface*', 'invariant-assertion',
|
531
|
+
'invoke-unit', 'invoke-unit/infer', 'lambda', 'lazy', 'let', 'let*',
|
532
|
+
'let*-values', 'let-syntax', 'let-syntaxes', 'let-values', 'let/cc',
|
533
|
+
'let/ec', 'letrec', 'letrec-syntax', 'letrec-syntaxes',
|
534
|
+
'letrec-syntaxes+values', 'letrec-values', 'lib', 'link', 'local',
|
535
|
+
'local-require', 'log-debug', 'log-error', 'log-fatal', 'log-info',
|
536
|
+
'log-warning', 'match', 'match*', 'match*/derived', 'match-define',
|
537
|
+
'match-define-values', 'match-lambda', 'match-lambda*',
|
538
|
+
'match-lambda**', 'match-let', 'match-let*', 'match-let*-values',
|
539
|
+
'match-let-values', 'match-letrec', 'match-letrec-values',
|
540
|
+
'match/derived', 'match/values', 'member-name-key', 'mixin', 'module',
|
541
|
+
'module*', 'module+', 'nand', 'new', 'nor', 'object-contract',
|
542
|
+
'object/c', 'only', 'only-in', 'only-meta-in', 'open', 'opt/c', 'or',
|
543
|
+
'overment', 'overment*', 'override', 'override*', 'override-final',
|
544
|
+
'override-final*', 'parameterize', 'parameterize*',
|
545
|
+
'parameterize-break', 'parametric->/c', 'place', 'place*',
|
546
|
+
'place/context', 'planet', 'prefix', 'prefix-in', 'prefix-out',
|
547
|
+
'private', 'private*', 'prompt-tag/c', 'protect-out', 'provide',
|
548
|
+
'provide-signature-elements', 'provide/contract', 'public', 'public*',
|
549
|
+
'public-final', 'public-final*', 'pubment', 'pubment*', 'quasiquote',
|
550
|
+
'quasisyntax', 'quasisyntax/loc', 'quote', 'quote-syntax',
|
551
|
+
'quote-syntax/prune', 'recontract-out', 'recursive-contract',
|
552
|
+
'relative-in', 'rename', 'rename-in', 'rename-inner', 'rename-out',
|
553
|
+
'rename-super', 'require', 'send', 'send*', 'send+', 'send-generic',
|
554
|
+
'send/apply', 'send/keyword-apply', 'set!', 'set!-values',
|
555
|
+
'set-field!', 'shared', 'stream', 'stream*', 'stream-cons', 'struct',
|
556
|
+
'struct*', 'struct-copy', 'struct-field-index', 'struct-out',
|
557
|
+
'struct/c', 'struct/ctc', 'struct/dc', 'submod', 'super',
|
558
|
+
'super-instantiate', 'super-make-object', 'super-new', 'syntax',
|
559
|
+
'syntax-case', 'syntax-case*', 'syntax-id-rules', 'syntax-rules',
|
560
|
+
'syntax/loc', 'tag', 'this', 'this%', 'thunk', 'thunk*', 'time',
|
561
|
+
'unconstrained-domain->', 'unit', 'unit-from-context', 'unit/c',
|
562
|
+
'unit/new-import-export', 'unit/s', 'unless', 'unquote',
|
563
|
+
'unquote-splicing', 'unsyntax', 'unsyntax-splicing', 'values/drop',
|
564
|
+
'when', 'with-continuation-mark', 'with-contract',
|
565
|
+
'with-contract-continuation-mark', 'with-handlers', 'with-handlers*',
|
566
|
+
'with-method', 'with-syntax', 'λ'
|
567
567
|
)
|
568
568
|
|
569
569
|
# Generated by example.rkt
|
570
570
|
_builtins = (
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
571
|
+
'*', '*list/c', '+', '-', '/', '<', '</c', '<=', '<=/c', '=', '=/c',
|
572
|
+
'>', '>/c', '>=', '>=/c', 'abort-current-continuation', 'abs',
|
573
|
+
'absolute-path?', 'acos', 'add-between', 'add1', 'alarm-evt',
|
574
|
+
'always-evt', 'and/c', 'andmap', 'angle', 'any/c', 'append', 'append*',
|
575
|
+
'append-map', 'apply', 'argmax', 'argmin', 'arithmetic-shift',
|
576
|
+
'arity-at-least', 'arity-at-least-value', 'arity-at-least?',
|
577
|
+
'arity-checking-wrapper', 'arity-includes?', 'arity=?',
|
578
|
+
'arrow-contract-info', 'arrow-contract-info-accepts-arglist',
|
579
|
+
'arrow-contract-info-chaperone-procedure',
|
580
|
+
'arrow-contract-info-check-first-order', 'arrow-contract-info?',
|
581
|
+
'asin', 'assf', 'assoc', 'assq', 'assv', 'atan',
|
582
|
+
'bad-number-of-results', 'banner', 'base->-doms/c', 'base->-rngs/c',
|
583
|
+
'base->?', 'between/c', 'bitwise-and', 'bitwise-bit-field',
|
584
|
+
'bitwise-bit-set?', 'bitwise-ior', 'bitwise-not', 'bitwise-xor',
|
585
|
+
'blame-add-car-context', 'blame-add-cdr-context', 'blame-add-context',
|
586
|
+
'blame-add-missing-party', 'blame-add-nth-arg-context',
|
587
|
+
'blame-add-range-context', 'blame-add-unknown-context',
|
588
|
+
'blame-context', 'blame-contract', 'blame-fmt->-string',
|
589
|
+
'blame-missing-party?', 'blame-negative', 'blame-original?',
|
590
|
+
'blame-positive', 'blame-replace-negative', 'blame-source',
|
591
|
+
'blame-swap', 'blame-swapped?', 'blame-update', 'blame-value',
|
592
|
+
'blame?', 'boolean=?', 'boolean?', 'bound-identifier=?', 'box',
|
593
|
+
'box-cas!', 'box-immutable', 'box-immutable/c', 'box/c', 'box?',
|
594
|
+
'break-enabled', 'break-parameterization?', 'break-thread',
|
595
|
+
'build-chaperone-contract-property', 'build-compound-type-name',
|
596
|
+
'build-contract-property', 'build-flat-contract-property',
|
597
|
+
'build-list', 'build-path', 'build-path/convention-type',
|
598
|
+
'build-string', 'build-vector', 'byte-pregexp', 'byte-pregexp?',
|
599
|
+
'byte-ready?', 'byte-regexp', 'byte-regexp?', 'byte?', 'bytes',
|
600
|
+
'bytes->immutable-bytes', 'bytes->list', 'bytes->path',
|
601
|
+
'bytes->path-element', 'bytes->string/latin-1', 'bytes->string/locale',
|
602
|
+
'bytes->string/utf-8', 'bytes-append', 'bytes-append*',
|
603
|
+
'bytes-close-converter', 'bytes-convert', 'bytes-convert-end',
|
604
|
+
'bytes-converter?', 'bytes-copy', 'bytes-copy!',
|
605
|
+
'bytes-environment-variable-name?', 'bytes-fill!', 'bytes-join',
|
606
|
+
'bytes-length', 'bytes-no-nuls?', 'bytes-open-converter', 'bytes-ref',
|
607
|
+
'bytes-set!', 'bytes-utf-8-index', 'bytes-utf-8-length',
|
608
|
+
'bytes-utf-8-ref', 'bytes<?', 'bytes=?', 'bytes>?', 'bytes?', 'caaaar',
|
609
|
+
'caaadr', 'caaar', 'caadar', 'caaddr', 'caadr', 'caar', 'cadaar',
|
610
|
+
'cadadr', 'cadar', 'caddar', 'cadddr', 'caddr', 'cadr',
|
611
|
+
'call-in-nested-thread', 'call-with-atomic-output-file',
|
612
|
+
'call-with-break-parameterization',
|
613
|
+
'call-with-composable-continuation', 'call-with-continuation-barrier',
|
614
|
+
'call-with-continuation-prompt', 'call-with-current-continuation',
|
615
|
+
'call-with-default-reading-parameterization',
|
616
|
+
'call-with-escape-continuation', 'call-with-exception-handler',
|
617
|
+
'call-with-file-lock/timeout', 'call-with-immediate-continuation-mark',
|
618
|
+
'call-with-input-bytes', 'call-with-input-file',
|
619
|
+
'call-with-input-file*', 'call-with-input-string',
|
620
|
+
'call-with-output-bytes', 'call-with-output-file',
|
621
|
+
'call-with-output-file*', 'call-with-output-string',
|
622
|
+
'call-with-parameterization', 'call-with-semaphore',
|
623
|
+
'call-with-semaphore/enable-break', 'call-with-values', 'call/cc',
|
624
|
+
'call/ec', 'car', 'cartesian-product', 'cdaaar', 'cdaadr', 'cdaar',
|
625
|
+
'cdadar', 'cdaddr', 'cdadr', 'cdar', 'cddaar', 'cddadr', 'cddar',
|
626
|
+
'cdddar', 'cddddr', 'cdddr', 'cddr', 'cdr', 'ceiling', 'channel-get',
|
627
|
+
'channel-put', 'channel-put-evt', 'channel-put-evt?',
|
628
|
+
'channel-try-get', 'channel/c', 'channel?', 'chaperone-box',
|
629
|
+
'chaperone-channel', 'chaperone-continuation-mark-key',
|
630
|
+
'chaperone-contract-property?', 'chaperone-contract?', 'chaperone-evt',
|
631
|
+
'chaperone-hash', 'chaperone-hash-set', 'chaperone-of?',
|
632
|
+
'chaperone-procedure', 'chaperone-procedure*', 'chaperone-prompt-tag',
|
633
|
+
'chaperone-struct', 'chaperone-struct-type', 'chaperone-vector',
|
634
|
+
'chaperone?', 'char->integer', 'char-alphabetic?', 'char-blank?',
|
635
|
+
'char-ci<=?', 'char-ci<?', 'char-ci=?', 'char-ci>=?', 'char-ci>?',
|
636
|
+
'char-downcase', 'char-foldcase', 'char-general-category',
|
637
|
+
'char-graphic?', 'char-in', 'char-in/c', 'char-iso-control?',
|
638
|
+
'char-lower-case?', 'char-numeric?', 'char-punctuation?',
|
639
|
+
'char-ready?', 'char-symbolic?', 'char-title-case?', 'char-titlecase',
|
640
|
+
'char-upcase', 'char-upper-case?', 'char-utf-8-length',
|
641
|
+
'char-whitespace?', 'char<=?', 'char<?', 'char=?', 'char>=?', 'char>?',
|
642
|
+
'char?', 'check-duplicate-identifier', 'check-duplicates',
|
643
|
+
'checked-procedure-check-and-extract', 'choice-evt',
|
644
|
+
'class->interface', 'class-info', 'class-seal', 'class-unseal',
|
645
|
+
'class?', 'cleanse-path', 'close-input-port', 'close-output-port',
|
646
|
+
'coerce-chaperone-contract', 'coerce-chaperone-contracts',
|
647
|
+
'coerce-contract', 'coerce-contract/f', 'coerce-contracts',
|
648
|
+
'coerce-flat-contract', 'coerce-flat-contracts', 'collect-garbage',
|
649
|
+
'collection-file-path', 'collection-path', 'combinations', 'compile',
|
650
|
+
'compile-allow-set!-undefined', 'compile-context-preservation-enabled',
|
651
|
+
'compile-enforce-module-constants', 'compile-syntax',
|
652
|
+
'compiled-expression-recompile', 'compiled-expression?',
|
653
|
+
'compiled-module-expression?', 'complete-path?', 'complex?', 'compose',
|
654
|
+
'compose1', 'conjoin', 'conjugate', 'cons', 'cons/c', 'cons?', 'const',
|
655
|
+
'continuation-mark-key/c', 'continuation-mark-key?',
|
656
|
+
'continuation-mark-set->context', 'continuation-mark-set->list',
|
657
|
+
'continuation-mark-set->list*', 'continuation-mark-set-first',
|
658
|
+
'continuation-mark-set?', 'continuation-marks',
|
659
|
+
'continuation-prompt-available?', 'continuation-prompt-tag?',
|
660
|
+
'continuation?', 'contract-continuation-mark-key',
|
661
|
+
'contract-custom-write-property-proc', 'contract-exercise',
|
662
|
+
'contract-first-order', 'contract-first-order-passes?',
|
663
|
+
'contract-late-neg-projection', 'contract-name', 'contract-proc',
|
664
|
+
'contract-projection', 'contract-property?',
|
665
|
+
'contract-random-generate', 'contract-random-generate-fail',
|
666
|
+
'contract-random-generate-fail?',
|
667
|
+
'contract-random-generate-get-current-environment',
|
668
|
+
'contract-random-generate-stash', 'contract-random-generate/choose',
|
669
|
+
'contract-stronger?', 'contract-struct-exercise',
|
670
|
+
'contract-struct-generate', 'contract-struct-late-neg-projection',
|
671
|
+
'contract-struct-list-contract?', 'contract-val-first-projection',
|
672
|
+
'contract?', 'convert-stream', 'copy-directory/files', 'copy-file',
|
673
|
+
'copy-port', 'cos', 'cosh', 'count', 'current-blame-format',
|
674
|
+
'current-break-parameterization', 'current-code-inspector',
|
675
|
+
'current-command-line-arguments', 'current-compile',
|
676
|
+
'current-compiled-file-roots', 'current-continuation-marks',
|
677
|
+
'current-contract-region', 'current-custodian', 'current-directory',
|
678
|
+
'current-directory-for-user', 'current-drive',
|
679
|
+
'current-environment-variables', 'current-error-port', 'current-eval',
|
680
|
+
'current-evt-pseudo-random-generator',
|
681
|
+
'current-force-delete-permissions', 'current-future',
|
682
|
+
'current-gc-milliseconds', 'current-get-interaction-input-port',
|
683
|
+
'current-inexact-milliseconds', 'current-input-port',
|
684
|
+
'current-inspector', 'current-library-collection-links',
|
685
|
+
'current-library-collection-paths', 'current-load',
|
686
|
+
'current-load-extension', 'current-load-relative-directory',
|
687
|
+
'current-load/use-compiled', 'current-locale', 'current-logger',
|
688
|
+
'current-memory-use', 'current-milliseconds',
|
689
|
+
'current-module-declare-name', 'current-module-declare-source',
|
690
|
+
'current-module-name-resolver', 'current-module-path-for-load',
|
691
|
+
'current-namespace', 'current-output-port', 'current-parameterization',
|
692
|
+
'current-plumber', 'current-preserved-thread-cell-values',
|
693
|
+
'current-print', 'current-process-milliseconds', 'current-prompt-read',
|
694
|
+
'current-pseudo-random-generator', 'current-read-interaction',
|
695
|
+
'current-reader-guard', 'current-readtable', 'current-seconds',
|
696
|
+
'current-security-guard', 'current-subprocess-custodian-mode',
|
697
|
+
'current-thread', 'current-thread-group',
|
698
|
+
'current-thread-initial-stack-size',
|
699
|
+
'current-write-relative-directory', 'curry', 'curryr',
|
700
|
+
'custodian-box-value', 'custodian-box?', 'custodian-limit-memory',
|
701
|
+
'custodian-managed-list', 'custodian-memory-accounting-available?',
|
702
|
+
'custodian-require-memory', 'custodian-shutdown-all', 'custodian?',
|
703
|
+
'custom-print-quotable-accessor', 'custom-print-quotable?',
|
704
|
+
'custom-write-accessor', 'custom-write-property-proc', 'custom-write?',
|
705
|
+
'date', 'date*', 'date*-nanosecond', 'date*-time-zone-name', 'date*?',
|
706
|
+
'date-day', 'date-dst?', 'date-hour', 'date-minute', 'date-month',
|
707
|
+
'date-second', 'date-time-zone-offset', 'date-week-day', 'date-year',
|
708
|
+
'date-year-day', 'date?', 'datum->syntax', 'datum-intern-literal',
|
709
|
+
'default-continuation-prompt-tag', 'degrees->radians',
|
710
|
+
'delete-directory', 'delete-directory/files', 'delete-file',
|
711
|
+
'denominator', 'dict->list', 'dict-can-functional-set?',
|
712
|
+
'dict-can-remove-keys?', 'dict-clear', 'dict-clear!', 'dict-copy',
|
713
|
+
'dict-count', 'dict-empty?', 'dict-for-each', 'dict-has-key?',
|
714
|
+
'dict-implements/c', 'dict-implements?', 'dict-iter-contract',
|
715
|
+
'dict-iterate-first', 'dict-iterate-key', 'dict-iterate-next',
|
716
|
+
'dict-iterate-value', 'dict-key-contract', 'dict-keys', 'dict-map',
|
717
|
+
'dict-mutable?', 'dict-ref', 'dict-ref!', 'dict-remove',
|
718
|
+
'dict-remove!', 'dict-set', 'dict-set!', 'dict-set*', 'dict-set*!',
|
719
|
+
'dict-update', 'dict-update!', 'dict-value-contract', 'dict-values',
|
720
|
+
'dict?', 'directory-exists?', 'directory-list', 'disjoin', 'display',
|
721
|
+
'display-lines', 'display-lines-to-file', 'display-to-file',
|
722
|
+
'displayln', 'double-flonum?', 'drop', 'drop-common-prefix',
|
723
|
+
'drop-right', 'dropf', 'dropf-right', 'dump-memory-stats',
|
724
|
+
'dup-input-port', 'dup-output-port', 'dynamic->*', 'dynamic-get-field',
|
725
|
+
'dynamic-object/c', 'dynamic-place', 'dynamic-place*',
|
726
|
+
'dynamic-require', 'dynamic-require-for-syntax', 'dynamic-send',
|
727
|
+
'dynamic-set-field!', 'dynamic-wind', 'eighth', 'empty',
|
728
|
+
'empty-sequence', 'empty-stream', 'empty?',
|
729
|
+
'environment-variables-copy', 'environment-variables-names',
|
730
|
+
'environment-variables-ref', 'environment-variables-set!',
|
731
|
+
'environment-variables?', 'eof', 'eof-evt', 'eof-object?',
|
732
|
+
'ephemeron-value', 'ephemeron?', 'eprintf', 'eq-contract-val',
|
733
|
+
'eq-contract?', 'eq-hash-code', 'eq?', 'equal-contract-val',
|
734
|
+
'equal-contract?', 'equal-hash-code', 'equal-secondary-hash-code',
|
735
|
+
'equal<%>', 'equal?', 'equal?/recur', 'eqv-hash-code', 'eqv?', 'error',
|
736
|
+
'error-display-handler', 'error-escape-handler',
|
737
|
+
'error-print-context-length', 'error-print-source-location',
|
738
|
+
'error-print-width', 'error-value->string-handler', 'eval',
|
739
|
+
'eval-jit-enabled', 'eval-syntax', 'even?', 'evt/c', 'evt?',
|
740
|
+
'exact->inexact', 'exact-ceiling', 'exact-floor', 'exact-integer?',
|
741
|
+
'exact-nonnegative-integer?', 'exact-positive-integer?', 'exact-round',
|
742
|
+
'exact-truncate', 'exact?', 'executable-yield-handler', 'exit',
|
743
|
+
'exit-handler', 'exn', 'exn-continuation-marks', 'exn-message',
|
744
|
+
'exn:break', 'exn:break-continuation', 'exn:break:hang-up',
|
745
|
+
'exn:break:hang-up?', 'exn:break:terminate', 'exn:break:terminate?',
|
746
|
+
'exn:break?', 'exn:fail', 'exn:fail:contract',
|
747
|
+
'exn:fail:contract:arity', 'exn:fail:contract:arity?',
|
748
|
+
'exn:fail:contract:blame', 'exn:fail:contract:blame-object',
|
749
|
+
'exn:fail:contract:blame?', 'exn:fail:contract:continuation',
|
750
|
+
'exn:fail:contract:continuation?', 'exn:fail:contract:divide-by-zero',
|
751
|
+
'exn:fail:contract:divide-by-zero?',
|
752
|
+
'exn:fail:contract:non-fixnum-result',
|
753
|
+
'exn:fail:contract:non-fixnum-result?', 'exn:fail:contract:variable',
|
754
|
+
'exn:fail:contract:variable-id', 'exn:fail:contract:variable?',
|
755
|
+
'exn:fail:contract?', 'exn:fail:filesystem',
|
756
|
+
'exn:fail:filesystem:errno', 'exn:fail:filesystem:errno-errno',
|
757
|
+
'exn:fail:filesystem:errno?', 'exn:fail:filesystem:exists',
|
758
|
+
'exn:fail:filesystem:exists?', 'exn:fail:filesystem:missing-module',
|
759
|
+
'exn:fail:filesystem:missing-module-path',
|
760
|
+
'exn:fail:filesystem:missing-module?', 'exn:fail:filesystem:version',
|
761
|
+
'exn:fail:filesystem:version?', 'exn:fail:filesystem?',
|
762
|
+
'exn:fail:network', 'exn:fail:network:errno',
|
763
|
+
'exn:fail:network:errno-errno', 'exn:fail:network:errno?',
|
764
|
+
'exn:fail:network?', 'exn:fail:object', 'exn:fail:object?',
|
765
|
+
'exn:fail:out-of-memory', 'exn:fail:out-of-memory?', 'exn:fail:read',
|
766
|
+
'exn:fail:read-srclocs', 'exn:fail:read:eof', 'exn:fail:read:eof?',
|
767
|
+
'exn:fail:read:non-char', 'exn:fail:read:non-char?', 'exn:fail:read?',
|
768
|
+
'exn:fail:syntax', 'exn:fail:syntax-exprs',
|
769
|
+
'exn:fail:syntax:missing-module',
|
770
|
+
'exn:fail:syntax:missing-module-path',
|
771
|
+
'exn:fail:syntax:missing-module?', 'exn:fail:syntax:unbound',
|
772
|
+
'exn:fail:syntax:unbound?', 'exn:fail:syntax?', 'exn:fail:unsupported',
|
773
|
+
'exn:fail:unsupported?', 'exn:fail:user', 'exn:fail:user?',
|
774
|
+
'exn:fail?', 'exn:misc:match?', 'exn:missing-module-accessor',
|
775
|
+
'exn:missing-module?', 'exn:srclocs-accessor', 'exn:srclocs?', 'exn?',
|
776
|
+
'exp', 'expand', 'expand-once', 'expand-syntax', 'expand-syntax-once',
|
777
|
+
'expand-syntax-to-top-form', 'expand-to-top-form', 'expand-user-path',
|
778
|
+
'explode-path', 'expt', 'externalizable<%>', 'failure-result/c',
|
779
|
+
'false?', 'field-names', 'fifth', 'file->bytes', 'file->bytes-lines',
|
780
|
+
'file->lines', 'file->list', 'file->string', 'file->value',
|
781
|
+
'file-exists?', 'file-name-from-path', 'file-or-directory-identity',
|
782
|
+
'file-or-directory-modify-seconds', 'file-or-directory-permissions',
|
783
|
+
'file-position', 'file-position*', 'file-size',
|
784
|
+
'file-stream-buffer-mode', 'file-stream-port?', 'file-truncate',
|
785
|
+
'filename-extension', 'filesystem-change-evt',
|
786
|
+
'filesystem-change-evt-cancel', 'filesystem-change-evt?',
|
787
|
+
'filesystem-root-list', 'filter', 'filter-map', 'filter-not',
|
788
|
+
'filter-read-input-port', 'find-executable-path', 'find-files',
|
789
|
+
'find-library-collection-links', 'find-library-collection-paths',
|
790
|
+
'find-relative-path', 'find-system-path', 'findf', 'first',
|
791
|
+
'first-or/c', 'fixnum?', 'flat-contract', 'flat-contract-predicate',
|
792
|
+
'flat-contract-property?', 'flat-contract?', 'flat-named-contract',
|
793
|
+
'flatten', 'floating-point-bytes->real', 'flonum?', 'floor',
|
794
|
+
'flush-output', 'fold-files', 'foldl', 'foldr', 'for-each', 'force',
|
795
|
+
'format', 'fourth', 'fprintf', 'free-identifier=?',
|
796
|
+
'free-label-identifier=?', 'free-template-identifier=?',
|
797
|
+
'free-transformer-identifier=?', 'fsemaphore-count', 'fsemaphore-post',
|
798
|
+
'fsemaphore-try-wait?', 'fsemaphore-wait', 'fsemaphore?', 'future',
|
799
|
+
'future?', 'futures-enabled?', 'gcd', 'generate-member-key',
|
800
|
+
'generate-temporaries', 'generic-set?', 'generic?', 'gensym',
|
801
|
+
'get-output-bytes', 'get-output-string', 'get-preference',
|
802
|
+
'get/build-late-neg-projection', 'get/build-val-first-projection',
|
803
|
+
'getenv', 'global-port-print-handler', 'group-by', 'group-execute-bit',
|
804
|
+
'group-read-bit', 'group-write-bit', 'guard-evt', 'handle-evt',
|
805
|
+
'handle-evt?', 'has-blame?', 'has-contract?', 'hash', 'hash->list',
|
806
|
+
'hash-clear', 'hash-clear!', 'hash-copy', 'hash-copy-clear',
|
807
|
+
'hash-count', 'hash-empty?', 'hash-eq?', 'hash-equal?', 'hash-eqv?',
|
808
|
+
'hash-for-each', 'hash-has-key?', 'hash-iterate-first',
|
809
|
+
'hash-iterate-key', 'hash-iterate-key+value', 'hash-iterate-next',
|
810
|
+
'hash-iterate-pair', 'hash-iterate-value', 'hash-keys', 'hash-map',
|
811
|
+
'hash-placeholder?', 'hash-ref', 'hash-ref!', 'hash-remove',
|
812
|
+
'hash-remove!', 'hash-set', 'hash-set!', 'hash-set*', 'hash-set*!',
|
813
|
+
'hash-update', 'hash-update!', 'hash-values', 'hash-weak?', 'hash/c',
|
814
|
+
'hash?', 'hasheq', 'hasheqv', 'identifier-binding',
|
815
|
+
'identifier-binding-symbol', 'identifier-label-binding',
|
816
|
+
'identifier-prune-lexical-context',
|
817
|
+
'identifier-prune-to-source-module',
|
818
|
+
'identifier-remove-from-definition-context',
|
819
|
+
'identifier-template-binding', 'identifier-transformer-binding',
|
820
|
+
'identifier?', 'identity', 'if/c', 'imag-part', 'immutable?',
|
821
|
+
'impersonate-box', 'impersonate-channel',
|
822
|
+
'impersonate-continuation-mark-key', 'impersonate-hash',
|
823
|
+
'impersonate-hash-set', 'impersonate-procedure',
|
824
|
+
'impersonate-procedure*', 'impersonate-prompt-tag',
|
825
|
+
'impersonate-struct', 'impersonate-vector', 'impersonator-contract?',
|
826
|
+
'impersonator-ephemeron', 'impersonator-of?',
|
827
|
+
'impersonator-prop:application-mark', 'impersonator-prop:blame',
|
828
|
+
'impersonator-prop:contracted',
|
829
|
+
'impersonator-property-accessor-procedure?', 'impersonator-property?',
|
830
|
+
'impersonator?', 'implementation?', 'implementation?/c', 'in-bytes',
|
831
|
+
'in-bytes-lines', 'in-combinations', 'in-cycle', 'in-dict',
|
832
|
+
'in-dict-keys', 'in-dict-pairs', 'in-dict-values', 'in-directory',
|
833
|
+
'in-hash', 'in-hash-keys', 'in-hash-pairs', 'in-hash-values',
|
834
|
+
'in-immutable-hash', 'in-immutable-hash-keys',
|
835
|
+
'in-immutable-hash-pairs', 'in-immutable-hash-values',
|
836
|
+
'in-immutable-set', 'in-indexed', 'in-input-port-bytes',
|
837
|
+
'in-input-port-chars', 'in-lines', 'in-list', 'in-mlist',
|
838
|
+
'in-mutable-hash', 'in-mutable-hash-keys', 'in-mutable-hash-pairs',
|
839
|
+
'in-mutable-hash-values', 'in-mutable-set', 'in-naturals',
|
840
|
+
'in-parallel', 'in-permutations', 'in-port', 'in-producer', 'in-range',
|
841
|
+
'in-sequences', 'in-set', 'in-slice', 'in-stream', 'in-string',
|
842
|
+
'in-syntax', 'in-value', 'in-values*-sequence', 'in-values-sequence',
|
843
|
+
'in-vector', 'in-weak-hash', 'in-weak-hash-keys', 'in-weak-hash-pairs',
|
844
|
+
'in-weak-hash-values', 'in-weak-set', 'inexact->exact',
|
845
|
+
'inexact-real?', 'inexact?', 'infinite?', 'input-port-append',
|
846
|
+
'input-port?', 'inspector?', 'instanceof/c', 'integer->char',
|
847
|
+
'integer->integer-bytes', 'integer-bytes->integer', 'integer-in',
|
848
|
+
'integer-length', 'integer-sqrt', 'integer-sqrt/remainder', 'integer?',
|
849
|
+
'interface->method-names', 'interface-extension?', 'interface?',
|
850
|
+
'internal-definition-context-binding-identifiers',
|
851
|
+
'internal-definition-context-introduce',
|
852
|
+
'internal-definition-context-seal', 'internal-definition-context?',
|
853
|
+
'is-a?', 'is-a?/c', 'keyword->string', 'keyword-apply', 'keyword<?',
|
854
|
+
'keyword?', 'keywords-match', 'kill-thread', 'last', 'last-pair',
|
855
|
+
'lcm', 'length', 'liberal-define-context?', 'link-exists?', 'list',
|
856
|
+
'list*', 'list*of', 'list->bytes', 'list->mutable-set',
|
857
|
+
'list->mutable-seteq', 'list->mutable-seteqv', 'list->set',
|
858
|
+
'list->seteq', 'list->seteqv', 'list->string', 'list->vector',
|
859
|
+
'list->weak-set', 'list->weak-seteq', 'list->weak-seteqv',
|
860
|
+
'list-contract?', 'list-prefix?', 'list-ref', 'list-set', 'list-tail',
|
861
|
+
'list-update', 'list/c', 'list?', 'listen-port-number?', 'listof',
|
862
|
+
'load', 'load-extension', 'load-on-demand-enabled', 'load-relative',
|
863
|
+
'load-relative-extension', 'load/cd', 'load/use-compiled',
|
864
|
+
'local-expand', 'local-expand/capture-lifts',
|
865
|
+
'local-transformer-expand', 'local-transformer-expand/capture-lifts',
|
866
|
+
'locale-string-encoding', 'log', 'log-all-levels', 'log-level-evt',
|
867
|
+
'log-level?', 'log-max-level', 'log-message', 'log-receiver?',
|
868
|
+
'logger-name', 'logger?', 'magnitude', 'make-arity-at-least',
|
869
|
+
'make-base-empty-namespace', 'make-base-namespace', 'make-bytes',
|
870
|
+
'make-channel', 'make-chaperone-contract',
|
871
|
+
'make-continuation-mark-key', 'make-continuation-prompt-tag',
|
872
|
+
'make-contract', 'make-custodian', 'make-custodian-box',
|
873
|
+
'make-custom-hash', 'make-custom-hash-types', 'make-custom-set',
|
874
|
+
'make-custom-set-types', 'make-date', 'make-date*',
|
875
|
+
'make-derived-parameter', 'make-directory', 'make-directory*',
|
876
|
+
'make-do-sequence', 'make-empty-namespace',
|
877
|
+
'make-environment-variables', 'make-ephemeron', 'make-exn',
|
878
|
+
'make-exn:break', 'make-exn:break:hang-up', 'make-exn:break:terminate',
|
879
|
+
'make-exn:fail', 'make-exn:fail:contract',
|
880
|
+
'make-exn:fail:contract:arity', 'make-exn:fail:contract:blame',
|
881
|
+
'make-exn:fail:contract:continuation',
|
882
|
+
'make-exn:fail:contract:divide-by-zero',
|
883
|
+
'make-exn:fail:contract:non-fixnum-result',
|
884
|
+
'make-exn:fail:contract:variable', 'make-exn:fail:filesystem',
|
885
|
+
'make-exn:fail:filesystem:errno', 'make-exn:fail:filesystem:exists',
|
886
|
+
'make-exn:fail:filesystem:missing-module',
|
887
|
+
'make-exn:fail:filesystem:version', 'make-exn:fail:network',
|
888
|
+
'make-exn:fail:network:errno', 'make-exn:fail:object',
|
889
|
+
'make-exn:fail:out-of-memory', 'make-exn:fail:read',
|
890
|
+
'make-exn:fail:read:eof', 'make-exn:fail:read:non-char',
|
891
|
+
'make-exn:fail:syntax', 'make-exn:fail:syntax:missing-module',
|
892
|
+
'make-exn:fail:syntax:unbound', 'make-exn:fail:unsupported',
|
893
|
+
'make-exn:fail:user', 'make-file-or-directory-link',
|
894
|
+
'make-flat-contract', 'make-fsemaphore', 'make-generic',
|
895
|
+
'make-handle-get-preference-locked', 'make-hash',
|
896
|
+
'make-hash-placeholder', 'make-hasheq', 'make-hasheq-placeholder',
|
897
|
+
'make-hasheqv', 'make-hasheqv-placeholder',
|
898
|
+
'make-immutable-custom-hash', 'make-immutable-hash',
|
899
|
+
'make-immutable-hasheq', 'make-immutable-hasheqv',
|
900
|
+
'make-impersonator-property', 'make-input-port',
|
901
|
+
'make-input-port/read-to-peek', 'make-inspector',
|
902
|
+
'make-keyword-procedure', 'make-known-char-range-list',
|
903
|
+
'make-limited-input-port', 'make-list', 'make-lock-file-name',
|
904
|
+
'make-log-receiver', 'make-logger', 'make-mixin-contract',
|
905
|
+
'make-mutable-custom-set', 'make-none/c', 'make-object',
|
906
|
+
'make-output-port', 'make-parameter', 'make-parent-directory*',
|
907
|
+
'make-phantom-bytes', 'make-pipe', 'make-pipe-with-specials',
|
908
|
+
'make-placeholder', 'make-plumber', 'make-polar', 'make-prefab-struct',
|
909
|
+
'make-primitive-class', 'make-proj-contract',
|
910
|
+
'make-pseudo-random-generator', 'make-reader-graph', 'make-readtable',
|
911
|
+
'make-rectangular', 'make-rename-transformer',
|
912
|
+
'make-resolved-module-path', 'make-security-guard', 'make-semaphore',
|
913
|
+
'make-set!-transformer', 'make-shared-bytes', 'make-sibling-inspector',
|
914
|
+
'make-special-comment', 'make-srcloc', 'make-string',
|
915
|
+
'make-struct-field-accessor', 'make-struct-field-mutator',
|
916
|
+
'make-struct-type', 'make-struct-type-property',
|
917
|
+
'make-syntax-delta-introducer', 'make-syntax-introducer',
|
918
|
+
'make-temporary-file', 'make-tentative-pretty-print-output-port',
|
919
|
+
'make-thread-cell', 'make-thread-group', 'make-vector',
|
920
|
+
'make-weak-box', 'make-weak-custom-hash', 'make-weak-custom-set',
|
921
|
+
'make-weak-hash', 'make-weak-hasheq', 'make-weak-hasheqv',
|
922
|
+
'make-will-executor', 'map', 'match-equality-test',
|
923
|
+
'matches-arity-exactly?', 'max', 'mcar', 'mcdr', 'mcons', 'member',
|
924
|
+
'member-name-key-hash-code', 'member-name-key=?', 'member-name-key?',
|
925
|
+
'memf', 'memq', 'memv', 'merge-input', 'method-in-interface?', 'min',
|
926
|
+
'mixin-contract', 'module->exports', 'module->imports',
|
927
|
+
'module->language-info', 'module->namespace',
|
928
|
+
'module-compiled-cross-phase-persistent?', 'module-compiled-exports',
|
929
|
+
'module-compiled-imports', 'module-compiled-language-info',
|
930
|
+
'module-compiled-name', 'module-compiled-submodules',
|
931
|
+
'module-declared?', 'module-path-index-join',
|
932
|
+
'module-path-index-resolve', 'module-path-index-split',
|
933
|
+
'module-path-index-submodule', 'module-path-index?', 'module-path?',
|
934
|
+
'module-predefined?', 'module-provide-protected?', 'modulo', 'mpair?',
|
935
|
+
'mutable-set', 'mutable-seteq', 'mutable-seteqv', 'n->th',
|
936
|
+
'nack-guard-evt', 'namespace-anchor->empty-namespace',
|
937
|
+
'namespace-anchor->namespace', 'namespace-anchor?',
|
938
|
+
'namespace-attach-module', 'namespace-attach-module-declaration',
|
939
|
+
'namespace-base-phase', 'namespace-mapped-symbols',
|
940
|
+
'namespace-module-identifier', 'namespace-module-registry',
|
941
|
+
'namespace-require', 'namespace-require/constant',
|
942
|
+
'namespace-require/copy', 'namespace-require/expansion-time',
|
943
|
+
'namespace-set-variable-value!', 'namespace-symbol->identifier',
|
944
|
+
'namespace-syntax-introduce', 'namespace-undefine-variable!',
|
945
|
+
'namespace-unprotect-module', 'namespace-variable-value', 'namespace?',
|
946
|
+
'nan?', 'natural-number/c', 'negate', 'negative?', 'never-evt',
|
947
|
+
'new-∀/c', 'new-∃/c', 'newline', 'ninth', 'non-empty-listof',
|
948
|
+
'non-empty-string?', 'none/c', 'normal-case-path', 'normalize-arity',
|
949
|
+
'normalize-path', 'normalized-arity?', 'not', 'not/c', 'null', 'null?',
|
950
|
+
'number->string', 'number?', 'numerator', 'object%', 'object->vector',
|
951
|
+
'object-info', 'object-interface', 'object-method-arity-includes?',
|
952
|
+
'object-name', 'object-or-false=?', 'object=?', 'object?', 'odd?',
|
953
|
+
'one-of/c', 'open-input-bytes', 'open-input-file',
|
954
|
+
'open-input-output-file', 'open-input-string', 'open-output-bytes',
|
955
|
+
'open-output-file', 'open-output-nowhere', 'open-output-string',
|
956
|
+
'or/c', 'order-of-magnitude', 'ormap', 'other-execute-bit',
|
957
|
+
'other-read-bit', 'other-write-bit', 'output-port?', 'pair?',
|
958
|
+
'parameter-procedure=?', 'parameter/c', 'parameter?',
|
959
|
+
'parameterization?', 'parse-command-line', 'partition', 'path->bytes',
|
960
|
+
'path->complete-path', 'path->directory-path', 'path->string',
|
961
|
+
'path-add-suffix', 'path-convention-type', 'path-element->bytes',
|
962
|
+
'path-element->string', 'path-element?', 'path-for-some-system?',
|
963
|
+
'path-list-string->path-list', 'path-only', 'path-replace-suffix',
|
964
|
+
'path-string?', 'path<?', 'path?', 'pathlist-closure', 'peek-byte',
|
965
|
+
'peek-byte-or-special', 'peek-bytes', 'peek-bytes!', 'peek-bytes!-evt',
|
966
|
+
'peek-bytes-avail!', 'peek-bytes-avail!*', 'peek-bytes-avail!-evt',
|
967
|
+
'peek-bytes-avail!/enable-break', 'peek-bytes-evt', 'peek-char',
|
968
|
+
'peek-char-or-special', 'peek-string', 'peek-string!',
|
969
|
+
'peek-string!-evt', 'peek-string-evt', 'peeking-input-port',
|
970
|
+
'permutations', 'phantom-bytes?', 'pi', 'pi.f', 'pipe-content-length',
|
971
|
+
'place-break', 'place-channel', 'place-channel-get',
|
972
|
+
'place-channel-put', 'place-channel-put/get', 'place-channel?',
|
973
|
+
'place-dead-evt', 'place-enabled?', 'place-kill', 'place-location?',
|
974
|
+
'place-message-allowed?', 'place-sleep', 'place-wait', 'place?',
|
975
|
+
'placeholder-get', 'placeholder-set!', 'placeholder?',
|
976
|
+
'plumber-add-flush!', 'plumber-flush-all',
|
977
|
+
'plumber-flush-handle-remove!', 'plumber-flush-handle?', 'plumber?',
|
978
|
+
'poll-guard-evt', 'port->bytes', 'port->bytes-lines', 'port->lines',
|
979
|
+
'port->list', 'port->string', 'port-closed-evt', 'port-closed?',
|
980
|
+
'port-commit-peeked', 'port-count-lines!', 'port-count-lines-enabled',
|
981
|
+
'port-counts-lines?', 'port-display-handler', 'port-file-identity',
|
982
|
+
'port-file-unlock', 'port-next-location', 'port-number?',
|
983
|
+
'port-print-handler', 'port-progress-evt',
|
984
|
+
'port-provides-progress-evts?', 'port-read-handler',
|
985
|
+
'port-try-file-lock?', 'port-write-handler', 'port-writes-atomic?',
|
986
|
+
'port-writes-special?', 'port?', 'positive?', 'predicate/c',
|
987
|
+
'prefab-key->struct-type', 'prefab-key?', 'prefab-struct-key',
|
988
|
+
'preferences-lock-file-mode', 'pregexp', 'pregexp?', 'pretty-display',
|
989
|
+
'pretty-format', 'pretty-print', 'pretty-print-.-symbol-without-bars',
|
990
|
+
'pretty-print-abbreviate-read-macros', 'pretty-print-columns',
|
991
|
+
'pretty-print-current-style-table', 'pretty-print-depth',
|
992
|
+
'pretty-print-exact-as-decimal', 'pretty-print-extend-style-table',
|
993
|
+
'pretty-print-handler', 'pretty-print-newline',
|
994
|
+
'pretty-print-post-print-hook', 'pretty-print-pre-print-hook',
|
995
|
+
'pretty-print-print-hook', 'pretty-print-print-line',
|
996
|
+
'pretty-print-remap-stylable', 'pretty-print-show-inexactness',
|
997
|
+
'pretty-print-size-hook', 'pretty-print-style-table?',
|
998
|
+
'pretty-printing', 'pretty-write', 'primitive-closure?',
|
999
|
+
'primitive-result-arity', 'primitive?', 'print', 'print-as-expression',
|
1000
|
+
'print-boolean-long-form', 'print-box', 'print-graph',
|
1001
|
+
'print-hash-table', 'print-mpair-curly-braces',
|
1002
|
+
'print-pair-curly-braces', 'print-reader-abbreviations',
|
1003
|
+
'print-struct', 'print-syntax-width', 'print-unreadable',
|
1004
|
+
'print-vector-length', 'printable/c', 'printable<%>', 'printf',
|
1005
|
+
'println', 'procedure->method', 'procedure-arity',
|
1006
|
+
'procedure-arity-includes/c', 'procedure-arity-includes?',
|
1007
|
+
'procedure-arity?', 'procedure-closure-contents-eq?',
|
1008
|
+
'procedure-extract-target', 'procedure-keywords',
|
1009
|
+
'procedure-reduce-arity', 'procedure-reduce-keyword-arity',
|
1010
|
+
'procedure-rename', 'procedure-result-arity', 'procedure-specialize',
|
1011
|
+
'procedure-struct-type?', 'procedure?', 'process', 'process*',
|
1012
|
+
'process*/ports', 'process/ports', 'processor-count', 'progress-evt?',
|
1013
|
+
'promise-forced?', 'promise-running?', 'promise/c', 'promise/name?',
|
1014
|
+
'promise?', 'prop:arity-string', 'prop:arrow-contract',
|
1015
|
+
'prop:arrow-contract-get-info', 'prop:arrow-contract?', 'prop:blame',
|
1016
|
+
'prop:chaperone-contract', 'prop:checked-procedure', 'prop:contract',
|
1017
|
+
'prop:contracted', 'prop:custom-print-quotable', 'prop:custom-write',
|
1018
|
+
'prop:dict', 'prop:dict/contract', 'prop:equal+hash', 'prop:evt',
|
1019
|
+
'prop:exn:missing-module', 'prop:exn:srclocs',
|
1020
|
+
'prop:expansion-contexts', 'prop:flat-contract',
|
1021
|
+
'prop:impersonator-of', 'prop:input-port',
|
1022
|
+
'prop:liberal-define-context', 'prop:object-name',
|
1023
|
+
'prop:opt-chaperone-contract', 'prop:opt-chaperone-contract-get-test',
|
1024
|
+
'prop:opt-chaperone-contract?', 'prop:orc-contract',
|
1025
|
+
'prop:orc-contract-get-subcontracts', 'prop:orc-contract?',
|
1026
|
+
'prop:output-port', 'prop:place-location', 'prop:procedure',
|
1027
|
+
'prop:recursive-contract', 'prop:recursive-contract-unroll',
|
1028
|
+
'prop:recursive-contract?', 'prop:rename-transformer', 'prop:sequence',
|
1029
|
+
'prop:set!-transformer', 'prop:stream', 'proper-subset?',
|
1030
|
+
'pseudo-random-generator->vector', 'pseudo-random-generator-vector?',
|
1031
|
+
'pseudo-random-generator?', 'put-preferences', 'putenv', 'quotient',
|
1032
|
+
'quotient/remainder', 'radians->degrees', 'raise',
|
1033
|
+
'raise-argument-error', 'raise-arguments-error', 'raise-arity-error',
|
1034
|
+
'raise-blame-error', 'raise-contract-error', 'raise-mismatch-error',
|
1035
|
+
'raise-not-cons-blame-error', 'raise-range-error',
|
1036
|
+
'raise-result-error', 'raise-syntax-error', 'raise-type-error',
|
1037
|
+
'raise-user-error', 'random', 'random-seed', 'range', 'rational?',
|
1038
|
+
'rationalize', 'read', 'read-accept-bar-quote', 'read-accept-box',
|
1039
|
+
'read-accept-compiled', 'read-accept-dot', 'read-accept-graph',
|
1040
|
+
'read-accept-infix-dot', 'read-accept-lang', 'read-accept-quasiquote',
|
1041
|
+
'read-accept-reader', 'read-byte', 'read-byte-or-special',
|
1042
|
+
'read-bytes', 'read-bytes!', 'read-bytes!-evt', 'read-bytes-avail!',
|
1043
|
+
'read-bytes-avail!*', 'read-bytes-avail!-evt',
|
1044
|
+
'read-bytes-avail!/enable-break', 'read-bytes-evt', 'read-bytes-line',
|
1045
|
+
'read-bytes-line-evt', 'read-case-sensitive', 'read-cdot', 'read-char',
|
1046
|
+
'read-char-or-special', 'read-curly-brace-as-paren',
|
1047
|
+
'read-curly-brace-with-tag', 'read-decimal-as-inexact',
|
1048
|
+
'read-eval-print-loop', 'read-language', 'read-line', 'read-line-evt',
|
1049
|
+
'read-on-demand-source', 'read-square-bracket-as-paren',
|
1050
|
+
'read-square-bracket-with-tag', 'read-string', 'read-string!',
|
1051
|
+
'read-string!-evt', 'read-string-evt', 'read-syntax',
|
1052
|
+
'read-syntax/recursive', 'read/recursive', 'readtable-mapping',
|
1053
|
+
'readtable?', 'real->decimal-string', 'real->double-flonum',
|
1054
|
+
'real->floating-point-bytes', 'real->single-flonum', 'real-in',
|
1055
|
+
'real-part', 'real?', 'reencode-input-port', 'reencode-output-port',
|
1056
|
+
'regexp', 'regexp-match', 'regexp-match*', 'regexp-match-evt',
|
1057
|
+
'regexp-match-exact?', 'regexp-match-peek',
|
1058
|
+
'regexp-match-peek-immediate', 'regexp-match-peek-positions',
|
1059
|
+
'regexp-match-peek-positions*',
|
1060
|
+
'regexp-match-peek-positions-immediate',
|
1061
|
+
'regexp-match-peek-positions-immediate/end',
|
1062
|
+
'regexp-match-peek-positions/end', 'regexp-match-positions',
|
1063
|
+
'regexp-match-positions*', 'regexp-match-positions/end',
|
1064
|
+
'regexp-match/end', 'regexp-match?', 'regexp-max-lookbehind',
|
1065
|
+
'regexp-quote', 'regexp-replace', 'regexp-replace*',
|
1066
|
+
'regexp-replace-quote', 'regexp-replaces', 'regexp-split',
|
1067
|
+
'regexp-try-match', 'regexp?', 'relative-path?', 'relocate-input-port',
|
1068
|
+
'relocate-output-port', 'remainder', 'remf', 'remf*', 'remove',
|
1069
|
+
'remove*', 'remove-duplicates', 'remq', 'remq*', 'remv', 'remv*',
|
1070
|
+
'rename-contract', 'rename-file-or-directory',
|
1071
|
+
'rename-transformer-target', 'rename-transformer?', 'replace-evt',
|
1072
|
+
'reroot-path', 'resolve-path', 'resolved-module-path-name',
|
1073
|
+
'resolved-module-path?', 'rest', 'reverse', 'round', 'second',
|
1074
|
+
'seconds->date', 'security-guard?', 'semaphore-peek-evt',
|
1075
|
+
'semaphore-peek-evt?', 'semaphore-post', 'semaphore-try-wait?',
|
1076
|
+
'semaphore-wait', 'semaphore-wait/enable-break', 'semaphore?',
|
1077
|
+
'sequence->list', 'sequence->stream', 'sequence-add-between',
|
1078
|
+
'sequence-andmap', 'sequence-append', 'sequence-count',
|
1079
|
+
'sequence-filter', 'sequence-fold', 'sequence-for-each',
|
1080
|
+
'sequence-generate', 'sequence-generate*', 'sequence-length',
|
1081
|
+
'sequence-map', 'sequence-ormap', 'sequence-ref', 'sequence-tail',
|
1082
|
+
'sequence/c', 'sequence?', 'set', 'set!-transformer-procedure',
|
1083
|
+
'set!-transformer?', 'set->list', 'set->stream', 'set-add', 'set-add!',
|
1084
|
+
'set-box!', 'set-clear', 'set-clear!', 'set-copy', 'set-copy-clear',
|
1085
|
+
'set-count', 'set-empty?', 'set-eq?', 'set-equal?', 'set-eqv?',
|
1086
|
+
'set-first', 'set-for-each', 'set-implements/c', 'set-implements?',
|
1087
|
+
'set-intersect', 'set-intersect!', 'set-map', 'set-mcar!', 'set-mcdr!',
|
1088
|
+
'set-member?', 'set-mutable?', 'set-phantom-bytes!',
|
1089
|
+
'set-port-next-location!', 'set-remove', 'set-remove!', 'set-rest',
|
1090
|
+
'set-some-basic-contracts!', 'set-subtract', 'set-subtract!',
|
1091
|
+
'set-symmetric-difference', 'set-symmetric-difference!', 'set-union',
|
1092
|
+
'set-union!', 'set-weak?', 'set/c', 'set=?', 'set?', 'seteq', 'seteqv',
|
1093
|
+
'seventh', 'sgn', 'shared-bytes', 'shell-execute', 'shrink-path-wrt',
|
1094
|
+
'shuffle', 'simple-form-path', 'simplify-path', 'sin',
|
1095
|
+
'single-flonum?', 'sinh', 'sixth', 'skip-projection-wrapper?', 'sleep',
|
1096
|
+
'some-system-path->string', 'sort', 'special-comment-value',
|
1097
|
+
'special-comment?', 'special-filter-input-port', 'split-at',
|
1098
|
+
'split-at-right', 'split-common-prefix', 'split-path', 'splitf-at',
|
1099
|
+
'splitf-at-right', 'sqr', 'sqrt', 'srcloc', 'srcloc->string',
|
1100
|
+
'srcloc-column', 'srcloc-line', 'srcloc-position', 'srcloc-source',
|
1101
|
+
'srcloc-span', 'srcloc?', 'stop-after', 'stop-before', 'stream->list',
|
1102
|
+
'stream-add-between', 'stream-andmap', 'stream-append', 'stream-count',
|
1103
|
+
'stream-empty?', 'stream-filter', 'stream-first', 'stream-fold',
|
1104
|
+
'stream-for-each', 'stream-length', 'stream-map', 'stream-ormap',
|
1105
|
+
'stream-ref', 'stream-rest', 'stream-tail', 'stream/c', 'stream?',
|
1106
|
+
'string', 'string->bytes/latin-1', 'string->bytes/locale',
|
1107
|
+
'string->bytes/utf-8', 'string->immutable-string', 'string->keyword',
|
1108
|
+
'string->list', 'string->number', 'string->path',
|
1109
|
+
'string->path-element', 'string->some-system-path', 'string->symbol',
|
1110
|
+
'string->uninterned-symbol', 'string->unreadable-symbol',
|
1111
|
+
'string-append', 'string-append*', 'string-ci<=?', 'string-ci<?',
|
1112
|
+
'string-ci=?', 'string-ci>=?', 'string-ci>?', 'string-contains?',
|
1113
|
+
'string-copy', 'string-copy!', 'string-downcase',
|
1114
|
+
'string-environment-variable-name?', 'string-fill!', 'string-foldcase',
|
1115
|
+
'string-join', 'string-len/c', 'string-length', 'string-locale-ci<?',
|
1116
|
+
'string-locale-ci=?', 'string-locale-ci>?', 'string-locale-downcase',
|
1117
|
+
'string-locale-upcase', 'string-locale<?', 'string-locale=?',
|
1118
|
+
'string-locale>?', 'string-no-nuls?', 'string-normalize-nfc',
|
1119
|
+
'string-normalize-nfd', 'string-normalize-nfkc',
|
1120
|
+
'string-normalize-nfkd', 'string-normalize-spaces', 'string-port?',
|
1121
|
+
'string-prefix?', 'string-ref', 'string-replace', 'string-set!',
|
1122
|
+
'string-split', 'string-suffix?', 'string-titlecase', 'string-trim',
|
1123
|
+
'string-upcase', 'string-utf-8-length', 'string<=?', 'string<?',
|
1124
|
+
'string=?', 'string>=?', 'string>?', 'string?', 'struct->vector',
|
1125
|
+
'struct-accessor-procedure?', 'struct-constructor-procedure?',
|
1126
|
+
'struct-info', 'struct-mutator-procedure?',
|
1127
|
+
'struct-predicate-procedure?', 'struct-type-info',
|
1128
|
+
'struct-type-make-constructor', 'struct-type-make-predicate',
|
1129
|
+
'struct-type-property-accessor-procedure?', 'struct-type-property/c',
|
1130
|
+
'struct-type-property?', 'struct-type?', 'struct:arity-at-least',
|
1131
|
+
'struct:arrow-contract-info', 'struct:date', 'struct:date*',
|
1132
|
+
'struct:exn', 'struct:exn:break', 'struct:exn:break:hang-up',
|
1133
|
+
'struct:exn:break:terminate', 'struct:exn:fail',
|
1134
|
+
'struct:exn:fail:contract', 'struct:exn:fail:contract:arity',
|
1135
|
+
'struct:exn:fail:contract:blame',
|
1136
|
+
'struct:exn:fail:contract:continuation',
|
1137
|
+
'struct:exn:fail:contract:divide-by-zero',
|
1138
|
+
'struct:exn:fail:contract:non-fixnum-result',
|
1139
|
+
'struct:exn:fail:contract:variable', 'struct:exn:fail:filesystem',
|
1140
|
+
'struct:exn:fail:filesystem:errno',
|
1141
|
+
'struct:exn:fail:filesystem:exists',
|
1142
|
+
'struct:exn:fail:filesystem:missing-module',
|
1143
|
+
'struct:exn:fail:filesystem:version', 'struct:exn:fail:network',
|
1144
|
+
'struct:exn:fail:network:errno', 'struct:exn:fail:object',
|
1145
|
+
'struct:exn:fail:out-of-memory', 'struct:exn:fail:read',
|
1146
|
+
'struct:exn:fail:read:eof', 'struct:exn:fail:read:non-char',
|
1147
|
+
'struct:exn:fail:syntax', 'struct:exn:fail:syntax:missing-module',
|
1148
|
+
'struct:exn:fail:syntax:unbound', 'struct:exn:fail:unsupported',
|
1149
|
+
'struct:exn:fail:user', 'struct:srcloc',
|
1150
|
+
'struct:wrapped-extra-arg-arrow', 'struct?', 'sub1', 'subbytes',
|
1151
|
+
'subclass?', 'subclass?/c', 'subprocess', 'subprocess-group-enabled',
|
1152
|
+
'subprocess-kill', 'subprocess-pid', 'subprocess-status',
|
1153
|
+
'subprocess-wait', 'subprocess?', 'subset?', 'substring', 'suggest/c',
|
1154
|
+
'symbol->string', 'symbol-interned?', 'symbol-unreadable?', 'symbol<?',
|
1155
|
+
'symbol=?', 'symbol?', 'symbols', 'sync', 'sync/enable-break',
|
1156
|
+
'sync/timeout', 'sync/timeout/enable-break', 'syntax->datum',
|
1157
|
+
'syntax->list', 'syntax-arm', 'syntax-column', 'syntax-debug-info',
|
1158
|
+
'syntax-disarm', 'syntax-e', 'syntax-line',
|
1159
|
+
'syntax-local-bind-syntaxes', 'syntax-local-certifier',
|
1160
|
+
'syntax-local-context', 'syntax-local-expand-expression',
|
1161
|
+
'syntax-local-get-shadower', 'syntax-local-identifier-as-binding',
|
1162
|
+
'syntax-local-introduce', 'syntax-local-lift-context',
|
1163
|
+
'syntax-local-lift-expression', 'syntax-local-lift-module',
|
1164
|
+
'syntax-local-lift-module-end-declaration',
|
1165
|
+
'syntax-local-lift-provide', 'syntax-local-lift-require',
|
1166
|
+
'syntax-local-lift-values-expression',
|
1167
|
+
'syntax-local-make-definition-context',
|
1168
|
+
'syntax-local-make-delta-introducer',
|
1169
|
+
'syntax-local-module-defined-identifiers',
|
1170
|
+
'syntax-local-module-exports',
|
1171
|
+
'syntax-local-module-required-identifiers', 'syntax-local-name',
|
1172
|
+
'syntax-local-phase-level', 'syntax-local-submodules',
|
1173
|
+
'syntax-local-transforming-module-provides?', 'syntax-local-value',
|
1174
|
+
'syntax-local-value/immediate', 'syntax-original?', 'syntax-position',
|
1175
|
+
'syntax-property', 'syntax-property-preserved?',
|
1176
|
+
'syntax-property-symbol-keys', 'syntax-protect', 'syntax-rearm',
|
1177
|
+
'syntax-recertify', 'syntax-shift-phase-level', 'syntax-source',
|
1178
|
+
'syntax-source-module', 'syntax-span', 'syntax-taint',
|
1179
|
+
'syntax-tainted?', 'syntax-track-origin',
|
1180
|
+
'syntax-transforming-module-expression?',
|
1181
|
+
'syntax-transforming-with-lifts?', 'syntax-transforming?', 'syntax/c',
|
1182
|
+
'syntax?', 'system', 'system*', 'system*/exit-code',
|
1183
|
+
'system-big-endian?', 'system-idle-evt', 'system-language+country',
|
1184
|
+
'system-library-subpath', 'system-path-convention-type', 'system-type',
|
1185
|
+
'system/exit-code', 'tail-marks-match?', 'take', 'take-common-prefix',
|
1186
|
+
'take-right', 'takef', 'takef-right', 'tan', 'tanh',
|
1187
|
+
'tcp-abandon-port', 'tcp-accept', 'tcp-accept-evt',
|
1188
|
+
'tcp-accept-ready?', 'tcp-accept/enable-break', 'tcp-addresses',
|
1189
|
+
'tcp-close', 'tcp-connect', 'tcp-connect/enable-break', 'tcp-listen',
|
1190
|
+
'tcp-listener?', 'tcp-port?', 'tentative-pretty-print-port-cancel',
|
1191
|
+
'tentative-pretty-print-port-transfer', 'tenth', 'terminal-port?',
|
1192
|
+
'the-unsupplied-arg', 'third', 'thread', 'thread-cell-ref',
|
1193
|
+
'thread-cell-set!', 'thread-cell-values?', 'thread-cell?',
|
1194
|
+
'thread-dead-evt', 'thread-dead?', 'thread-group?', 'thread-receive',
|
1195
|
+
'thread-receive-evt', 'thread-resume', 'thread-resume-evt',
|
1196
|
+
'thread-rewind-receive', 'thread-running?', 'thread-send',
|
1197
|
+
'thread-suspend', 'thread-suspend-evt', 'thread-try-receive',
|
1198
|
+
'thread-wait', 'thread/suspend-to-kill', 'thread?', 'time-apply',
|
1199
|
+
'touch', 'transplant-input-port', 'transplant-output-port', 'true',
|
1200
|
+
'truncate', 'udp-addresses', 'udp-bind!', 'udp-bound?', 'udp-close',
|
1201
|
+
'udp-connect!', 'udp-connected?', 'udp-multicast-interface',
|
1202
|
+
'udp-multicast-join-group!', 'udp-multicast-leave-group!',
|
1203
|
+
'udp-multicast-loopback?', 'udp-multicast-set-interface!',
|
1204
|
+
'udp-multicast-set-loopback!', 'udp-multicast-set-ttl!',
|
1205
|
+
'udp-multicast-ttl', 'udp-open-socket', 'udp-receive!',
|
1206
|
+
'udp-receive!*', 'udp-receive!-evt', 'udp-receive!/enable-break',
|
1207
|
+
'udp-receive-ready-evt', 'udp-send', 'udp-send*', 'udp-send-evt',
|
1208
|
+
'udp-send-ready-evt', 'udp-send-to', 'udp-send-to*', 'udp-send-to-evt',
|
1209
|
+
'udp-send-to/enable-break', 'udp-send/enable-break', 'udp?', 'unbox',
|
1210
|
+
'uncaught-exception-handler', 'unit?', 'unspecified-dom',
|
1211
|
+
'unsupplied-arg?', 'use-collection-link-paths',
|
1212
|
+
'use-compiled-file-paths', 'use-user-specific-search-paths',
|
1213
|
+
'user-execute-bit', 'user-read-bit', 'user-write-bit', 'value-blame',
|
1214
|
+
'value-contract', 'values', 'variable-reference->empty-namespace',
|
1215
|
+
'variable-reference->module-base-phase',
|
1216
|
+
'variable-reference->module-declaration-inspector',
|
1217
|
+
'variable-reference->module-path-index',
|
1218
|
+
'variable-reference->module-source', 'variable-reference->namespace',
|
1219
|
+
'variable-reference->phase',
|
1220
|
+
'variable-reference->resolved-module-path',
|
1221
|
+
'variable-reference-constant?', 'variable-reference?', 'vector',
|
1222
|
+
'vector->immutable-vector', 'vector->list',
|
1223
|
+
'vector->pseudo-random-generator', 'vector->pseudo-random-generator!',
|
1224
|
+
'vector->values', 'vector-append', 'vector-argmax', 'vector-argmin',
|
1225
|
+
'vector-copy', 'vector-copy!', 'vector-count', 'vector-drop',
|
1226
|
+
'vector-drop-right', 'vector-fill!', 'vector-filter',
|
1227
|
+
'vector-filter-not', 'vector-immutable', 'vector-immutable/c',
|
1228
|
+
'vector-immutableof', 'vector-length', 'vector-map', 'vector-map!',
|
1229
|
+
'vector-member', 'vector-memq', 'vector-memv', 'vector-ref',
|
1230
|
+
'vector-set!', 'vector-set*!', 'vector-set-performance-stats!',
|
1231
|
+
'vector-split-at', 'vector-split-at-right', 'vector-take',
|
1232
|
+
'vector-take-right', 'vector/c', 'vector?', 'vectorof', 'version',
|
1233
|
+
'void', 'void?', 'weak-box-value', 'weak-box?', 'weak-set',
|
1234
|
+
'weak-seteq', 'weak-seteqv', 'will-execute', 'will-executor?',
|
1235
|
+
'will-register', 'will-try-execute', 'with-input-from-bytes',
|
1236
|
+
'with-input-from-file', 'with-input-from-string',
|
1237
|
+
'with-output-to-bytes', 'with-output-to-file', 'with-output-to-string',
|
1238
|
+
'would-be-future', 'wrap-evt', 'wrapped-extra-arg-arrow',
|
1239
|
+
'wrapped-extra-arg-arrow-extra-neg-party-argument',
|
1240
|
+
'wrapped-extra-arg-arrow-real-func', 'wrapped-extra-arg-arrow?',
|
1241
|
+
'writable<%>', 'write', 'write-byte', 'write-bytes',
|
1242
|
+
'write-bytes-avail', 'write-bytes-avail*', 'write-bytes-avail-evt',
|
1243
|
+
'write-bytes-avail/enable-break', 'write-char', 'write-special',
|
1244
|
+
'write-special-avail*', 'write-special-evt', 'write-string',
|
1245
|
+
'write-to-file', 'writeln', 'xor', 'zero?', '~.a', '~.s', '~.v', '~a',
|
1246
|
+
'~e', '~r', '~s', '~v'
|
1247
1247
|
)
|
1248
1248
|
|
1249
1249
|
_opening_parenthesis = r'[([{]'
|
1250
1250
|
_closing_parenthesis = r'[)\]}]'
|
1251
1251
|
_delimiters = r'()[\]{}",\'`;\s'
|
1252
|
-
_symbol = r'(
|
1252
|
+
_symbol = r'(?:\|[^|]*\||\\[\w\W]|[^|\\%s]+)+' % _delimiters
|
1253
1253
|
_exact_decimal_prefix = r'(?:#e)?(?:#d)?(?:#e)?'
|
1254
1254
|
_exponent = r'(?:[defls][-+]?\d+)'
|
1255
1255
|
_inexact_simple_no_hashes = r'(?:\d+(?:/\d+|\.\d*)?|\.\d+)'
|
@@ -1270,7 +1270,7 @@ class RacketLexer(RegexLexer):
|
|
1270
1270
|
],
|
1271
1271
|
'datum': [
|
1272
1272
|
(r'(?s)#;|#![ /]([^\\\n]|\\.)*', Comment),
|
1273
|
-
(
|
1273
|
+
(r';[^\n\r\x85\u2028\u2029]*', Comment.Single),
|
1274
1274
|
(r'#\|', Comment.Multiline, 'block-comment'),
|
1275
1275
|
|
1276
1276
|
# Whitespaces
|
@@ -1301,16 +1301,16 @@ class RacketLexer(RegexLexer):
|
|
1301
1301
|
(_inexact_simple, _delimiters), Number.Float, '#pop'),
|
1302
1302
|
|
1303
1303
|
# #b
|
1304
|
-
(r'(?
|
1304
|
+
(r'(?iu)(#[ei])?#b%s' % _symbol, Number.Bin, '#pop'),
|
1305
1305
|
|
1306
1306
|
# #o
|
1307
|
-
(r'(?
|
1307
|
+
(r'(?iu)(#[ei])?#o%s' % _symbol, Number.Oct, '#pop'),
|
1308
1308
|
|
1309
1309
|
# #x
|
1310
|
-
(r'(?
|
1310
|
+
(r'(?iu)(#[ei])?#x%s' % _symbol, Number.Hex, '#pop'),
|
1311
1311
|
|
1312
1312
|
# #i is always inexact, i.e. float
|
1313
|
-
(r'(?
|
1313
|
+
(r'(?iu)(#d)?#i%s' % _symbol, Number.Float, '#pop'),
|
1314
1314
|
|
1315
1315
|
# Strings and characters
|
1316
1316
|
(r'#?"', String.Double, ('#pop', 'string')),
|
@@ -1323,7 +1323,7 @@ class RacketLexer(RegexLexer):
|
|
1323
1323
|
(r'#(true|false|[tTfF])', Name.Constant, '#pop'),
|
1324
1324
|
|
1325
1325
|
# Keyword argument names (e.g. #:keyword)
|
1326
|
-
(r'#:%s' % _symbol, Keyword.Declaration, '#pop'),
|
1326
|
+
(r'(?u)#:%s' % _symbol, Keyword.Declaration, '#pop'),
|
1327
1327
|
|
1328
1328
|
# Reader extensions
|
1329
1329
|
(r'(#lang |#!)(\S+)',
|
@@ -1400,7 +1400,7 @@ class RacketLexer(RegexLexer):
|
|
1400
1400
|
|
1401
1401
|
class NewLispLexer(RegexLexer):
|
1402
1402
|
"""
|
1403
|
-
For `newLISP. <www.newlisp.org
|
1403
|
+
For `newLISP. <http://www.newlisp.org/>`_ source code (version 10.3.0).
|
1404
1404
|
|
1405
1405
|
.. versionadded:: 1.5
|
1406
1406
|
"""
|
@@ -1554,7 +1554,7 @@ class EmacsLispLexer(RegexLexer):
|
|
1554
1554
|
# Take a deep breath...
|
1555
1555
|
symbol = r'((?:%s)(?:%s)*)' % (nonmacro, constituent)
|
1556
1556
|
|
1557
|
-
macros =
|
1557
|
+
macros = {
|
1558
1558
|
'atomic-change-group', 'case', 'block', 'cl-block', 'cl-callf', 'cl-callf2',
|
1559
1559
|
'cl-case', 'cl-decf', 'cl-declaim', 'cl-declare',
|
1560
1560
|
'cl-define-compiler-macro', 'cl-defmacro', 'cl-defstruct',
|
@@ -1601,17 +1601,17 @@ class EmacsLispLexer(RegexLexer):
|
|
1601
1601
|
'with-tramp-file-property', 'with-tramp-progress-reporter',
|
1602
1602
|
'with-wrapper-hook', 'load-time-value', 'locally', 'macrolet', 'progv',
|
1603
1603
|
'return-from',
|
1604
|
-
|
1604
|
+
}
|
1605
1605
|
|
1606
|
-
special_forms =
|
1606
|
+
special_forms = {
|
1607
1607
|
'and', 'catch', 'cond', 'condition-case', 'defconst', 'defvar',
|
1608
1608
|
'function', 'if', 'interactive', 'let', 'let*', 'or', 'prog1',
|
1609
1609
|
'prog2', 'progn', 'quote', 'save-current-buffer', 'save-excursion',
|
1610
1610
|
'save-restriction', 'setq', 'setq-default', 'subr-arity',
|
1611
1611
|
'unwind-protect', 'while',
|
1612
|
-
|
1612
|
+
}
|
1613
1613
|
|
1614
|
-
builtin_function =
|
1614
|
+
builtin_function = {
|
1615
1615
|
'%', '*', '+', '-', '/', '/=', '1+', '1-', '<', '<=', '=', '>', '>=',
|
1616
1616
|
'Snarf-documentation', 'abort-recursive-edit', 'abs',
|
1617
1617
|
'accept-process-output', 'access-file', 'accessible-keymaps', 'acos',
|
@@ -1937,8 +1937,9 @@ class EmacsLispLexer(RegexLexer):
|
|
1937
1937
|
'split-window-internal', 'sqrt', 'standard-case-table',
|
1938
1938
|
'standard-category-table', 'standard-syntax-table', 'start-kbd-macro',
|
1939
1939
|
'start-process', 'stop-process', 'store-kbd-macro-event', 'string',
|
1940
|
-
'string
|
1941
|
-
'string-
|
1940
|
+
'string=', 'string<', 'string>', 'string-as-multibyte',
|
1941
|
+
'string-as-unibyte', 'string-bytes', 'string-collate-equalp',
|
1942
|
+
'string-collate-lessp', 'string-equal', 'string-greaterp',
|
1942
1943
|
'string-lessp', 'string-make-multibyte', 'string-make-unibyte',
|
1943
1944
|
'string-match', 'string-to-char', 'string-to-multibyte',
|
1944
1945
|
'string-to-number', 'string-to-syntax', 'string-to-unibyte',
|
@@ -2050,23 +2051,23 @@ class EmacsLispLexer(RegexLexer):
|
|
2050
2051
|
'xw-color-values', 'xw-display-color-p', 'xw-display-color-p',
|
2051
2052
|
'yes-or-no-p', 'zlib-available-p', 'zlib-decompress-region',
|
2052
2053
|
'forward-point',
|
2053
|
-
|
2054
|
+
}
|
2054
2055
|
|
2055
|
-
builtin_function_highlighted =
|
2056
|
+
builtin_function_highlighted = {
|
2056
2057
|
'defvaralias', 'provide', 'require',
|
2057
2058
|
'with-no-warnings', 'define-widget', 'with-electric-help',
|
2058
2059
|
'throw', 'defalias', 'featurep'
|
2059
|
-
|
2060
|
+
}
|
2060
2061
|
|
2061
|
-
lambda_list_keywords =
|
2062
|
+
lambda_list_keywords = {
|
2062
2063
|
'&allow-other-keys', '&aux', '&body', '&environment', '&key', '&optional',
|
2063
2064
|
'&rest', '&whole',
|
2064
|
-
|
2065
|
+
}
|
2065
2066
|
|
2066
|
-
error_keywords =
|
2067
|
+
error_keywords = {
|
2067
2068
|
'cl-assert', 'cl-check-type', 'error', 'signal',
|
2068
2069
|
'user-error', 'warn',
|
2069
|
-
|
2070
|
+
}
|
2070
2071
|
|
2071
2072
|
def get_tokens_unprocessed(self, text):
|
2072
2073
|
stack = ['root']
|
@@ -2154,7 +2155,7 @@ class EmacsLispLexer(RegexLexer):
|
|
2154
2155
|
(r'(t|nil)' + terminated, Name.Constant),
|
2155
2156
|
|
2156
2157
|
# functions and variables
|
2157
|
-
(r'\*' + symbol + '\*', Name.Variable.Global),
|
2158
|
+
(r'\*' + symbol + r'\*', Name.Variable.Global),
|
2158
2159
|
(symbol, Name.Variable),
|
2159
2160
|
|
2160
2161
|
# parentheses
|
@@ -2225,7 +2226,7 @@ class ShenLexer(RegexLexer):
|
|
2225
2226
|
|
2226
2227
|
BUILTINS_ANYWHERE = ('where', 'skip', '>>', '_', '!', '<e>', '<!>')
|
2227
2228
|
|
2228
|
-
MAPPINGS =
|
2229
|
+
MAPPINGS = {s: Keyword for s in DECLARATIONS}
|
2229
2230
|
MAPPINGS.update((s, Name.Builtin) for s in BUILTINS)
|
2230
2231
|
MAPPINGS.update((s, Keyword) for s in SPECIAL_FORMS)
|
2231
2232
|
|
@@ -2276,9 +2277,7 @@ class ShenLexer(RegexLexer):
|
|
2276
2277
|
if self._relevant(token):
|
2277
2278
|
if opening_paren and token == Keyword and value in self.DECLARATIONS:
|
2278
2279
|
declaration = value
|
2279
|
-
|
2280
|
-
self._process_declaration(declaration, tokens):
|
2281
|
-
yield index, token, value
|
2280
|
+
yield from self._process_declaration(declaration, tokens)
|
2282
2281
|
opening_paren = value == '(' and token == Punctuation
|
2283
2282
|
|
2284
2283
|
def _process_symbols(self, tokens):
|
@@ -2327,13 +2326,13 @@ class ShenLexer(RegexLexer):
|
|
2327
2326
|
token = Name.Function if token == Literal else token
|
2328
2327
|
yield index, token, value
|
2329
2328
|
|
2330
|
-
|
2329
|
+
return
|
2331
2330
|
|
2332
2331
|
def _process_signature(self, tokens):
|
2333
2332
|
for index, token, value in tokens:
|
2334
2333
|
if token == Literal and value == '}':
|
2335
2334
|
yield index, Punctuation, value
|
2336
|
-
|
2335
|
+
return
|
2337
2336
|
elif token in (Literal, Name.Function):
|
2338
2337
|
token = Name.Variable if value.istitle() else Keyword.Type
|
2339
2338
|
yield index, token, value
|
@@ -2619,3 +2618,82 @@ class XtlangLexer(RegexLexer):
|
|
2619
2618
|
include('scheme')
|
2620
2619
|
],
|
2621
2620
|
}
|
2621
|
+
|
2622
|
+
|
2623
|
+
class FennelLexer(RegexLexer):
|
2624
|
+
"""A lexer for the `Fennel programming language <https://fennel-lang.org>`_.
|
2625
|
+
|
2626
|
+
Fennel compiles to Lua, so all the Lua builtins are recognized as well
|
2627
|
+
as the special forms that are particular to the Fennel compiler.
|
2628
|
+
|
2629
|
+
.. versionadded:: 2.3
|
2630
|
+
"""
|
2631
|
+
name = 'Fennel'
|
2632
|
+
aliases = ['fennel', 'fnl']
|
2633
|
+
filenames = ['*.fnl']
|
2634
|
+
|
2635
|
+
# these two lists are taken from fennel-mode.el:
|
2636
|
+
# https://gitlab.com/technomancy/fennel-mode
|
2637
|
+
# this list is current as of Fennel version 0.6.0.
|
2638
|
+
special_forms = (
|
2639
|
+
'require-macros', 'eval-compiler', 'doc', 'lua', 'hashfn',
|
2640
|
+
'macro', 'macros', 'import-macros', 'pick-args', 'pick-values',
|
2641
|
+
'macroexpand', 'macrodebug', 'do', 'values', 'if', 'when',
|
2642
|
+
'each', 'for', 'fn', 'lambda', 'λ', 'partial', 'while',
|
2643
|
+
'set', 'global', 'var', 'local', 'let', 'tset', 'set-forcibly!',
|
2644
|
+
'doto', 'match', 'or', 'and', 'true', 'false', 'nil', 'not',
|
2645
|
+
'not=', '.', '+', '..', '^', '-', '*', '%', '/', '>',
|
2646
|
+
'<', '>=', '<=', '=', '...', ':', '->', '->>', '-?>',
|
2647
|
+
'-?>>', 'rshift', 'lshift', 'bor', 'band', 'bnot', 'bxor',
|
2648
|
+
'with-open', 'length'
|
2649
|
+
)
|
2650
|
+
|
2651
|
+
# Might be nicer to use the list from _lua_builtins.py but it's unclear how?
|
2652
|
+
builtins = (
|
2653
|
+
'_G', '_VERSION', 'arg', 'assert', 'bit32', 'collectgarbage',
|
2654
|
+
'coroutine', 'debug', 'dofile', 'error', 'getfenv',
|
2655
|
+
'getmetatable', 'io', 'ipairs', 'load', 'loadfile', 'loadstring',
|
2656
|
+
'math', 'next', 'os', 'package', 'pairs', 'pcall', 'print',
|
2657
|
+
'rawequal', 'rawget', 'rawlen', 'rawset', 'require', 'select',
|
2658
|
+
'setfenv', 'setmetatable', 'string', 'table', 'tonumber',
|
2659
|
+
'tostring', 'type', 'unpack', 'xpcall'
|
2660
|
+
)
|
2661
|
+
|
2662
|
+
# based on the scheme definition, but disallowing leading digits and
|
2663
|
+
# commas, and @ is not allowed.
|
2664
|
+
valid_name = r'[a-zA-Z_!$%&*+/:<=>?^~|-][\w!$%&*+/:<=>?^~|\.-]*'
|
2665
|
+
|
2666
|
+
tokens = {
|
2667
|
+
'root': [
|
2668
|
+
# the only comment form is a semicolon; goes to the end of the line
|
2669
|
+
(r';.*$', Comment.Single),
|
2670
|
+
|
2671
|
+
(r'[,\s]+', Text),
|
2672
|
+
(r'-?\d+\.\d+', Number.Float),
|
2673
|
+
(r'-?\d+', Number.Integer),
|
2674
|
+
|
2675
|
+
(r'"(\\\\|\\"|\\|[^"\\])*"', String),
|
2676
|
+
|
2677
|
+
# these are technically strings, but it's worth visually
|
2678
|
+
# distinguishing them because their intent is different
|
2679
|
+
# from regular strings.
|
2680
|
+
(r':' + valid_name, String.Symbol),
|
2681
|
+
|
2682
|
+
# special forms are keywords
|
2683
|
+
(words(special_forms, suffix=' '), Keyword),
|
2684
|
+
# lua standard library are builtins
|
2685
|
+
(words(builtins, suffix=' '), Name.Builtin),
|
2686
|
+
# special-case the vararg symbol
|
2687
|
+
(r'\.\.\.', Name.Variable),
|
2688
|
+
# regular identifiers
|
2689
|
+
(valid_name, Name.Variable),
|
2690
|
+
|
2691
|
+
# all your normal paired delimiters for your programming enjoyment
|
2692
|
+
(r'(\(|\))', Punctuation),
|
2693
|
+
(r'(\[|\])', Punctuation),
|
2694
|
+
(r'(\{|\})', Punctuation),
|
2695
|
+
|
2696
|
+
# the # symbol is shorthand for a lambda function
|
2697
|
+
(r'#', Punctuation),
|
2698
|
+
]
|
2699
|
+
}
|