From 0ab41f3caba2bb60a876a400dbd206e73c844b29 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 21 Mar 2012 15:29:31 -0700 Subject: * txr.1: Doc stubs for new functions floatp, integerp, float-str, int-flo and flo-int. * txr.vim: Highlighting for new functions. --- ChangeLog | 7 +++++++ txr.1 | 6 ++++-- txr.vim | 4 +++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f27fbf6d..de1ce0ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-03-21 Kaz Kylheku + + * txr.1: Doc stubs for new functions floatp, integerp, + float-str, int-flo and flo-int. + + * txr.vim: Highlighting for new functions. + 2012-03-21 Kaz Kylheku * Makefile: link in -lm, which is needed now on some systems. diff --git a/txr.1 b/txr.1 index a95f23b7..ab0fd70b 100644 --- a/txr.1 +++ b/txr.1 @@ -6649,7 +6649,7 @@ Certain object types have a custom equal function. .SS Arithmetic function abs -.SS Functions fixnump, bignump, numberp +.SS Functions fixnump, bignump, integerp, floatp, numberp .SS Functions zerop, evenp, oddp @@ -6771,7 +6771,9 @@ Certain object types have a custom equal function. .SS Function string-lt -.SS Function int-str +.SS Functions int-str and float-str + +.SS Functions int-flo and flo-int .SS Function chrp diff --git a/txr.vim b/txr.vim index d80f24f5..0ec1dd72 100644 --- a/txr.vim +++ b/txr.vim @@ -44,6 +44,7 @@ syn keyword txl_keyword contained memq memql memqual tree-find some syn keyword txl_keyword contained remq remql remqual syn keyword txl_keyword contained all none eq eql equal + - * abs trunc mod syn keyword txl_keyword contained expt exptmod sqrt gcd fixnump bignump +syn keyword txl_keyword contained integerp floatp syn keyword txl_keyword contained numberp zerop evenp oddp > syn keyword txl_keyword contained zerop evenp oddp > < >= <= max min syn keyword txl_keyword contained search-regex match-regex regsub @@ -65,7 +66,8 @@ syn keyword txl_keyword contained mkstring copy-str upcase-str downcase-str stri syn keyword txl_keyword contained stringp lazy-stringp length-str search-str search-str-tree syn keyword txl_keyword contained sub-str cat-str split-str replace-str syn keyword txl_keyword contained split-str-set list-str trim-str -syn keyword txl_keyword contained string-lt int-str chrp chr-isalnum chr-isalpha +syn keyword txl_keyword contained string-lt int-str flo-str int-flo flo-int +syn keyword txl_keyword contained chrp chr-isalnum chr-isalpha syn keyword txl_keyword contained chr-isascii chr-iscntrl chr-isdigit chr-isgraph syn keyword txl_keyword contained chr-islower chr-isprint chr-ispunct chr-isspace chr-isupper syn keyword txl_keyword contained chr-isxdigit chr-toupper chr-tolower chr-str -- cgit v1.2.3