Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: 8th |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 3 | " Version: 25.04.01 |
| 4 | " Last Change: 2025 Jun 10 |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 5 | " Maintainer: Ron Aaron <ron@aaron-tech.com> |
| 6 | " URL: https://8th-dev.com/ |
| 7 | " Filetypes: *.8th |
| 8 | " NOTE: You should also have the ftplugin/8th.vim file to set 'isk' |
| 9 | |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 10 | if exists("b:current_syntax") |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 11 | finish |
| 12 | endif |
| 13 | |
| 14 | let s:cpo_save = &cpo |
| 15 | set cpo&vim |
| 16 | syn clear |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 17 | |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 18 | syn sync ccomment |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 19 | syn sync maxlines=200 |
| 20 | |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 21 | syn case match |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 22 | syn iskeyword 33-255 |
| 23 | |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 24 | syn match eighthColonName "\S\+" contained |
| 25 | syn match eighthColonDef ":\s\+\S\+" contains=eighthColonName |
| 26 | |
| 27 | " new words |
| 28 | syn match eighthClasses "\<\S\+:" contained |
| 29 | syn match eighthClassWord "\<\S\+:.\+" contains=eighthClasses |
| 30 | |
| 31 | syn keyword eighthEndOfColonDef ; i; |
| 32 | syn keyword eighthDefine var var, |
| 33 | |
Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 34 | " Built in words: |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 35 | com! -nargs=+ Builtin syn keyword eighthBuiltin <args> |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 36 | |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 37 | |
| 38 | Builtin gen-secret 2fa:gen-secret gen-url 2fa:gen-url validate-code 2fa:validate-code cb AWS:cb cli AWS:cli |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 39 | Builtin cmd AWS:cmd cp AWS:cp rc AWS:rc LIBS DBUS:LIBS call DBUS:call init DBUS:init + DOM:+ - DOM:- |
| 40 | Builtin attr! DOM:attr! attr@ DOM:attr@ attrs DOM:attrs children DOM:children css-parse DOM:css-parse |
| 41 | Builtin each DOM:each find DOM:find new DOM:new type DOM:type ! G:! !if G:!if #! G:#! ## G:## #if G:#if |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 42 | Builtin #ifdef G:#ifdef #ifeval G:#ifeval ' G:' ( G:( (:) G:(:) (code) G:(code) (defer) G:(defer) (dump) G:(dump) |
| 43 | Builtin (getc) G:(getc) (gets) G:(gets) (interp) G:(interp) (log) G:(log) (needs) G:(needs) (parseln) G:(parseln) |
| 44 | Builtin (putc) G:(putc) (puts) G:(puts) (stat) G:(stat) (with) G:(with) ) G:) +hook G:+hook +ref G:+ref |
| 45 | Builtin ,# G:,# -----BEGIN G:-----BEGIN -Inf G:-Inf -Inf? G:-Inf? -hook G:-hook -ref G:-ref -rot G:-rot |
| 46 | Builtin . G:. .# G:.# .hook G:.hook .needs G:.needs .r G:.r .s G:.s .s-truncate G:.s-truncate .stats G:.stats |
| 47 | Builtin .ver G:.ver .with G:.with 0; G:0; 2dip G:2dip 2drop G:2drop 2dup G:2dup 2nip G:2nip 2over G:2over |
| 48 | Builtin 2swap G:2swap 2tuck G:2tuck 3drop G:3drop 3dup G:3dup 3rev G:3rev 4drop G:4drop 8thdt? G:8thdt? |
| 49 | Builtin 8thsku? G:8thsku? 8thver? G:8thver? 8thvernum? G:8thvernum? : G:: ; G:; ;; G:;; ;;; G:;;; ;with G:;with |
| 50 | Builtin >clip G:>clip >clip-mime G:>clip-mime >json G:>json >kind G:>kind >n G:>n >r G:>r >s G:>s ?: G:?: |
| 51 | Builtin ?@ G:?@ @ G:@ BITMAP: G:BITMAP: ENUM: G:ENUM: FLAG: G:FLAG: I G:I Inf G:Inf Inf? G:Inf? J G:J |
| 52 | Builtin K G:K NaN G:NaN NaN? G:NaN? SED-CHECK G:SED-CHECK SED: G:SED: SED: G:SED: X G:X \ G:\ _dup G:_dup |
| 53 | Builtin _swap G:_swap actor: G:actor: again G:again ahead G:ahead all-words G:all-words and G:and apropos G:apropos |
| 54 | Builtin argc G:argc args G:args array? G:array? assert G:assert base G:base base>n G:base>n bi G:bi |
| 55 | Builtin bits G:bits break G:break break? G:break? breakif G:breakif build? G:build? buildver? G:buildver? |
| 56 | Builtin bye G:bye c/does G:c/does case: G:case: catch G:catch chdir G:chdir clip-mime> G:clip-mime> |
| 57 | Builtin clip-mime? G:clip-mime? clip> G:clip> clone G:clone clone-shallow G:clone-shallow cold G:cold |
| 58 | Builtin compile G:compile compile? G:compile? compiling? G:compiling? conflict G:conflict const G:const |
| 59 | Builtin container? G:container? counting-allocations G:counting-allocations cr G:cr critical: G:critical: |
| 60 | Builtin critical; G:critical; curlang G:curlang curry G:curry curry: G:curry: decimal G:decimal default: G:default: |
| 61 | Builtin defer: G:defer: deferred: G:deferred: deg>rad G:deg>rad depth G:depth die G:die dip G:dip drop G:drop |
| 62 | Builtin dstack G:dstack dump G:dump dup G:dup dup>r G:dup>r dup? G:dup? e# G:e# enum: G:enum: error? G:error? |
| 63 | Builtin eval G:eval eval! G:eval! eval0 G:eval0 exit G:exit expect G:expect extra! G:extra! extra@ G:extra@ |
| 64 | Builtin false G:false fnv G:fnv fourth G:fourth free G:free func: G:func: getc G:getc getcwd G:getcwd |
| 65 | Builtin getenv G:getenv gets G:gets goto G:goto handler G:handler header G:header help G:help help_db G:help_db |
| 66 | Builtin here G:here hex G:hex i: G:i: i; G:i; immutable G:immutable isa? G:isa? items-used G:items-used |
| 67 | Builtin jcall G:jcall jclass G:jclass jmethod G:jmethod json! G:json! json-8th> G:json-8th> json-nesting G:json-nesting |
| 68 | Builtin json-pretty G:json-pretty json-throw G:json-throw json> G:json> json@ G:json@ k32 G:k32 keep G:keep |
| 69 | Builtin l: G:l: last G:last lib G:lib libbin G:libbin libc G:libc libimg G:libimg literal G:literal |
| 70 | Builtin locals: G:locals: lock G:lock lock-to G:lock-to locked? G:locked? log G:log logl G:logl long-days G:long-days |
| 71 | Builtin long-months G:long-months longjmp G:longjmp lookup G:lookup loop G:loop loop- G:loop- map? G:map? |
| 72 | Builtin mark G:mark mark? G:mark? mobile? G:mobile? n# G:n# name>os G:name>os name>sem G:name>sem ndrop G:ndrop |
| 73 | Builtin needs G:needs needs-throws G:needs-throws new G:new next-arg G:next-arg nip G:nip noop G:noop |
| 74 | Builtin not G:not nothrow G:nothrow ns G:ns ns: G:ns: ns>ls G:ns>ls ns>s G:ns>s ns? G:ns? null G:null |
| 75 | Builtin null; G:null; null? G:null? nullvar G:nullvar number? G:number? of: G:of: off G:off on G:on |
| 76 | Builtin onexit G:onexit only G:only op! G:op! or G:or os G:os os-names G:os-names os>long-name G:os>long-name |
| 77 | Builtin os>name G:os>name over G:over p: G:p: pack G:pack parse G:parse parse-csv G:parse-csv parse-date G:parse-date |
| 78 | Builtin parsech G:parsech parseln G:parseln parsews G:parsews pick G:pick poke G:poke pool-clear G:pool-clear |
| 79 | Builtin pool-clear-all G:pool-clear-all prior G:prior private G:private process-args G:process-args |
| 80 | Builtin process-args-fancy G:process-args-fancy process-args-help G:process-args-help prompt G:prompt |
| 81 | Builtin public G:public putc G:putc puts G:puts quote G:quote r! G:r! r> G:r> r@ G:r@ rad>deg G:rad>deg |
| 82 | Builtin rand-float G:rand-float rand-float-signed G:rand-float-signed rand-jit G:rand-jit rand-jsf G:rand-jsf |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 83 | Builtin rand-native G:rand-native rand-normal G:rand-normal rand-pcg G:rand-pcg rand-pcg-seed G:rand-pcg-seed |
| 84 | Builtin rand-range G:rand-range rand-select G:rand-select randbuf-pcg G:randbuf-pcg random G:random |
| 85 | Builtin rdrop G:rdrop recurse G:recurse recurse-stack G:recurse-stack ref@ G:ref@ reg! G:reg! reg@ G:reg@ |
| 86 | Builtin regbin@ G:regbin@ remaining-args G:remaining-args repeat G:repeat requires G:requires reset G:reset |
| 87 | Builtin roll G:roll rop! G:rop! rot G:rot rpick G:rpick rreset G:rreset rroll G:rroll rstack G:rstack |
| 88 | Builtin rswap G:rswap rusage G:rusage s>ns G:s>ns same? G:same? scriptdir G:scriptdir scriptfile G:scriptfile |
| 89 | Builtin sem G:sem sem-post G:sem-post sem-rm G:sem-rm sem-wait G:sem-wait sem-wait? G:sem-wait? sem>name G:sem>name |
| 90 | Builtin semi-throw G:semi-throw set-wipe G:set-wipe setenv G:setenv setjmp G:setjmp settings! G:settings! |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 91 | Builtin settings![] G:settings![] settings-clear G:settings-clear settings-db-name G:settings-db-name |
| 92 | Builtin settings-gather G:settings-gather settings-load G:settings-load settings-save G:settings-save |
| 93 | Builtin settings-save-these G:settings-save-these settings-ungather G:settings-ungather settings@ G:settings@ |
| 94 | Builtin settings@? G:settings@? settings@[] G:settings@[] sh G:sh sh! G:sh! sh!to G:sh!to sh$ G:sh$ |
| 95 | Builtin short-days G:short-days short-months G:short-months sleep G:sleep sleep-msec G:sleep-msec sleep-nsec G:sleep-nsec |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 96 | Builtin sleep-until G:sleep-until slog G:slog space G:space stack-check G:stack-check stack-size G:stack-size |
| 97 | Builtin step G:step sthrow G:sthrow string? G:string? struct: G:struct: swap G:swap tab-hook G:tab-hook |
| 98 | Builtin tell-conflict G:tell-conflict tempdir G:tempdir tempfilename G:tempfilename third G:third throw G:throw |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 99 | Builtin thrownull G:thrownull times G:times toggle G:toggle tri G:tri true G:true tuck G:tuck type-check G:type-check |
| 100 | Builtin typeassert G:typeassert uid G:uid uname G:uname unlock G:unlock unpack G:unpack until G:until |
| 101 | Builtin until! G:until! while G:while while! G:while! with: G:with: word? G:word? words G:words words-like G:words-like |
| 102 | Builtin words/ G:words/ xchg G:xchg xor G:xor >auth HTTP:>auth (curry) I:(curry) appopts I:appopts |
| 103 | Builtin notimpl I:notimpl sh I:sh call JSONRPC:call auth-string OAuth:auth-string gen-nonce OAuth:gen-nonce |
| 104 | Builtin params OAuth:params call SOAP:call ! a:! + a:+ - a:- / a:/ 2each a:2each 2len a:2len 2map a:2map |
| 105 | Builtin 2map+ a:2map+ 2map= a:2map= <> a:<> = a:= @ a:@ @? a:@? _@ a:_@ _len a:_len _push a:_push all a:all |
| 106 | Builtin any a:any bsearch a:bsearch centroid a:centroid clear a:clear close a:close cmp a:cmp diff a:diff |
| 107 | Builtin dot a:dot each a:each each! a:each! each-par a:each-par each-slice a:each-slice exists? a:exists? |
| 108 | Builtin filter a:filter filter-par a:filter-par generate a:generate group a:group indexof a:indexof |
| 109 | Builtin insert a:insert intersect a:intersect join a:join len a:len map a:map map+ a:map+ map-par a:map-par |
| 110 | Builtin map= a:map= maxlen a:maxlen mean a:mean mean&variance a:mean&variance merge a:merge new a:new |
| 111 | Builtin op! a:op! open a:open pigeon a:pigeon pivot a:pivot pop a:pop push a:push qsort a:qsort randeach a:randeach |
| 112 | Builtin reduce a:reduce reduce+ a:reduce+ remove a:remove rev a:rev rindexof a:rindexof shift a:shift |
| 113 | Builtin shuffle a:shuffle slice a:slice slice+ a:slice+ slide a:slide smear a:smear sort a:sort split a:split |
| 114 | Builtin squash a:squash switch a:switch union a:union uniq a:uniq unzip a:unzip x a:x x-each a:x-each |
| 115 | Builtin xchg a:xchg y a:y zip a:zip 8thdir app:8thdir asset app:asset atrun app:atrun atrun app:atrun |
| 116 | Builtin atrun app:atrun basedir app:basedir basename app:basename config-file-name app:config-file-name |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 117 | Builtin current app:current datadir app:datadir display-moved app:display-moved exename app:exename |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 118 | Builtin localechanged app:localechanged lowmem app:lowmem main app:main meta! app:meta! meta@ app:meta@ |
| 119 | Builtin name app:name onback app:onback oncrash app:oncrash opts! app:opts! opts@ app:opts@ orientation app:orientation |
| 120 | Builtin orientation! app:orientation! pid app:pid post-main app:post-main pre-main app:pre-main privdir app:privdir |
| 121 | Builtin quiet? app:quiet? raise app:raise read-config app:read-config read-config-map app:read-config-map |
| 122 | Builtin read-config-var app:read-config-var request-perm app:request-perm restart app:restart resumed app:resumed |
| 123 | Builtin signal app:signal standalone app:standalone standalone! app:standalone! subdir app:subdir suspended app:suspended |
| 124 | Builtin sysquit app:sysquit terminated app:terminated theme? app:theme? themechanged app:themechanged |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 125 | Builtin ticks app:ticks timeout app:timeout trap app:trap dawn astro:dawn do-dawn astro:do-dawn do-dusk astro:do-dusk |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 126 | Builtin do-rise astro:do-rise dst! astro:dst! dusk astro:dusk latitude astro:latitude location! astro:location! |
| 127 | Builtin longitude astro:longitude sunrise astro:sunrise genkeys auth:genkeys secret auth:secret session-id auth:session-id |
| 128 | Builtin session-key auth:session-key validate auth:validate ! b:! + b:+ / b:/ 1+ b:1+ 1- b:1- <> b:<> |
| 129 | Builtin = b:= >base16 b:>base16 >base32 b:>base32 >base64 b:>base64 >base85 b:>base85 >hex b:>hex >mpack b:>mpack |
| 130 | Builtin @ b:@ ICONVLIBS b:ICONVLIBS append b:append base16> b:base16> base32> b:base32> base64> b:base64> |
| 131 | Builtin base85> b:base85> bit! b:bit! bit@ b:bit@ clear b:clear compress b:compress conv b:conv each b:each |
| 132 | Builtin each! b:each! each-slice b:each-slice expand b:expand fill b:fill getb b:getb hex> b:hex> len b:len |
| 133 | Builtin mem> b:mem> move b:move mpack-compat b:mpack-compat mpack-date b:mpack-date mpack-ignore b:mpack-ignore |
| 134 | Builtin mpack> b:mpack> n! b:n! n+ b:n+ n@ b:n@ new b:new op b:op op! b:op! pad b:pad rev b:rev search b:search |
| 135 | Builtin shmem b:shmem slice b:slice splice b:splice ungetb b:ungetb unpad b:unpad writable b:writable |
| 136 | Builtin xor b:xor +block bc:+block .blocks bc:.blocks add-block bc:add-block block-hash bc:block-hash |
| 137 | Builtin block@ bc:block@ first-block bc:first-block hash bc:hash last-block bc:last-block load bc:load |
| 138 | Builtin new bc:new save bc:save set-sql bc:set-sql validate bc:validate validate-block bc:validate-block |
| 139 | Builtin add bloom:add filter bloom:filter in? bloom:in? parse bson:parse LIBS bt:LIBS accept bt:accept |
| 140 | Builtin ch! bt:ch! ch@ bt:ch@ connect bt:connect disconnect bt:disconnect init bt:init leconnect bt:leconnect |
| 141 | Builtin lescan bt:lescan listen bt:listen on? bt:on? read bt:read scan bt:scan service? bt:service? |
| 142 | Builtin services? bt:services? write bt:write * c:* * c:* + c:+ + c:+ = c:= = c:= >polar c:>polar >polar c:>polar |
| 143 | Builtin >ri c:>ri >ri c:>ri ^ c:^ ^ c:^ abs c:abs abs c:abs arg c:arg arg c:arg conj c:conj conj c:conj |
| 144 | Builtin im c:im im c:im log c:log log c:log n> c:n> n> c:n> new c:new new c:new polar> c:polar> polar> c:polar> |
| 145 | Builtin re c:re re c:re (.hebrew) cal:(.hebrew) (.islamic) cal:(.islamic) .hebrew cal:.hebrew .islamic cal:.islamic |
| 146 | Builtin >hebepoch cal:>hebepoch >jdn cal:>jdn Adar cal:Adar Adar2 cal:Adar2 Av cal:Av Elul cal:Elul |
| 147 | Builtin Heshvan cal:Heshvan Iyar cal:Iyar Kislev cal:Kislev Nissan cal:Nissan Shevat cal:Shevat Sivan cal:Sivan |
| 148 | Builtin Tammuz cal:Tammuz Tevet cal:Tevet Tishrei cal:Tishrei d>iso cal:d>iso d>week cal:d>week days-in-hebrew-year cal:days-in-hebrew-year |
| 149 | Builtin displaying-hebrew cal:displaying-hebrew fixed>hebrew cal:fixed>hebrew fixed>islamic cal:fixed>islamic |
| 150 | Builtin gershayim cal:gershayim hanukkah cal:hanukkah hebrew-epoch cal:hebrew-epoch hebrew-leap-year? cal:hebrew-leap-year? |
| 151 | Builtin hebrew-leap-year? cal:hebrew-leap-year? hebrew>fixed cal:hebrew>fixed hebrewtoday cal:hebrewtoday |
| 152 | Builtin hmonth-name cal:hmonth-name islamic.epoch cal:islamic.epoch islamic>fixed cal:islamic>fixed |
| 153 | Builtin islamictoday cal:islamictoday iso>d cal:iso>d jdn> cal:jdn> last-day-of-hebrew-month cal:last-day-of-hebrew-month |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 154 | Builtin number>hebrew cal:number>hebrew omer cal:omer pesach cal:pesach purim cal:purim rosh-chodesh? cal:rosh-chodesh? |
| 155 | Builtin rosh-hashanah cal:rosh-hashanah shavuot cal:shavuot taanit-esther cal:taanit-esther tisha-beav cal:tisha-beav |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 156 | Builtin week>d cal:week>d yom-haatsmaut cal:yom-haatsmaut yom-kippur cal:yom-kippur >hsva clr:>hsva |
| 157 | Builtin complement clr:complement dist clr:dist gradient clr:gradient hsva> clr:hsva> invert clr:invert |
| 158 | Builtin names clr:names nearest-name clr:nearest-name parse clr:parse >redir con:>redir accept con:accept |
| 159 | Builtin accept-nl con:accept-nl accept-pwd con:accept-pwd alert con:alert ansi? con:ansi? black con:black |
| 160 | Builtin blue con:blue clreol con:clreol cls con:cls ctrld-empty con:ctrld-empty cyan con:cyan down con:down |
| 161 | Builtin file>history con:file>history free con:free getxy con:getxy gotoxy con:gotoxy green con:green |
| 162 | Builtin history-handler con:history-handler history>file con:history>file init con:init key con:key |
| 163 | Builtin key? con:key? left con:left load-history con:load-history magenta con:magenta max-history con:max-history |
| 164 | Builtin onBlack con:onBlack onBlue con:onBlue onCyan con:onCyan onGreen con:onGreen onMagenta con:onMagenta |
| 165 | Builtin onRed con:onRed onWhite con:onWhite onYellow con:onYellow print con:print red con:red redir> con:redir> |
| 166 | Builtin redir? con:redir? right con:right save-history con:save-history size? con:size? up con:up white con:white |
| 167 | Builtin yellow con:yellow >aes128gcm cr:>aes128gcm >aes256gcm cr:>aes256gcm >cp cr:>cp >cpe cr:>cpe |
| 168 | Builtin >decrypt cr:>decrypt >edbox cr:>edbox >encrypt cr:>encrypt >nbuf cr:>nbuf >rsabox cr:>rsabox |
| 169 | Builtin >uuid cr:>uuid aad? cr:aad? aes128box-sig cr:aes128box-sig aes128gcm> cr:aes128gcm> aes256box-sig cr:aes256box-sig |
| 170 | Builtin aes256gcm> cr:aes256gcm> aesgcm cr:aesgcm blakehash cr:blakehash chacha20box-sig cr:chacha20box-sig |
| 171 | Builtin chachapoly cr:chachapoly cipher! cr:cipher! cipher@ cr:cipher@ ciphers cr:ciphers cp> cr:cp> |
| 172 | Builtin cpe> cr:cpe> decrypt cr:decrypt decrypt+ cr:decrypt+ decrypt> cr:decrypt> ebox-sig cr:ebox-sig |
| 173 | Builtin ecc-curves cr:ecc-curves ecc-genkey cr:ecc-genkey ecc-secret cr:ecc-secret ecc-sign cr:ecc-sign |
| 174 | Builtin ecc-verify cr:ecc-verify ed25519 cr:ed25519 ed25519-secret cr:ed25519-secret ed25519-sign cr:ed25519-sign |
| 175 | Builtin ed25519-verify cr:ed25519-verify edbox-sig cr:edbox-sig edbox> cr:edbox> encrypt cr:encrypt |
| 176 | Builtin encrypt+ cr:encrypt+ encrypt> cr:encrypt> ensurekey cr:ensurekey genkey cr:genkey hash cr:hash |
| 177 | Builtin hash! cr:hash! hash+ cr:hash+ hash>b cr:hash>b hash>s cr:hash>s hash@ cr:hash@ hashes cr:hashes |
| 178 | Builtin hmac cr:hmac hotp cr:hotp iv? cr:iv? pem-read cr:pem-read pem-write cr:pem-write pwd-valid? cr:pwd-valid? |
| 179 | Builtin pwd/ cr:pwd/ pwd>hash cr:pwd>hash rand cr:rand randbuf cr:randbuf randkey cr:randkey random-salt cr:random-salt |
| 180 | Builtin restore cr:restore root-certs cr:root-certs rsa_decrypt cr:rsa_decrypt rsa_encrypt cr:rsa_encrypt |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 181 | Builtin rsa_sign cr:rsa_sign rsa_verify cr:rsa_verify rsabox-sig cr:rsabox-sig rsabox> cr:rsabox> rsagenkey cr:rsagenkey |
Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 182 | Builtin save cr:save sbox-sig cr:sbox-sig sha1-hmac cr:sha1-hmac shard cr:shard tag? cr:tag? totp cr:totp |
| 183 | Builtin totp-epoch cr:totp-epoch totp-time-step cr:totp-time-step unshard cr:unshard uuid cr:uuid uuid> cr:uuid> |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 184 | Builtin validate-pgp-sig cr:validate-pgp-sig validate-pwd cr:validate-pwd (.time) d:(.time) + d:+ +day d:+day |
| 185 | Builtin +hour d:+hour +min d:+min +msec d:+msec - d:- .time d:.time / d:/ = d:= >fixed d:>fixed >hmds d:>hmds |
| 186 | Builtin >hmds: d:>hmds: >msec d:>msec >unix d:>unix >ymd d:>ymd ?= d:?= Fri d:Fri Mon d:Mon Sat d:Sat |
| 187 | Builtin Sun d:Sun Thu d:Thu Tue d:Tue Wed d:Wed adjust-dst d:adjust-dst alarm d:alarm approx! d:approx! |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 188 | Builtin approx? d:approx? approximates! d:approximates! between d:between cmp d:cmp d. d:d. daylight-db d:daylight-db |
| 189 | Builtin default-now d:default-now doy d:doy dst-ofs d:dst-ofs dst? d:dst? dstinfo d:dstinfo dstquery d:dstquery |
| 190 | Builtin dstzones? d:dstzones? elapsed-timer d:elapsed-timer elapsed-timer-hmds d:elapsed-timer-hmds |
| 191 | Builtin elapsed-timer-msec d:elapsed-timer-msec elapsed-timer-seconds d:elapsed-timer-seconds first-dow d:first-dow |
| 192 | Builtin fixed> d:fixed> fixed>dow d:fixed>dow fixed>iso d:fixed>iso format d:format iso>fixed d:iso>fixed |
| 193 | Builtin join d:join last-dow d:last-dow last-month d:last-month last-week d:last-week last-year d:last-year |
| 194 | Builtin leap? d:leap? mdays d:mdays msec d:msec msec> d:msec> new d:new next-dow d:next-dow next-month d:next-month |
| 195 | Builtin next-week d:next-week next-year d:next-year parse d:parse parse-approx d:parse-approx parse-range d:parse-range |
| 196 | Builtin prev-dow d:prev-dow relative d:relative rfc5322 d:rfc5322 start-timer d:start-timer ticks d:ticks |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 197 | Builtin ticks/sec d:ticks/sec timer d:timer timer-ctrl d:timer-ctrl tzadjust d:tzadjust unix> d:unix> |
| 198 | Builtin unknown d:unknown unknown? d:unknown? updatetz d:updatetz year@ d:year@ ymd d:ymd ymd> d:ymd> |
| 199 | Builtin MYSQLLIB db:MYSQLLIB ODBCLIB db:ODBCLIB add-func db:add-func aes! db:aes! again? db:again? |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 200 | Builtin begin db:begin bind db:bind bind-exec db:bind-exec bind-exec{} db:bind-exec{} close db:close |
| 201 | Builtin col db:col col{} db:col{} commit db:commit db db:db dbpush db:dbpush disuse db:disuse each db:each |
| 202 | Builtin err-handler db:err-handler exec db:exec exec-cb db:exec-cb exec-name db:exec-name exec{} db:exec{} |
| 203 | Builtin get db:get get-sub db:get-sub key db:key kind? db:kind? last-rowid db:last-rowid mysql? db:mysql? |
| 204 | Builtin odbc? db:odbc? open db:open open? db:open? prep-name db:prep-name prepare db:prepare query db:query |
| 205 | Builtin query-all db:query-all rekey db:rekey rollback db:rollback set db:set set-sub db:set-sub sql@ db:sql@ |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 206 | Builtin sql[] db:sql[] sql[np] db:sql[np] sql{np} db:sql{np} sql{} db:sql{} use db:use zip db:zip .state dbg:.state |
| 207 | Builtin bp dbg:bp bt dbg:bt except-task@ dbg:except-task@ go dbg:go prompt dbg:prompt see dbg:see stop dbg:stop |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 208 | Builtin trace dbg:trace pso ds:pso / f:/ >posix f:>posix abspath f:abspath absrel f:absrel append f:append |
| 209 | Builtin associate f:associate atime f:atime autodel f:autodel canwrite? f:canwrite? chmod f:chmod close f:close |
| 210 | Builtin copy f:copy copydir f:copydir create f:create ctime f:ctime dir? f:dir? dname f:dname eachbuf f:eachbuf |
| 211 | Builtin eachline f:eachline enssep f:enssep eof? f:eof? epub-meta f:epub-meta exec f:exec exists? f:exists? |
| 212 | Builtin expand f:expand expand-home f:expand-home flush f:flush fname f:fname getb f:getb getc f:getc |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 213 | Builtin getline f:getline getmod f:getmod glob f:glob glob-links f:glob-links glob-nocase f:glob-nocase |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 214 | Builtin globfilter f:globfilter gunz f:gunz homedir f:homedir homedir! f:homedir! include f:include |
| 215 | Builtin ioctl f:ioctl join f:join launch f:launch link f:link link> f:link> link? f:link? lock f:lock |
| 216 | Builtin mkdir f:mkdir mmap f:mmap mmap-range f:mmap-range mmap-range? f:mmap-range? mtime f:mtime mv f:mv |
| 217 | Builtin name@ f:name@ open f:open open! f:open! open-ro f:open-ro popen f:popen popen3 f:popen3 print f:print |
| 218 | Builtin read f:read read-buf f:read-buf read? f:read? relpath f:relpath rglob f:rglob rm f:rm rmdir f:rmdir |
| 219 | Builtin seek f:seek sep f:sep size f:size slurp f:slurp sparse? f:sparse? spit f:spit stderr f:stderr |
| 220 | Builtin stdin f:stdin stdout f:stdout tell f:tell tempfile f:tempfile tilde f:tilde tilde? f:tilde? |
| 221 | Builtin times f:times tmpspit f:tmpspit trash f:trash truncate f:truncate ungetb f:ungetb ungetc f:ungetc |
| 222 | Builtin unzip f:unzip unzip-entry f:unzip-entry watch f:watch write f:write writen f:writen zip+ f:zip+ |
| 223 | Builtin zip@ f:zip@ zipentry f:zipentry zipnew f:zipnew zipopen f:zipopen zipsave f:zipsave atlas! font:atlas! |
| 224 | Builtin atlas@ font:atlas@ default-size font:default-size default-size@ font:default-size@ info font:info |
| 225 | Builtin ls font:ls measure font:measure new font:new oversample font:oversample pixels font:pixels |
| 226 | Builtin pixels? font:pixels? system font:system system font:system filebrowser g:filebrowser media? g:media? |
| 227 | Builtin event-loop game:event-loop init game:init state! game:state! state@ game:state@ distance geo:distance |
| 228 | Builtin km/deg-lat geo:km/deg-lat km/deg-lon geo:km/deg-lon nearest geo:nearest close gpio:close flags! gpio:flags! |
| 229 | Builtin info gpio:info init gpio:init line gpio:line open gpio:open read gpio:read req gpio:req write gpio:write |
| 230 | Builtin +edge gr:+edge +edge+w gr:+edge+w +node gr:+node connect gr:connect edges gr:edges edges! gr:edges! |
| 231 | Builtin m! gr:m! m@ gr:m@ neighbors gr:neighbors new gr:new node-edges gr:node-edges nodes gr:nodes |
| 232 | Builtin traverse gr:traverse weight! gr:weight! + h:+ @ h:@ clear h:clear cmp! h:cmp! len h:len max! h:max! |
| 233 | Builtin new h:new peek h:peek pop h:pop push h:push unique h:unique parse html:parse arm? hw:arm? camera hw:camera |
| 234 | Builtin camera-img hw:camera-img camera? hw:camera? cpu? hw:cpu? device? hw:device? displays? hw:displays? |
| 235 | Builtin displaysize? hw:displaysize? finger-match hw:finger-match finger-support hw:finger-support |
| 236 | Builtin i2c hw:i2c i2c! hw:i2c! i2c!reg hw:i2c!reg i2c@ hw:i2c@ i2c@reg hw:i2c@reg isround? hw:isround? |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 237 | Builtin iswatch? hw:iswatch? mac? hw:mac? mem? hw:mem? model? hw:model? poll hw:poll sensor hw:sensor |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 238 | Builtin sensor-event hw:sensor-event sensors? hw:sensors? start hw:start stop hw:stop touch? hw:touch? |
| 239 | Builtin uid? hw:uid? fetch-full imap:fetch-full fetch-uid-mail imap:fetch-uid-mail login imap:login |
| 240 | Builtin logout imap:logout new imap:new search imap:search select-inbox imap:select-inbox >file img:>file |
| 241 | Builtin >fmt img:>fmt ECC-HIGH img:ECC-HIGH ECC-LOW img:ECC-LOW ECC-MEDIUM img:ECC-MEDIUM ECC-QUARTILE img:ECC-QUARTILE |
| 242 | Builtin copy img:copy crop img:crop data img:data desat img:desat draw img:draw draw-sub img:draw-sub |
| 243 | Builtin exif img:exif exif-rotate? img:exif-rotate? fill img:fill fillrect img:fillrect filter img:filter |
| 244 | Builtin fit img:fit flip img:flip from-svg img:from-svg line img:line new img:new pikchr img:pikchr |
| 245 | Builtin pix! img:pix! pix@ img:pix@ qr-black img:qr-black qr-block img:qr-block qr-gen img:qr-gen qr-margin img:qr-margin |
| 246 | Builtin qr-parse img:qr-parse qr-white img:qr-white qr>img img:qr>img rect img:rect rotate img:rotate |
| 247 | Builtin scale img:scale scroll img:scroll size img:size countries iso:countries languages iso:languages |
| 248 | Builtin bearing loc:bearing city loc:city city-db loc:city-db city-exact loc:city-exact city-exact loc:city-exact |
| 249 | Builtin city-version loc:city-version city_country loc:city_country find loc:find sort loc:sort console log:console |
| 250 | Builtin file log:file hook log:hook level log:level local log:local qsize log:qsize syslog log:syslog |
| 251 | Builtin task log:task time log:time ! m:! !? m:!? + m:+ +? m:+? - m:- <> m:<> = m:= >arr m:>arr @ m:@ |
| 252 | Builtin @? m:@? _! m:_! _@ m:_@ _@? m:_@? accumulate m:accumulate alias m:alias arr> m:arr> bitmap m:bitmap |
| 253 | Builtin clear m:clear data m:data each m:each exists? m:exists? filter m:filter ic m:ic iter m:iter |
| 254 | Builtin iter-all m:iter-all keys m:keys len m:len map m:map merge m:merge new m:new op! m:op! open m:open |
| 255 | Builtin slice m:slice vals m:vals xchg m:xchg zip m:zip ! mat:! * mat:* + mat:+ = mat:= @ mat:@ affine mat:affine |
| 256 | Builtin col mat:col data mat:data det mat:det dim? mat:dim? get-n mat:get-n ident mat:ident inv mat:inv |
| 257 | Builtin m. mat:m. minor mat:minor n* mat:n* new mat:new new-minor mat:new-minor rotate mat:rotate row mat:row |
| 258 | Builtin same-size? mat:same-size? scale mat:scale shear mat:shear trans mat:trans translate mat:translate |
| 259 | Builtin xform mat:xform 2console md:2console 2html md:2html 2nk md:2nk 8th? md:8th? user! md:user! |
| 260 | Builtin user!@ md:user!@ user@ md:user@ user@@ md:user@@ color meta:color console meta:console gui meta:gui |
| 261 | Builtin meta meta:meta ! n:! * n:* */ n:*/ + n:+ +! n:+! - n:- / n:/ /mod n:/mod 1+ n:1+ 1- n:1- < n:< |
| 262 | Builtin = n:= > n:> >bool n:>bool BIGE n:BIGE BIGPI n:BIGPI E n:E PI n:PI ^ n:^ _mod n:_mod abs n:abs |
| 263 | Builtin acos n:acos acosd n:acosd acosh n:acosh andor n:andor asin n:asin asind n:asind asinh n:asinh |
| 264 | Builtin atan n:atan atan2 n:atan2 atand n:atand atanh n:atanh band n:band between n:between bfloat n:bfloat |
| 265 | Builtin bic n:bic bint n:bint binv n:binv bits? n:bits? bnot n:bnot bor n:bor bxor n:bxor cast n:cast |
| 266 | Builtin ceil n:ceil clamp n:clamp clz? n:clz? cmp n:cmp comb n:comb cos n:cos cosd n:cosd cosh n:cosh |
| 267 | Builtin ctz? n:ctz? emod n:emod erf n:erf erfc n:erfc exp n:exp expm1 n:expm1 expmod n:expmod float n:float |
| 268 | Builtin floor n:floor fmod n:fmod frac n:frac gcd n:gcd int n:int invmod n:invmod kind? n:kind? lcm n:lcm |
| 269 | Builtin lerp n:lerp ln n:ln ln1p n:ln1p lnerp n:lnerp logistic n:logistic max n:max median n:median |
| 270 | Builtin min n:min mod n:mod neg n:neg odd? n:odd? parity? n:parity? perm n:perm prime? n:prime? quantize n:quantize |
| 271 | Builtin quantize! n:quantize! r+ n:r+ range n:range rot32l n:rot32l rot32r n:rot32r round n:round round2 n:round2 |
| 272 | Builtin rounding n:rounding running-variance n:running-variance running-variance-finalize n:running-variance-finalize |
| 273 | Builtin sgn n:sgn shl n:shl shr n:shr sin n:sin sincos n:sincos sind n:sind sinh n:sinh sqr n:sqr sqrt n:sqrt |
| 274 | Builtin tan n:tan tand n:tand tanh n:tanh trunc n:trunc ~= n:~= ! net:! !? net:!? - net:- >base64url net:>base64url |
| 275 | Builtin >url net:>url @ net:@ @? net:@? CGI net:CGI DGRAM net:DGRAM INET4 net:INET4 INET6 net:INET6 |
| 276 | Builtin PROTO_TCP net:PROTO_TCP PROTO_UDP net:PROTO_UDP REMOTE_IP net:REMOTE_IP STREAM net:STREAM accept net:accept |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 277 | Builtin active? net:active? addrinfo>o net:addrinfo>o again? net:again? alloc-and-read net:alloc-and-read |
| 278 | Builtin alloc-buf net:alloc-buf avail? net:avail? base64url> net:base64url> bind net:bind cgi-get net:cgi-get |
| 279 | Builtin cgi-http-header net:cgi-http-header cgi-init net:cgi-init cgi-init-stunnel net:cgi-init-stunnel |
| 280 | Builtin cgi-out net:cgi-out close net:close closed? net:closed? connect net:connect curnet net:curnet |
| 281 | Builtin debug? net:debug? delete net:delete dns net:dns get net:get getaddrinfo net:getaddrinfo getpeername net:getpeername |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 282 | Builtin head net:head ifaces? net:ifaces? interp8th net:interp8th ipv6? net:ipv6? launch net:launch |
| 283 | Builtin listen net:listen map>url net:map>url mime-type net:mime-type net-socket net:net-socket opts net:opts |
| 284 | Builtin port-is-ssl? net:port-is-ssl? post net:post proxy! net:proxy! put net:put read net:read read-all net:read-all |
| 285 | Builtin read-buf net:read-buf recvfrom net:recvfrom s>url net:s>url sendto net:sendto server net:server |
| 286 | Builtin setsockopt net:setsockopt socket net:socket socket-mcast net:socket-mcast tcp-connect net:tcp-connect |
| 287 | Builtin tlserr net:tlserr tlshello net:tlshello udp-connect net:udp-connect url> net:url> user-agent net:user-agent |
| 288 | Builtin valid-email? net:valid-email? vpncheck net:vpncheck wait net:wait webserver net:webserver write net:write |
| 289 | Builtin (begin) nk:(begin) (chart-begin) nk:(chart-begin) (chart-begin-colored) nk:(chart-begin-colored) |
| 290 | Builtin (chart-end) nk:(chart-end) (end) nk:(end) (group-begin) nk:(group-begin) (group-end) nk:(group-end) |
| 291 | Builtin (property) nk:(property) >img nk:>img PIXEL-FORMATS nk:PIXEL-FORMATS addfont nk:addfont affine nk:affine |
| 292 | Builtin anti-alias nk:anti-alias any-clicked? nk:any-clicked? bounds nk:bounds bounds! nk:bounds! button nk:button |
| 293 | Builtin button-color nk:button-color button-label nk:button-label button-set-behavior nk:button-set-behavior |
| 294 | Builtin button-symbol nk:button-symbol button-symbol-label nk:button-symbol-label calendar nk:calendar |
| 295 | Builtin chart-add-slot nk:chart-add-slot chart-add-slot-colored nk:chart-add-slot-colored chart-push nk:chart-push |
| 296 | Builtin chart-push-slot nk:chart-push-slot checkbox nk:checkbox circle nk:circle clicked? nk:clicked? |
| 297 | Builtin close-this! nk:close-this! close-this? nk:close-this? close? nk:close? color-chooser nk:color-chooser |
| 298 | Builtin color-picker nk:color-picker combo nk:combo combo-begin-color nk:combo-begin-color combo-begin-label nk:combo-begin-label |
| 299 | Builtin combo-cb nk:combo-cb combo-end nk:combo-end contextual-begin nk:contextual-begin contextual-close nk:contextual-close |
Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 300 | Builtin contextual-end nk:contextual-end contextual-item-image-text nk:contextual-item-image-text contextual-item-symbol-text nk:contextual-item-symbol-text |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 301 | Builtin contextual-item-text nk:contextual-item-text cp! nk:cp! cp@ nk:cp@ curpos nk:curpos cursor-load nk:cursor-load |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 302 | Builtin cursor-set nk:cursor-set cursor-show nk:cursor-show display-info nk:display-info display-scale@ nk:display-scale@ |
| 303 | Builtin display@ nk:display@ do nk:do down? nk:down? draw-image nk:draw-image draw-image-at nk:draw-image-at |
| 304 | Builtin draw-image-centered nk:draw-image-centered draw-sub-image nk:draw-sub-image draw-text nk:draw-text |
| 305 | Builtin draw-text-centered nk:draw-text-centered draw-text-high nk:draw-text-high draw-text-wrap nk:draw-text-wrap |
| 306 | Builtin driver nk:driver drivers nk:drivers dropped nk:dropped dropping nk:dropping edit-focus nk:edit-focus |
| 307 | Builtin edit-string nk:edit-string event nk:event event-boost nk:event-boost event-msec nk:event-msec |
| 308 | Builtin event-wait nk:event-wait event? nk:event? fill-arc nk:fill-arc fill-circle nk:fill-circle fill-color nk:fill-color |
| 309 | Builtin fill-poly nk:fill-poly fill-rect nk:fill-rect fill-rect-color nk:fill-rect-color fill-triangle nk:fill-triangle |
| 310 | Builtin finger nk:finger flags! nk:flags! flags@ nk:flags@ flash nk:flash fullscreen nk:fullscreen |
| 311 | Builtin gesture nk:gesture get nk:get get-row-height nk:get-row-height getfont nk:getfont getmap nk:getmap |
| 312 | Builtin getmap! nk:getmap! gget nk:gget grid nk:grid grid-peek nk:grid-peek grid-push nk:grid-push |
| 313 | Builtin group-scroll-ofs nk:group-scroll-ofs group-scroll-ofs! nk:group-scroll-ofs! gset nk:gset hints nk:hints |
| 314 | Builtin hovered? nk:hovered? hrule nk:hrule ident nk:ident image nk:image init nk:init init-flags nk:init-flags |
| 315 | Builtin init-sub nk:init-sub input-button nk:input-button input-key nk:input-key input-motion nk:input-motion |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 316 | Builtin input-scroll nk:input-scroll input-string nk:input-string key-down? nk:key-down? key-pressed? nk:key-pressed? |
| 317 | Builtin key-released? nk:key-released? knob nk:knob label nk:label label-colored nk:label-colored label-wrap nk:label-wrap |
| 318 | Builtin label-wrap-colored nk:label-wrap-colored layout-bounds nk:layout-bounds layout-grid-begin nk:layout-grid-begin |
| 319 | Builtin layout-grid-end nk:layout-grid-end layout-push-dynamic nk:layout-push-dynamic layout-push-static nk:layout-push-static |
| 320 | Builtin layout-push-variable nk:layout-push-variable layout-ratio-from-pixel nk:layout-ratio-from-pixel |
| 321 | Builtin layout-reset-row-height nk:layout-reset-row-height layout-row nk:layout-row layout-row-begin nk:layout-row-begin |
| 322 | Builtin layout-row-dynamic nk:layout-row-dynamic layout-row-end nk:layout-row-end layout-row-height nk:layout-row-height |
| 323 | Builtin layout-row-push nk:layout-row-push layout-row-static nk:layout-row-static layout-row-template-begin nk:layout-row-template-begin |
Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 324 | Builtin layout-row-template-end nk:layout-row-template-end layout-space-begin nk:layout-space-begin |
| 325 | Builtin layout-space-end nk:layout-space-end layout-space-push nk:layout-space-push layout-widget-bounds nk:layout-widget-bounds |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 326 | Builtin line-rel nk:line-rel line-to nk:line-to list-begin nk:list-begin list-end nk:list-end list-new nk:list-new |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 327 | Builtin list-ofs nk:list-ofs list-range nk:list-range m! nk:m! m@ nk:m@ make-style nk:make-style max-vertex-element nk:max-vertex-element |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 328 | Builtin maximize nk:maximize measure nk:measure measure-font nk:measure-font menu-begin nk:menu-begin |
| 329 | Builtin menu-close nk:menu-close menu-end nk:menu-end menu-item-image nk:menu-item-image menu-item-label nk:menu-item-label |
| 330 | Builtin menu-item-symbol nk:menu-item-symbol menubar-begin nk:menubar-begin menubar-end nk:menubar-end |
| 331 | Builtin minimize nk:minimize mouse-pos nk:mouse-pos move-back nk:move-back move-rel nk:move-rel move-to nk:move-to |
| 332 | Builtin msg nk:msg msgdlg nk:msgdlg ontop nk:ontop option nk:option pen-color nk:pen-color pen-width nk:pen-width |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 333 | Builtin pix! nk:pix! plot nk:plot plot-fn nk:plot-fn polygon nk:polygon pop-font nk:pop-font popup-begin nk:popup-begin |
| 334 | Builtin popup-close nk:popup-close popup-end nk:popup-end popup-scroll-ofs nk:popup-scroll-ofs popup-scroll-ofs! nk:popup-scroll-ofs! |
| 335 | Builtin progress nk:progress prop-int nk:prop-int pt-in? nk:pt-in? pt>local nk:pt>local pt>screen nk:pt>screen |
| 336 | Builtin push-font nk:push-font raise nk:raise rect-rel nk:rect-rel rect-to nk:rect-to rect>local nk:rect>local |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 337 | Builtin rect>screen nk:rect>screen released? nk:released? render nk:render render! nk:render! render-loop nk:render-loop |
| 338 | Builtin render-loop-max nk:render-loop-max render-loop-timed nk:render-loop-timed render-timed nk:render-timed |
| 339 | Builtin render@ nk:render@ renderers nk:renderers rendering nk:rendering restore nk:restore rotate nk:rotate |
| 340 | Builtin rotate-rel nk:rotate-rel rtl! nk:rtl! rtl? nk:rtl? safe-bounds nk:safe-bounds save nk:save |
| 341 | Builtin scale nk:scale scale@ nk:scale@ scancode? nk:scancode? screen-saver nk:screen-saver screen-size nk:screen-size |
| 342 | Builtin screen-win-close nk:screen-win-close selectable nk:selectable set nk:set set-font nk:set-font |
| 343 | Builtin set-hint nk:set-hint set-num-vertices nk:set-num-vertices set-radius nk:set-radius setpos nk:setpos |
| 344 | Builtin setwin nk:setwin show nk:show skew nk:skew slider nk:slider slider-int nk:slider-int space nk:space |
| 345 | Builtin spacing nk:spacing start-text nk:start-text stroke-arc nk:stroke-arc stroke-circle nk:stroke-circle |
| 346 | Builtin stroke-curve nk:stroke-curve stroke-line nk:stroke-line stroke-polygon nk:stroke-polygon stroke-polyline nk:stroke-polyline |
| 347 | Builtin stroke-rect nk:stroke-rect stroke-tri nk:stroke-tri style-from-table nk:style-from-table swipe nk:swipe |
| 348 | Builtin swipe-dir-threshold nk:swipe-dir-threshold swipe-threshold nk:swipe-threshold text nk:text |
| 349 | Builtin text-align nk:text-align text-font nk:text-font text-pad nk:text-pad text? nk:text? timer-delay nk:timer-delay |
| 350 | Builtin timer? nk:timer? toast nk:toast tooltip nk:tooltip translate nk:translate tree-pop nk:tree-pop |
| 351 | Builtin tree-state-push nk:tree-state-push triangle nk:triangle use-style nk:use-style vsync nk:vsync |
| 352 | Builtin widget nk:widget widget-bounds nk:widget-bounds widget-disable nk:widget-disable widget-fitting nk:widget-fitting |
| 353 | Builtin widget-high nk:widget-high widget-hovered? nk:widget-hovered? widget-mouse-click-down? nk:widget-mouse-click-down? |
| 354 | Builtin widget-mouse-clicked? nk:widget-mouse-clicked? widget-pos nk:widget-pos widget-size nk:widget-size |
| 355 | Builtin widget-size-allot nk:widget-size-allot widget-wide nk:widget-wide win nk:win win-bounds nk:win-bounds |
| 356 | Builtin win-bounds! nk:win-bounds! win-close nk:win-close win-closed? nk:win-closed? win-collapse nk:win-collapse |
| 357 | Builtin win-collapsed? nk:win-collapsed? win-content-bounds nk:win-content-bounds win-focus nk:win-focus |
| 358 | Builtin win-focused? nk:win-focused? win-hidden? nk:win-hidden? win-high nk:win-high win-hovered? nk:win-hovered? |
| 359 | Builtin win-icon! nk:win-icon! win-pos nk:win-pos win-scroll-ofs nk:win-scroll-ofs win-scroll-ofs! nk:win-scroll-ofs! |
| 360 | Builtin win-show nk:win-show win-size nk:win-size win-title! nk:win-title! win-wide nk:win-wide win? nk:win? |
| 361 | Builtin MAX ns:MAX ! o:! + o:+ +? o:+? ??? o:??? @ o:@ class o:class exec o:exec isa o:isa method o:method |
| 362 | Builtin mutate o:mutate new o:new super o:super POSIX os:POSIX chroot os:chroot devname os:devname |
| 363 | Builtin docker? os:docker? env os:env lang os:lang locales os:locales notify os:notify power-state os:power-state |
| 364 | Builtin region os:region waitpid os:waitpid bezier pdf:bezier bezierq pdf:bezierq circle pdf:circle |
| 365 | Builtin color pdf:color ellipse pdf:ellipse font pdf:font img pdf:img line pdf:line new pdf:new page pdf:page |
| 366 | Builtin page-size pdf:page-size rect pdf:rect save pdf:save size pdf:size text pdf:text text-rotate pdf:text-rotate |
| 367 | Builtin text-size pdf:text-size text-width pdf:text-width text-wrap pdf:text-wrap text-wrap-rotate pdf:text-wrap-rotate |
| 368 | Builtin cast ptr:cast deref ptr:deref len ptr:len null? ptr:null? pack ptr:pack unpack ptr:unpack unpack_orig ptr:unpack_orig |
| 369 | Builtin publish pubsub:publish qsize pubsub:qsize subscribe pubsub:subscribe + q:+ clear q:clear len q:len |
| 370 | Builtin new q:new notify q:notify overwrite q:overwrite peek q:peek pick q:pick pop q:pop push q:push |
| 371 | Builtin remove q:remove shift q:shift size q:size slide q:slide throwing q:throwing wait q:wait ++match r:++match |
| 372 | Builtin +/ r:+/ +match r:+match / r:/ @ r:@ _@ r:_@ len r:len match r:match match[] r:match[] matchall[] r:matchall[] |
| 373 | Builtin new r:new rx r:rx str r:str * rat:* + rat:+ - rat:- / rat:/ >n rat:>n >s rat:>s new rat:new |
| 374 | Builtin proper rat:proper ! rect:! /high rect:/high /wide rect:/wide = rect:= >a rect:>a >pts rect:>pts |
| 375 | Builtin >pts4 rect:>pts4 @ rect:@ center rect:center center-pt rect:center-pt intersect rect:intersect |
| 376 | Builtin new rect:new new-pt rect:new-pt ofs rect:ofs open rect:open pad rect:pad pos rect:pos pt-open rect:pt-open |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 377 | Builtin pt>a rect:pt>a pt>rect rect:pt>rect pts> rect:pts> restrict rect:restrict shrink rect:shrink |
| 378 | Builtin size rect:size union rect:union ! s:! * s:* + s:+ - s:- / s:/ /scripts s:/scripts /ws s:/ws |
| 379 | Builtin 2len s:2len <+ s:<+ <> s:<> = s:= =ic s:=ic >base64 s:>base64 >ucs2 s:>ucs2 @ s:@ _len s:_len |
| 380 | Builtin append s:append base64> s:base64> clear s:clear cmp s:cmp cmpi s:cmpi compress s:compress count-match s:count-match |
| 381 | Builtin days! s:days! dist s:dist each s:each each! s:each! eachline s:eachline escape s:escape expand s:expand |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 382 | Builtin expand-env s:expand-env fill s:fill fold s:fold gen-uid s:gen-uid globmatch s:globmatch hexupr s:hexupr |
| 383 | Builtin insert s:insert intl s:intl intl! s:intl! lang s:lang lc s:lc lc? s:lc? len s:len lsub s:lsub |
| 384 | Builtin ltrim s:ltrim map s:map months! s:months! n> s:n> new s:new norm s:norm reduce s:reduce repinsert s:repinsert |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 385 | Builtin replace s:replace replace! s:replace! rev s:rev rsearch s:rsearch rsub s:rsub rtl s:rtl rtrim s:rtrim |
| 386 | Builtin scan-match s:scan-match script? s:script? search s:search size s:size slice s:slice soundex s:soundex |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 387 | Builtin strfmap s:strfmap strfmt s:strfmt term s:term text-wrap s:text-wrap tr s:tr transform s:transform |
| 388 | Builtin trim s:trim tsub s:tsub uc s:uc uc? s:uc? ucs2> s:ucs2> utf8? s:utf8? zt s:zt >a set:>a add set:add |
| 389 | Builtin add[] set:add[] del set:del difference set:difference has set:has intersect set:intersect new set:new |
| 390 | Builtin union set:union bits! sio:bits! bits@ sio:bits@ close sio:close enum sio:enum hz! sio:hz! hz@ sio:hz@ |
| 391 | Builtin mode! sio:mode! mode@ sio:mode@ open sio:open open sio:open opts! sio:opts! opts@ sio:opts@ |
| 392 | Builtin read sio:read read sio:read write sio:write write sio:write @ slv:@ auto slv:auto build slv:build |
| 393 | Builtin constraint slv:constraint dump slv:dump edit slv:edit named-variable slv:named-variable new slv:new |
| 394 | Builtin relation slv:relation reset slv:reset suggest slv:suggest term slv:term update slv:update v[] slv:v[] |
| 395 | Builtin variable slv:variable v{} slv:v{} new smtp:new send smtp:send apply-filter snd:apply-filter |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 396 | Builtin devices? snd:devices? end-record snd:end-record filter snd:filter freq snd:freq gain snd:gain |
| 397 | Builtin gain? snd:gain? init snd:init len snd:len loop snd:loop loop? snd:loop? mix snd:mix new snd:new |
| 398 | Builtin pause snd:pause play snd:play played snd:played rate snd:rate ready? snd:ready? record snd:record |
| 399 | Builtin resume snd:resume seek snd:seek stop snd:stop stopall snd:stopall volume snd:volume volume? snd:volume? |
| 400 | Builtin + st:+ . st:. clear st:clear dot-depth st:dot-depth len st:len list st:list ndrop st:ndrop |
| 401 | Builtin new st:new op! st:op! peek st:peek pick st:pick pop st:pop push st:push roll st:roll shift st:shift |
| 402 | Builtin size st:size slide st:slide swap st:swap throwing st:throwing >buf struct:>buf arr> struct:arr> |
| 403 | Builtin buf struct:buf buf> struct:buf> byte struct:byte double struct:double field! struct:field! |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 404 | Builtin field@ struct:field@ float struct:float ignore struct:ignore int struct:int long struct:long |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 405 | Builtin struct; struct:struct; word struct:word ! t:! @ t:@ by-name t:by-name curtask t:curtask def-queue t:def-queue |
| 406 | Builtin def-stack t:def-stack done? t:done? dtor t:dtor err! t:err! err? t:err? errno? t:errno? extra t:extra |
| 407 | Builtin getq t:getq handler t:handler handler@ t:handler@ kill t:kill list t:list main t:main max-exceptions t:max-exceptions |
| 408 | Builtin name! t:name! name@ t:name@ notify t:notify parent t:parent pop t:pop priority t:priority push t:push |
| 409 | Builtin push! t:push! q-notify t:q-notify q-wait t:q-wait qlen t:qlen result t:result set-affinity t:set-affinity |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 410 | Builtin setq t:setq task t:task task-n t:task-n task-stop t:task-stop ticks t:ticks to? t:to? wait t:wait |
| 411 | Builtin add tree:add binary tree:binary bk tree:bk btree tree:btree cmp! tree:cmp! data tree:data del tree:del |
| 412 | Builtin find tree:find iter tree:iter next tree:next nodes tree:nodes parent tree:parent parse tree:parse |
| 413 | Builtin prev tree:prev root tree:root search tree:search trie tree:trie ! w:! (is) w:(is) @ w:@ alias: w:alias: |
| 414 | Builtin cb w:cb deprecate w:deprecate dlcall w:dlcall dlopen w:dlopen dlsym w:dlsym exec w:exec exec? w:exec? |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 415 | Builtin ffifail w:ffifail find w:find forget w:forget is w:is name w:name undo w:undo xt w:xt xt> w:xt> |
| 416 | Builtin close ws:close decode ws:decode encode ws:encode encode-nomask ws:encode-nomask gen-accept-header ws:gen-accept-header |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 417 | Builtin gen-accept-key ws:gen-accept-key opcodes ws:opcodes open ws:open >s xml:>s >txt xml:>txt md-init xml:md-init |
| 418 | Builtin md-parse xml:md-parse parse xml:parse parse-html xml:parse-html parse-stream xml:parse-stream |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 419 | Builtin getmsg[] zmq:getmsg[] sendmsg[] zmq:sendmsg[] |
Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 420 | |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 421 | |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 422 | " numbers |
| 423 | syn keyword eighthMath decimal hex base@ base! |
| 424 | syn match eighthInteger '\<-\=[0-9.]*[0-9.]\+\>' |
Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 425 | |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 426 | " recognize hex and binary numbers, the '$' and '%' notation is for eighth |
| 427 | syn match eighthInteger '\<\$\x*\x\+\>' " *1* --- dont't mess |
| 428 | syn match eighthInteger '\<\x*\d\x*\>' " *2* --- this order! |
| 429 | syn match eighthInteger '\<%[0-1]*[0-1]\+\>' |
| 430 | syn match eighthInteger "\<'.\>" |
| 431 | |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 432 | syn include @SQL syntax/sql.vim |
| 433 | syn region eightSQL matchgroup=Define start=/\<SQL\[\s/ end=/\<]\>/ contains=@SQL keepend |
| 434 | syn region eightSQL matchgroup=Define start=/\<SQL{\s/ end=/\<}\>/ contains=@SQL keepend |
| 435 | syn region eightSQL matchgroup=Define start=/\<SQL!\s/ end=/\<!\>/ contains=@SQL keepend |
| 436 | |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 437 | " Strings |
| 438 | syn region eighthString start=+\.\?\"+ skip=+"+ end=+$+ |
| 439 | syn keyword jsonNull null |
| 440 | syn keyword jsonBool /\(true\|false\)/ |
Bram Moolenaar | 6e64922 | 2021-10-04 21:32:54 +0100 | [diff] [blame] | 441 | syn region eighthString start=/\<"/ end=/"\>/ |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 442 | syn match jsonObjEntry /"\"[^"]\+\"\ze\s*:/ |
| 443 | |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 444 | syn region eighthNeeds start=+needs\[+ end=+]+ matchgroup=eighthNeeds2 transparent |
| 445 | syn match eighthNeeds2 /\<needs\[/ |
| 446 | syn match eighthNeeds2 /]\>/ |
| 447 | |
| 448 | syn match eighthBuiltin /m:\[]!/ |
| 449 | syn match eighthBuiltin /v:\[]/ |
| 450 | syn match eighthBuiltin /db:bind-exec\[]/ |
| 451 | syn match eighthBuiltin /db:exec\[]/ |
| 452 | syn match eighthBuiltin /db:col\[]/ |
| 453 | |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 454 | syn region eighthComment start="\zs\\" end="$" contains=eighthTodo,@Spell |
| 455 | syn region eighthComment start="\zs--\s" end="$" contains=eighthTodo,@Spell |
Ron Aaron | 30cf017 | 2025-06-10 20:27:57 +0200 | [diff] [blame] | 456 | syn region eighthComment start="\zs(\*" end="\*)\ze" contains=eightTodo,@Spell |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 457 | |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 458 | " The default methods for highlighting. Can be overriden later. |
| 459 | hi def link eighthTodo Todo |
| 460 | hi def link eighthNeeds2 Include |
| 461 | hi def link eighthNeeds Error |
| 462 | hi def link eighthOperators Operator |
| 463 | hi def link eighthMath Number |
| 464 | hi def link eighthInteger Number |
| 465 | hi def link eighthStack Special |
| 466 | hi def link eighthFStack Special |
| 467 | hi def link eighthFname Operator |
| 468 | hi def link eighthSP Special |
| 469 | hi def link eighthColonDef Define |
| 470 | hi def link eighthColonName Operator |
| 471 | hi def link eighthEndOfColonDef Define |
| 472 | hi def link eighthDefine Define |
| 473 | hi def link eighthDebug Debug |
| 474 | hi def link eighthCharOps Character |
| 475 | hi def link eighthConversion String |
| 476 | hi def link eighthForth Statement |
| 477 | hi def link eighthVocs Statement |
| 478 | hi def link eighthString String |
| 479 | hi def link eighthComment Comment |
| 480 | hi def link eighthClassDef Define |
| 481 | hi def link eighthEndOfClassDef Define |
| 482 | hi def link eighthObjectDef Define |
| 483 | hi def link eighthEndOfObjectDef Define |
| 484 | hi def link eighthInclude Include |
| 485 | hi def link eighthBuiltin Define |
| 486 | hi def link eighthClasses Define |
| 487 | hi def link eighthClassWord Keyword |
| 488 | hi def link jsonObject Delimiter |
| 489 | hi def link jsonObjEntry Label |
| 490 | hi def link jsonArray Special |
| 491 | hi def link jsonNull Function |
| 492 | hi def link jsonBool Boolean |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 493 | |
Ron Aaron | 6e410c9 | 2024-11-07 21:59:44 +0100 | [diff] [blame] | 494 | delcommand Builtin |
Bram Moolenaar | 4c92e75 | 2019-02-17 21:18:32 +0100 | [diff] [blame] | 495 | let b:current_syntax = "8th" |
| 496 | let &cpo = s:cpo_save |
| 497 | unlet s:cpo_save |
| 498 | |
ronaaron | 379df7c | 2023-12-19 21:20:14 +0200 | [diff] [blame] | 499 | " vim: ft=vim ts=4 sw=4 nocin:si |