From 0caa8637aa138ca19aea1e39fcc307a9b3e130a3 Mon Sep 17 00:00:00 2001 From: mitty Date: Tue, 19 Oct 2010 13:50:38 +0000 Subject: [PATCH] * sakura editor keywords definition file for DrRacket "Advanced Student" * from source:/vendor/DrRacket/advanced.html git-svn-id: https://lab.mitty.jp/svn/lab/trunk@72 7d2118f6-f56c-43e7-95a2-4bb3031d96e7 --- sakura-editor/DrRacket.kwd | 41 +++++++ sakura-editor/DrRacket2.kwd | 285 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 326 insertions(+) create mode 100644 sakura-editor/DrRacket.kwd create mode 100644 sakura-editor/DrRacket2.kwd diff --git a/sakura-editor/DrRacket.kwd b/sakura-editor/DrRacket.kwd new file mode 100644 index 0000000..0087396 --- /dev/null +++ b/sakura-editor/DrRacket.kwd @@ -0,0 +1,41 @@ +// DrRacket "Advanced Student" keywords definition file + +// definition +define +define-struct + +// expr +begin +begin0 +set! +delay +lambda +ă +local +letrec +shared +let +let* +recur +cond +else +case +if +when +unless +and +or +time +empty +true +false + +// test-case +check-expect +check-within +check-member-of +check-range +check-error + +// library-require +require diff --git a/sakura-editor/DrRacket2.kwd b/sakura-editor/DrRacket2.kwd new file mode 100644 index 0000000..42e2a94 --- /dev/null +++ b/sakura-editor/DrRacket2.kwd @@ -0,0 +1,285 @@ +// DrRacket "Advanced Student" keywords definition file +// prim-op + +// Numbers: Integers, Rationals, Reals, Complex, Exacts, Inexacts +< +<= += +> +>= +abs +acos +add1 +angle +asin +atan +ceiling +complex? +conjugate +cos +cosh +current-seconds +denominator +e +even? +exact->inexact +exact? +exp +expt +floor +gcd +imag-part +inexact->exact +inexact? +integer->char +integer-sqrt +integer? +lcm +log +magnitude +make-polar +make-rectangular +max +min +modulo +negative? +number->string +number? +numerator +odd? +pi +positive? +quotient +random +rational? +real-part +real? +remainder +round +sgn +sin +sinh +sqr +sqrt +sub1 +tan +zero? + +// Booleans +boolean=? +boolean? +false? +not + +// Symbols +symbol->string +symbol=? +symbol? + +// Lists +append +assoc +assq +caaar +caadr +caar +cadddr +caddr +cadr +car +cdaar +cdadr +cdar +cddar +cdddr +cddr +cdr +cons +cons? +eighth +empty? +fifth +first +fourth +length +list +list* +list-ref +list? +make-list +member +member? +memq +memv +null +null? +pair? +remove +rest +reverse +second +seventh +sixth +third + +// Posns +make-posn +posn +posn-x +posn-y +posn? +set-posn-x! +set-posn-y! + +// Characters +char->integer +char-alphabetic? +char-ci<=? +char-ci=? +char-ci>? +char-downcase +char-lower-case? +char-numeric? +char-upcase +char-upper-case? +char-whitespace? +char<=? +char=? +char>? +char? + +// Strings +explode +format +implode +int->string +list->string +make-string +replicate +string +string->int +string->list +string->number +string->symbol +string-alphabetic? +string-append +string-ci<=? +string-ci=? +string-ci>? +string-copy +string-ith +string-length +string-lower-case? +string-numeric? +string-ref +string-upper-case? +string-whitespace? +string<=? +string=? +string>? +string? +substring + +// Images +image=? +image? + +// Misc +=~ +current-milliseconds +eof +eof-object? +eq? +equal? +equal~? +eqv? +error +exit +force +gensym +identity +promise? +sleep +struct? +void +void? + +// Numbers +* ++ +- +/ + +// Higher-Order Functions +andmap +apply +argmax +argmin +build-list +build-string +compose +filter +foldl +foldr +for-each +map +memf +ormap +procedure? +quicksort +sort + +// Reading and Printing +display +newline +pretty-print +print +printf +read +with-input-from-file +with-input-from-string +with-output-to-file +with-output-to-string +write + +// Vectors +build-vector +make-vector +vector +vector-length +vector-ref +vector-set! +vector? + +// Boxes +box +box? +set-box! +unbox + +// Hash Tables +hash-copy +hash-count +hash-eq? +hash-equal? +hash-eqv? +hash-for-each +hash-has-key? +hash-map +hash-ref +hash-ref! +hash-remove! +hash-set! +hash-update! +hash? +make-hash +make-hasheq +make-hasheqv -- 1.7.9.5