summaryrefslogtreecommitdiffstats
path: root/txr.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-22 10:38:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-03-22 10:38:17 -0700
commit946c88ae095260a816aae8e1d5eacb32e4424718 (patch)
tree8fab69b645bd690e524ee4250f45bfa69737f3d5 /txr.vim
parent6254e4fa987437b1d785cae66122d707c886e144 (diff)
downloadtxr-946c88ae095260a816aae8e1d5eacb32e4424718.tar.gz
txr-946c88ae095260a816aae8e1d5eacb32e4424718.tar.bz2
txr-946c88ae095260a816aae8e1d5eacb32e4424718.zip
* arith.c (floorf, ceili, sine, cosi, atang, loga): New functions.
* eval.c (eval_init): New intrinsic functions registered: floor, ceil, sin, cons, atan, log. * lib.h (floorf, ceili, sine, cosi, atang, loga): Declared. * txr.1: Doc stub section for new functions. * txr.vim: Highighting added.
Diffstat (limited to 'txr.vim')
-rw-r--r--txr.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/txr.vim b/txr.vim
index 11af4e68..95b7c0f9 100644
--- a/txr.vim
+++ b/txr.vim
@@ -43,8 +43,9 @@ syn keyword txl_keyword contained reverse ldiff flatten lazy-flatten
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 expt exptmod sqrt gcd
+syn keyword txl_keyword contained floor ceil sin cos atan log
+syn keyword txl_keyword contained fixnump bignump 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