all repos — min @ 8bd1ab66b91a1a82263b095db6d708d3f955b456

A small but practical concatenative programming language.

Updated vim syntax (/ sigil).
Sun, 13 Nov 2016 11:55:33 +0100




1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M minim.vimminim.vim

@@ -14,8 +14,8 @@

syntax keyword minimDefaultSymbol ! != $ & ' * + # - % ^ -> . .. / : < <= == => =~ > >= @ ROOT aes and append ask at atime b bind bool bool? bury1 bury2 bury3 c call call! capitalize case cd chmod choose clear-stack column-print concat confirm cons cp cpu crypto ctime datetime ddel debug decode decrypt define delete dget dictionary? dig1 dig2 dig3 dip dir? dirname div dprint dprint! dset dump-stack dup dupd encode encrypt env? error eval even? exit fappend fatal file? filename filter first float float? foreach fperms fread from-json format-error fs fsize fstats ftype fwrite gets get-stack getenv hardlink hidden? ifte import indent info inspect int int? interpolate interval io join k keys length linrec load load-symbol logic loglevel loglevel? lowercase ls ls-r map match md5 mkdir mod module mtime mv newline not notice now num number? odd? os password pop popd pred print print! prompt publish puts puts! putenv q quotation? quote quote-bind quote-define raise regex remove-symbol repeat replace rest rm rmdir run save-symbol scope scope? seal search set-stack sha1 sha224 sha256 sha384 sha512 sigils sip sleep sort source split startup stored-symbols str string string? strip succ swap swapd swons symbols symlink symlink? sys system take tformat time timeinfo times timestamp titleize to-json try unquote uppercase unzip values version warn which while with xor zip contains -syntax match minimDefaultSigil ;\<[:@'~!$%&$=<>#^*#]; contained -syntax match minimSpecialSymbols ;[:@'~!$%&$=<>#^*#]; contained +syntax match minimDefaultSigil ;\<[:@'~!$%&$=<>#^*#+/]; contained +syntax match minimSpecialSymbols ;[:@'~!$%&$=<>#^*#+/]; contained syntax match minimQuote ;\<[']; syntax match minimQuotedBinding ;#; syntax match minimBinding ;@;

@@ -27,7 +27,7 @@ syntax match minimNumber ;[-+]\=\d\+\(\.\d*\)\=;

syntax keyword minimBoolean true false syntax region minimString start=+"+ skip=+\\\\\|\\$"+ end=+"+ -syntax region minimSigilSymbol start=;\<[:@'~!$%&$=<>^*]; end=;\>; contains=minimDefaultSigil +syntax region minimSigilSymbol start=;\<[:@'~!$%&$=<>^*#+/]; end=;\>; contains=minimDefaultSigil syntax region minimQuotedSymbol start=;\<[']; end=;\>; contains=minimQuote syntax region minimBoundSymbol start=;@; end=;\>; contains=minimBinding syntax region minimQuotedBoundSymbol start=;#; end=;\>; contains=minimQuotedBinding