diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-06 07:35:15 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-06 07:35:15 -0800 |
commit | 24b4b36628fd2ab3d3ff946907ad3a88e325a772 (patch) | |
tree | 0c05defafd9814dd57fb515f910859a84740aac5 /txr.vim | |
parent | bd49a5f0328a2a4091af212961d4d6581d159f67 (diff) | |
download | txr-24b4b36628fd2ab3d3ff946907ad3a88e325a772.tar.gz txr-24b4b36628fd2ab3d3ff946907ad3a88e325a772.tar.bz2 txr-24b4b36628fd2ab3d3ff946907ad3a88e325a772.zip |
* eval.c (apply_intrinsic, lazy_mapcar): Changed linkage to external.
* eval.h (apply_intrinsic, lazy_mapcar): Declarations added.
* stream.c (open_files, open_file_star): New functions.
(stream_init): Registered new functions as intrinsics.
* txr.1: Documented open-files and open-files*. Added to make-catenated-stream documentation.
* genvim.txr: Replace bunch of code with open-files.
* txr.vim: Regenerated.
Diffstat (limited to 'txr.vim')
-rw-r--r-- | txr.vim | 141 |
1 files changed, 71 insertions, 70 deletions
@@ -94,76 +94,77 @@ syn keyword txl_keyword contained log-authpriv log-cons log-crit log-daemon syn keyword txl_keyword contained log-debug log-emerg log-err log-info syn keyword txl_keyword contained log-ndelay log-notice log-nowait log-odelay syn keyword txl_keyword contained log-perror log-pid log-user log-warning -syn keyword txl_keyword contained logand logior lognot logtest -syn keyword txl_keyword contained logtrunc logxor macro-form-p macro-time -syn keyword txl_keyword contained macroexpand macroexpand-1 macrolet major -syn keyword txl_keyword contained make-catenated-stream make-env make-hash make-lazy-cons -syn keyword txl_keyword contained make-package make-random-state make-similar-hash make-string-byte-input-stream -syn keyword txl_keyword contained make-string-input-stream make-string-output-stream make-strlist-output-stream make-sym -syn keyword txl_keyword contained make-time make-time-utc makedev mapcar -syn keyword txl_keyword contained mapcar* maphash mappend mappend* -syn keyword txl_keyword contained mask match-fun match-regex match-regex-right -syn keyword txl_keyword contained match-str match-str-tree max memq -syn keyword txl_keyword contained memql memqual merge min -syn keyword txl_keyword contained minor mkdir mknod mkstring -syn keyword txl_keyword contained mod multi-sort n-choose-k n-perm-k -syn keyword txl_keyword contained none not nreverse null -syn keyword txl_keyword contained num-chr num-str numberp oddp -syn keyword txl_keyword contained op open-command open-directory open-file -syn keyword txl_keyword contained open-pipe open-process open-tail openlog -syn keyword txl_keyword contained or orf packagep perm -syn keyword txl_keyword contained pop pos pos-if posq -syn keyword txl_keyword contained posql posqual pprinl pprint -syn keyword txl_keyword contained prinl print prog1 progn -syn keyword txl_keyword contained prop proper-listp push pushhash -syn keyword txl_keyword contained put-byte put-char put-line put-string -syn keyword txl_keyword contained pwd qquote quasi quote -syn keyword txl_keyword contained rand random random-fixnum random-state-p -syn keyword txl_keyword contained range range* rcomb read -syn keyword txl_keyword contained readlink real-time-stream-p reduce-left reduce-right -syn keyword txl_keyword contained ref refset regex-compile regex-parse -syn keyword txl_keyword contained regexp regsub rehome-sym remhash -syn keyword txl_keyword contained remove-if remove-if* remove-path remq -syn keyword txl_keyword contained remq* remql remql* remqual -syn keyword txl_keyword contained remqual* rename-path repeat replace -syn keyword txl_keyword contained replace-list replace-str replace-vec rest -syn keyword txl_keyword contained return return-from reverse rlcp -syn keyword txl_keyword contained rperm rplaca rplacd s-ifblk -syn keyword txl_keyword contained s-ifchr s-ifdir s-ififo s-iflnk -syn keyword txl_keyword contained s-ifmt s-ifreg s-ifsock s-irgrp -syn keyword txl_keyword contained s-iroth s-irusr s-irwxg s-irwxo -syn keyword txl_keyword contained s-irwxu s-isgid s-isuid s-isvtx -syn keyword txl_keyword contained s-iwgrp s-iwoth s-iwusr s-ixgrp -syn keyword txl_keyword contained s-ixoth s-ixusr search-regex search-str -syn keyword txl_keyword contained search-str-tree second seek-stream set -syn keyword txl_keyword contained set-diff set-hash-userdata set-sig-handler sethash -syn keyword txl_keyword contained setlogmask sig-abrt sig-alrm sig-bus -syn keyword txl_keyword contained sig-check sig-chld sig-cont sig-fpe -syn keyword txl_keyword contained sig-hup sig-ill sig-int sig-io -syn keyword txl_keyword contained sig-iot sig-kill sig-lost sig-pipe -syn keyword txl_keyword contained sig-poll sig-prof sig-pwr sig-quit -syn keyword txl_keyword contained sig-segv sig-stkflt sig-stop sig-sys -syn keyword txl_keyword contained sig-term sig-trap sig-tstp sig-ttin -syn keyword txl_keyword contained sig-ttou sig-urg sig-usr1 sig-usr2 -syn keyword txl_keyword contained sig-vtalrm sig-winch sig-xcpu sig-xfsz -syn keyword txl_keyword contained sin sixth size-vec some -syn keyword txl_keyword contained sort source-loc source-loc-str span-str -syn keyword txl_keyword contained splice split-str split-str-set sqrt -syn keyword txl_keyword contained stat stream-get-prop stream-set-prop streamp -syn keyword txl_keyword contained string-cmp string-extend string-lt stringp -syn keyword txl_keyword contained sub sub-list sub-str sub-vec -syn keyword txl_keyword contained symacrolet symbol-function symbol-name symbol-package -syn keyword txl_keyword contained symbol-value symbolp symlink sys-qquote -syn keyword txl_keyword contained sys-splice sys-unquote syslog tan -syn keyword txl_keyword contained third throw throwf time -syn keyword txl_keyword contained time-fields-local time-fields-utc time-string-local time-string-utc -syn keyword txl_keyword contained time-usec tok-str tostring tostringp -syn keyword txl_keyword contained tree-bind tree-case tree-find trim-str -syn keyword txl_keyword contained trunc typeof unget-byte unget-char -syn keyword txl_keyword contained unquote upcase-str update url-decode -syn keyword txl_keyword contained url-encode usleep uw-protect vec -syn keyword txl_keyword contained vec-push vec-set-length vecref vector -syn keyword txl_keyword contained vector-list vectorp with-saved-vars zerop +syn keyword txl_keyword contained log10 logand logior lognot +syn keyword txl_keyword contained logtest logtrunc logxor macro-form-p +syn keyword txl_keyword contained macro-time macroexpand macroexpand-1 macrolet +syn keyword txl_keyword contained major make-catenated-stream make-env make-hash +syn keyword txl_keyword contained make-lazy-cons make-package make-random-state make-similar-hash +syn keyword txl_keyword contained make-string-byte-input-stream make-string-input-stream make-string-output-stream make-strlist-output-stream +syn keyword txl_keyword contained make-sym make-time make-time-utc makedev +syn keyword txl_keyword contained mapcar mapcar* maphash mappend +syn keyword txl_keyword contained mappend* mask match-fun match-regex +syn keyword txl_keyword contained match-regex-right match-str match-str-tree max +syn keyword txl_keyword contained memq memql memqual merge +syn keyword txl_keyword contained min minor mkdir mknod +syn keyword txl_keyword contained mkstring mod multi-sort n-choose-k +syn keyword txl_keyword contained n-perm-k none not nreverse +syn keyword txl_keyword contained null num-chr num-str numberp +syn keyword txl_keyword contained oddp op open-command open-directory +syn keyword txl_keyword contained open-file open-files open-files* open-pipe +syn keyword txl_keyword contained open-process open-tail openlog or +syn keyword txl_keyword contained orf packagep perm pop +syn keyword txl_keyword contained pos pos-if posq posql +syn keyword txl_keyword contained posqual pprinl pprint prinl +syn keyword txl_keyword contained print prog1 progn prop +syn keyword txl_keyword contained proper-listp push pushhash put-byte +syn keyword txl_keyword contained put-char put-line put-string pwd +syn keyword txl_keyword contained qquote quasi quote rand +syn keyword txl_keyword contained random random-fixnum random-state-p range +syn keyword txl_keyword contained range* rcomb read readlink +syn keyword txl_keyword contained real-time-stream-p reduce-left reduce-right ref +syn keyword txl_keyword contained refset regex-compile regex-parse regexp +syn keyword txl_keyword contained regsub rehome-sym remhash remove-if +syn keyword txl_keyword contained remove-if* remove-path remq remq* +syn keyword txl_keyword contained remql remql* remqual remqual* +syn keyword txl_keyword contained rename-path repeat replace replace-list +syn keyword txl_keyword contained replace-str replace-vec rest return +syn keyword txl_keyword contained return-from reverse rlcp rperm +syn keyword txl_keyword contained rplaca rplacd s-ifblk s-ifchr +syn keyword txl_keyword contained s-ifdir s-ififo s-iflnk s-ifmt +syn keyword txl_keyword contained s-ifreg s-ifsock s-irgrp s-iroth +syn keyword txl_keyword contained s-irusr s-irwxg s-irwxo s-irwxu +syn keyword txl_keyword contained s-isgid s-isuid s-isvtx s-iwgrp +syn keyword txl_keyword contained s-iwoth s-iwusr s-ixgrp s-ixoth +syn keyword txl_keyword contained s-ixusr search-regex search-str search-str-tree +syn keyword txl_keyword contained second seek-stream set set-diff +syn keyword txl_keyword contained set-hash-userdata set-sig-handler sethash setlogmask +syn keyword txl_keyword contained sig-abrt sig-alrm sig-bus sig-check +syn keyword txl_keyword contained sig-chld sig-cont sig-fpe sig-hup +syn keyword txl_keyword contained sig-ill sig-int sig-io sig-iot +syn keyword txl_keyword contained sig-kill sig-lost sig-pipe sig-poll +syn keyword txl_keyword contained sig-prof sig-pwr sig-quit sig-segv +syn keyword txl_keyword contained sig-stkflt sig-stop sig-sys sig-term +syn keyword txl_keyword contained sig-trap sig-tstp sig-ttin sig-ttou +syn keyword txl_keyword contained sig-urg sig-usr1 sig-usr2 sig-vtalrm +syn keyword txl_keyword contained sig-winch sig-xcpu sig-xfsz sin +syn keyword txl_keyword contained sixth size-vec some sort +syn keyword txl_keyword contained source-loc source-loc-str span-str splice +syn keyword txl_keyword contained split-str split-str-set sqrt stat +syn keyword txl_keyword contained stream-get-prop stream-set-prop streamp string-cmp +syn keyword txl_keyword contained string-extend string-lt stringp sub +syn keyword txl_keyword contained sub-list sub-str sub-vec symacrolet +syn keyword txl_keyword contained symbol-function symbol-name symbol-package symbol-value +syn keyword txl_keyword contained symbolp symlink sys-qquote sys-splice +syn keyword txl_keyword contained sys-unquote syslog tan third +syn keyword txl_keyword contained throw throwf time time-fields-local +syn keyword txl_keyword contained time-fields-utc time-string-local time-string-utc time-usec +syn keyword txl_keyword contained tok-str tostring tostringp tree-bind +syn keyword txl_keyword contained tree-case tree-find trim-str trunc +syn keyword txl_keyword contained typeof unget-byte unget-char unquote +syn keyword txl_keyword contained upcase-str update url-decode url-encode +syn keyword txl_keyword contained usleep uw-protect vec vec-push +syn keyword txl_keyword contained vec-set-length vecref vector vector-list +syn keyword txl_keyword contained vectorp with-saved-vars zerop syn match txr_error "@[\t ]*[*]\?[\t ]*." syn match txr_nested_error "[^\t `]\+" contained |